G
Guest
How do I disconnect a network drive via command line?
I am using Windows 2003 Server. I need to periodically disconnect my network drives via command line. There is the option to DELETE, but I only want to disconnect them. Does anyone know how to do this?
Below is the NET USE syntax / options:
NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *] /HOME
NET USE [/PERSISTENT:{YES | NO}]
Thanks!
I am using Windows 2003 Server. I need to periodically disconnect my network drives via command line. There is the option to DELETE, but I only want to disconnect them. Does anyone know how to do this?
Below is the NET USE syntax / options:
NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *] /HOME
NET USE [/PERSISTENT:{YES | NO}]
Thanks!