Like always, there’s an easier way to disconnect all network connections in a Windows Desktop instead of doing it one by one.
Use the net use command.
To list all network connections, type in command prompt:
net use
If you want to delete all these, type in:
net use * /d
and you will be asked for confirmation.
To delete a specific connection, type in:
net use \\folder-name /d
or
net use E: /d
where E: is a network drive.
Tags: Commands