Saturday, March 27, 2010

NET USE command

The NET USE command is used to associate a local drive letter or device name with a shared network drive or device. Most often, the NET USE command is used for network drive mapping.
The NET USE command can be used also to disconnect a computer from a shared resource, or to display information about computer network connections.

1.How do I display a list of network connections on my computer

Go to yoStart menu--> Run, type cmd and hit enter. Then, type NET USE and you will see
a list of connected network devices

2.How do I disconnect from a share using NET USE?

NET USE [driveletter: or share] /DELETE
Eg : net use z: /delete
net use \\share1\softwares /delete

In some case you want to map the share with another user credentials, and in such situations use the netuse / delete command as explained above to terminate the sessions properly

No comments:

Post a Comment