Net Use – Disconnect all previous connections to the server or shared resource

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.

This error may occur in the networks if some previous sessions of network shares still exist in the cache. the shares many be connected with different log in credentials. If you get the error, directly go to command prompt and list the list of connections authenticated. Use following command to list them

net use

net use connections

There you can see the list of shared item you already connected. select the session you want to reconnect. for Eg \\192.168.0.1\c$. Type the following command to remove the session.

net use \\192.168.0.1\c$ /delete

now try to access the share once again

if you want to give user id and password in single command, then use the following command

net use \\192.168.0.1\c$ /user:localhost\username password

About Albin Sebastian

I am a Technology Blogger, System Administrator by profession and webmaster by passion. Technology blogger, Active in Online and offline tech communities.

Check Also

tcpdump DNS output

vmware data protection (VDP) ip/dns could not be resolved

“ANY” (*) DNS Query is used by VMware Data Protection (VDP) After a VMware migration …

Comments