Close Session Manually that opens via UNC Path
I want to close session manually that opens using UNC path, i.e. I access Server01 from Client01 using UNC path, now I want to close the session manually or by a command that
created with Server01.
How to do that?
October 27th, 2010 6:03am
anybody is there?
Free Windows Admin Tool Kit Click here and download it now
January 12th, 2011 3:16pm
If you're accessing a file share on a server using the UNC (e.g. : \\Server01\share), then the following command should close the session:
net use /d \\Server01\share
The syntax of this command is:
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}]
January 12th, 2011 3:46pm