3
I'm trying to map two drives from a W2003-Server from Win7 with the following batch-file:
net use m: /delete
net use u: /delete
net use m: \\{IP}\srvE /user:{sameIP}\Administrator {pswd}/persistent:yes
net use u: \\{same IP}\DATEN /user:{sameIP}\Administrator {pswd}/persistent:yes
The batch executes w/o errors and both drives are visible in eplorer afterwards and clicking on M opens the drive and everything is fine. But when clicking on U: I get an error "Microsoft Windows Network: local device name already in use".
I used a different drive letter before, have also done net use * /delete
before and also deleted the registry-key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
as suggested here - but am still struggling with that issue. (Also logged off, rebooted etc.)