REM delete all mapped network drives
net use * /DELETE /Y
REM map two drives
net use W: "\\192.168.0.233\SharedFolderA" /persistent:yes /user:usernameA PaSsWorDA
net use T: "\\192.168.0.231\SharedFolderB" /persistent:yes /user:usernameB PaSsWorDB

what you need to know: windows CAN NOT establish two connects to the same server with different usernames.

it just can’t.

so what you need to do is make all shared folders in question accessible to the one user that connects.

and then you can do:

net use W: "\\192.168.0.233\SharedFolderC" /persistent:yes /user:usernameA PaSsWorDA

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin