We can delete mapped drive command line using ‘net use’ command. For example to disconnect the network share mapped to the drive z: we can run the below command.
net use /del Z:
Similarly to delete all the mapped drives we can run the below command.
net use /del *
Thanks u so much !
Yes thank you! This is just what I was looking for!
Thank you. It was helpful.
Thank you so much!! its work for me….=)
I found it so very useful because i have created some mapped drives but no longer need them and was wondering how to delete them.
Thanks. That’s exactly what I needed.
ThanQ!!!
Hi,
Thank you for the information. But i would like to know the command to remove a network drive which is already disconnected. If you right click, you have the option to disconnect, but on selecting will say that the drive is not connected. Also the drive icon shows that its disconnected. When running the command “net use”, it says no drives available. But still these drives are showing in Network Area. What could be the issue? If possible give me a solutions.
Thanks in Advance,
I totally agree, these commands don’t work when you are not currently on the network (Windows 8)
On Win7, when I did “net use” to list all network mapped drives. It has one line that the drive was mapped to say \\xxxx\folder1 without a drive letter. I wanted to remove this particular one.
I tried “net use /del \\xxxx\folder1” for example it also removed OK from the mapped network drive list. I remapped \\xxxx\folder1 and it worked OK.
its very helpfull..thanks alot..
Thanks a lot, helps me too!
That was really helpful, thanks!
Can you help me to map multiple network drives in a single command line please.
Thanks it’s really helpful
Any other most importent networking command plz.. share.
bro. how to install Network drivers
plz help me
gpupdate /force :) thx me later
It worked thank you.
nice post bro thanks to troubleshooting this error for me good post help to anyone
Thank you so much!!!
WOW works great
Great for guide
Thanks!
Thanks – I had forgotten many of the old DOS commands – excellent to find the answer here.
Wow. Good advice here! Now, if only the folks at MS could figure out how to add this functionality to the disaster that is File Explorer.
use:
net use /del * /yes
to auto force yes to anwser if you want to delete al former networkmappings
This was so helpful, i used “net use /del *” to delete a mapped network drive that was not showing in my computer but showing in “net use” without drive assigned. THAnks Thanks