net use map SharePoint drive not working

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
goodywp
Posts: 265
Joined: 31 Jul 2017 09:57

net use map SharePoint drive not working

#1 Post by goodywp » 07 Oct 2022 11:33

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

ShadowThief
Expert
Posts: 1166
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: net use map SharePoint drive not working

#2 Post by ShadowThief » 07 Oct 2022 15:30

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.

Post Reply