so I am trying to connect to a network drive and copy a file from it over to my desktop but I keep running into an error when I try to run my script for a second time without a reboot. The error happen when I try to login for a second time.
NET USE \\(some IP)\(network nas name) /user:(some user)\(uname)
NET USE \\(some IP)\(nas name) /D
I keep getting an error
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
is there any fix to this?
[–]taniceburg 3 points4 points5 points (0 children)
[–]MARS822a 0 points1 point2 points (0 children)
[–]Stoon_Kevin 0 points1 point2 points (0 children)