KB450208 – Remove mapped network drives in Windows 10

Last modified: May 14, 2021
You are here:
Estimated reading time: 1 min

Use File Explorer to delete a mapped network drive from Windows 10

  • If you need to delete a previously created drive mapping, the first thing you must do is open File Explorer. Then, on the left side of the window, select This PC. All of the mapped drives are available in the Network Locations group, beneath your solid-state drive, hard-disk drives and other similar devices such as CD/DVD units or USB memory sticks.

  • To delete a drive mapping toward a network location, right-click (or press-and-hold) on it and select Disconnect.

  • To remove a drive mapping towards a network folder or FTP site, right-click (or press-and-hold) on it and select Delete.
  • The deleted mapped drives then stop showing. If you want to restore them, you have to recreate them.

Run “net use /delete” in Command Prompt or PowerShell to delete a mapped network drive

  • If you prefer command-line environments, you can use the net use command to delete mapped network drives from Command Prompt or PowerShell. Open the one you like best and run this command: net use [Mapped Drive Letter] /delete. Then, press Enter. For example, we have a drive mapping to which we assigned the letter Z, so we have to type: net use Z: /delete.

  • You are informed that the mapped drive was deleted successfully, and the network drive disappears immediately from File Explorer.
The net use /delete command only works for drive mappings that have a letter assigned. It doesn’t work for network location mappings such as FTP servers or web servers.

Run net use * /delete in Command Prompt or PowerShell to delete all the mapped network drives

  • If you have more than one mapped network drive configured and you want to delete them all at once, you can use the same net use command to disconnect them all at once. Open Powershell or start Command Prompt and run the following command: net use * /delete.

  • PowerShell or Command Prompt then shows you all the active network connections that are going to be canceled. It might also ask whether you are sure that you want to continue. Type in Y if you do, or N if you don’t.

If you want to use the net use command to delete all the mapped network drives and you want to force the process to go on without asking for any confirmations, add the /y parameter to the command: net use * /delete /y.
Was this article helpful?
Dislike 9
Views: 5763
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access