UNmapping Windows Mapped Drives - David Woodsmall
1/26/2017 - Optimized for Firefox 50.1.0
COPYRIGHT 1992 thru 2017 - David R. Woodsmall
Feel free to link to any of my pages
You can use the Windows NET command to unmap all Windows mapped drives.
For example, to unmap the Q: drive (has the drive letter Q:). >From the CMD window
(Start->Run->CMD) enter (then press ENTER after you enter the following command):
NET USE Q: /DELETE
Example: NET USE Q: "/DELETE
To see what drives are Mapped
NET USE
To MAP a drive but NOT remap after a reboot:
NET USE Q: "\\sharename" /PERSISTENT:NO
ex) NET USE Q: "\\elvira\newq$" /PERSISTENT:NO
To MAP a drive and RE-map after a reboot
NET USE Q: "\\sharename"
ex) NET USE Q: "\\elvira\newq$"
if a password is needed:
NET USE Q: "\\sharename" password /USER:domain\username /PERSISTENT:NO
The drive letter in the command is the drive letter
for YOUR computer - IT may or may not be the same
drive letter as used by the target Host.
WINDOWS HELP INFORMATON FOR "NET USE"
C:\Documents and Settings\Administrator>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}]