Issue: I'm having issues getting WebDav to work in the command line on Windows XP, both Service Pack 2 and Service Pack 3.
C:\>net use z: https://mywebsite.com/software/
System error 67 has occurred.
The network name cannot be found.
I have tested this with two webdav server. Both Ubuntu Apache and I Windows Server 2003 IIS. Both get the same result.
Things That Haven't Worked:
- I've installed the following Microsoft KB on my XP machines with no avail.
I've also found the following reg key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters UseBasicAuth REG_DWORD 1
I try the following when trying to use a few work around I've dug up on the web, all producing the same result.
net use z: https://mywebsite.com/software net use z: https://mywebsite.com/software# net use z: https://mywebsite.com/software/ net use z: https://mywebsite.com/software/#
I've also tried all the above combinations adding a user into it
/user:user
and/user:user@domain
.I've also tried using
http://
rather thanhttps://
.I've tried
"\\server.com@ssl:443\folder"
I've gone over networking related issues as @WesleyDavid had pointed out.
Things that do work:
- I can connect to the webdav folder via the URL and with mapping in Network Place, with XP. But the command line doesn't work (I need a drive letter).
- Windows 7 works perfectly with the same command.
My Delemma:
I need this to work with a drive letter. What else can I try to get this working?
Using WedDAV enabled on OS X Lion Server, the syntax in XP is:
NET USE * http://server url/webdav/username password /user:username
This works, but can not figure out how to choose from multiple shares for the same user (it always defaults to the user account directory)...
I had the same problems for a HTTP WebDav connection (did not try with HTTPS yet but it should work too). Please try the following, it worked for me:
To enable Basic authentication on the client computer, follow these steps:
Note that the key is called BasicAuthLevel in Vista and newer
Then connect
Source http://support.microsoft.com/kb/841215/en-us
Zero Guess: I just edited this in here. Get rid of the trailing slash in
net use z: https://mywebsite.com/software/
so that it readsnet use z: https://mywebsite.com/software
First guess:
I don't like the look of
/user:user@domain
. I've seen sketchy things happen with that in some Windows CLI tools (even though, yes, it should work fine). Did you try the format/u:domain\user
?Second Guess:
That has been known to cause error 67, which is the heart of the problem. A communications error.
Third Guess
Winsock corruption! It happens. Look into
netsh winsock reset
andnetsh winsock reset catalog
You can read more at this KB article.
Fourth Guess:
Sometimes error 67 can be caused by a hardware level issue on both the client and server side, usually involving the drivers. Two possibilities:
netsh int ip reset
. I know, I know - it's cargo cult administration. Just try it. =)Fifth guess
We're getting down to thin pickins down here. Try this in Safe Mode with Networking. WebDAV connections should be able to be made. I'm wondering if some interfering extraneous network driver is interfering, although that should have been taken care of my updating the drivers in Guess #1.
You can't map a network drive to an https connection pre Windows Vista, at least not with the Net command. This has to do with an issue with the WebDav mini redirecter. Please check the following: http://www.autohotkey.com/forum/topic44471.html
Have you checked out this Microsoft KB article? It might be worth a shot.
You may receive a “The network name cannot be found” error message when you use the fully qualified domain name to connect to a remote computer from a Windows Server 2003-based, Windows XP-based or Windows 2000-based computer
I would also recommend using Fiddler to snoop on the traffic as you issue the
net use
command. You might see something a bit more interesting than the WebDav System Error 67.Please try
The other thing that I see is:
Mmm. How about:
net use z: https://mywebsite.com:443/software/
Also, when you attempt to do 'net use z: http://mywebsite.com/software/' (point 5 of what hasnt worked) is port 80 active on your target server? Clearly this is an XP problem - can we isolate it to XP and HTTPS or is it XP and Webdav? Do your event logs show anything?
Also: Might the net use command be using the windows internet security settings for mapping the drive? You may need to place https://mywebsite.com in your trusted sites. Look in IE -> tools -> security, or your control panel.
Webdav ON IIS: net use * http://WEBSITE/DavWWWRoot PASSWORD /user:USER@DOMAIN
if you use IIS the Root folder have this name DavWWWRoot , some client resolve automaticaly ( windows 10 and windows 7 ) but in other case you must specify (windows xp). This work form me