TECHDIIP

  • Tech
  • Windows
  • Powershell
  • Scripts
  • News
  • Games

How to disconnect a network drive | Windows 10 | Server 2016 | 2012

27 June 2020 admin Leave a Comment

If you are looking for an article that explains How to disconnect a network drive on windows work station or server operating system then you are at the right palce, below simples steps one can peform and and disconnect the network drive. There are two ways you can disconnect the mapped network, using GUI it is simple if one wants to delete it from the command line then follow the below steps. I have a network drive X mapped and list out that drive first, open the command prompt and type NET USE to list all network drives mapped, see the screenshot below. Now delete the network drive using the same command NET USE, see the example.

net use /del X:

when you this command you will be prompted for a confirmation to disconnect the drive press Y to continue the command. If you want to disconnect all the network drives from command line then use the below command.

net use /del*

Using windows GUI the easy method, just open my computer, Open This PC in file explorer, just hit Windows key + E it will open the file explorer, then click on This PC, please the screenshot below. Select the network share or drive and right-click on it, click on disconnect option. Thank you for reading this article, if you have any questions please let us know. Thank you for visiting my site, for any scripts in these articles you are testing please make sure you have tested this script in our lower environment before you run in production.

Windows

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Techdiip © 2012 - 2020 | Please Read Our

  • Privacy Policy
  • Disclaimer – User Agreement
  • About Us
  • Contact Us