Page 1 of 1

net use map SharePoint drive not working

Posted: 07 Oct 2022 11:33
by goodywp
Hi All,

I have a task to upload package to SharePoint
I tried below scripts, but got System error 67 has occurred
The network name cannot be found

Code: Select all

net use r: "https://xxx.xxxx.com/sites/xxxxx/xxxx/xxxx/document" password /user:domain\username /persistent:Yes
What could go wrong here? The above error so general...
From SharePoint URL I can login and upload the package. Only thing is after login there is Authentication happened. In command line we do not need such authentication, right?
Thanks

Re: net use map SharePoint drive not working

Posted: 07 Oct 2022 15:30
by ShadowThief
All of the solutions I'm finding on google have you adjust timeout settings in the registry. Since I highly doubt that you have write access to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\LmhostsTimeout key, try using the IP address instead of the URL.