# Windows 8.1 mount issue

**URL:** <https://discourse.chef.io/t/windows-8-1-mount-issue/8795>\
**Category:** Chef Infra (archive)\
**Created:** [June 27, 2016, 5:16pm UTC](https://discourse.chef.io/t/windows-8-1-mount-issue/8795 "2016-06-27T17:16:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mchughconnor](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@mchughconnor](https://discourse.chef.io/u/mchughconnor)\
**Post date:** [June 27, 2016, 5:16pm UTC](https://discourse.chef.io/t/windows-8-1-mount-issue/8795/1 "2016-06-27T17:16:52Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![mchughconnor](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@mchughconnor](https://discourse.chef.io/u/mchughconnor)\
**Post date:** [June 27, 2016, 6:57pm UTC](https://discourse.chef.io/t/windows-8-1-mount-issue/8795/2 "2016-06-27T18:57:19Z")

</div>

Resolved. Could not have STEEL before shared in username.
