Wednesday, August 19, 2009

How to disconnect network services on the Windows command line

There I was, trying to join and XP professional computer to a Windows 2000 domain. The computer kept giving me an error, something about access to multiple services using the same username being disallowed. I fumbled around changing usernames until I realised that I had previously logged onto the domain to access a shared drive.

To disconnect from all network services, Open a command prompt (run + CMD) and type:

net use * /d

You should receive a prompt to confirm that you want to disconnect your connections and it may also show you the current connections. Type “y" for yes and its done!