I'm trying to create a windows cmd script that map a specific folder on a SharePoint server.
So far it work, but with too many restriction.
To use net use cmd I have to :
register on the website or I got the message:
System error 224 has occurred. Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically.
Click on "Library" > "Open with Explorer" or I got the message:
System Error 53 Has Occurred. The network path was not found.
If I follow all those steps above I get the result:
Drive Z: is now connected to \\server@SSL\DavWWRoot\Share
I tried to use my credentials on the command line:
net use * \\server@SSL\DavWWRoot\Share /user:username password
But i still got the error 53
I visited a hundred webpages, testing all solutions, but nothing seems to work.
So far I think it's related to the web client of Sharepoint not running, but how can I start it from command line ?