Windows 8.1 mount issue


#1

I’m trying to map a shared network drive to a windows 8.1 machine using chef’s mount resource.

I typed this as a recipe:

mount ‘W:’ do
device '\\\\STEEL\\stuff’
username "STEEL\\shared"
password 'pass’
end

I get this error:
"ArgumentError: The parameter is incorrect"
Win32 API output:
System Error Code: 87
System Error Message: The parameter is incorrect.

Any ideas for how to resolve this? Thank you!


#2

Resolved. Could not have STEEL before shared in username.