Pages

Tuesday, June 3, 2008

Delete shared map drive user

I learnt a new windows command where it can delete the initial map drive login users from the windows. The command goes like this:

C:/> net use
Status Local Remote Network
-------------------------------------------------------------------------------
OK Z: \\xxx.xxx.xxx.xxx\Share_Folders Microsoft Windows Network

The command completed successfully.

Enter the following command for the syntax help:

C:/> net use /?

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}]

In order to delete the shared map drive user, follow the following command:

C:/>
net use /delete \\xxx.xxx.xxx.xxx\Shared_folder
\\xxx.xxx.xxx.xxx\Shared_folder was deleted successfully.

So here is a little bit of tips to remove the mapping.

Cheers,
-Kay Nny-

No comments:

Post a Comment