- To remove network drive on Windows 10, open “This PC” on File Explorer, right-click the mapped drive, and select the “Disconnect” option.
- Or, on Command Prompt, run the “net use d: /delete” command.
- Or you can also remove a network drive from the Registry.
On Windows 10, the ability to map a drive allows you to create quick access to files stored on another device connected to the network. However, it’ll come a time when you may need to remove a mapped network drive because you no longer need it, settings are changing in the network or disconnect and reconnect to troubleshoot a mapping problem.
Whatever the reason, Windows 10 includes the ability to map and disconnect (unmap) a network drive using File Explorer, Command Prompt, and even the Registry (if the first two methods don’t work).
This guide will teach you three ways to remove a network drive on Windows 10.
- Disconnect mapped network drive on Windows 10 from File Explorer
- Disconnect mapped network drive on Windows 10 from Command Prompt
- Disconnect mapped network drive on Windows 10 from Registry
Disconnect mapped network drive on Windows 10 from File Explorer
To remove a network drive on Windows 10 from File Explorer, use these steps:
-
Open File Explorer on Windows 10.
-
Click on This PC from the left pane.
-
Under the “Network locations” section, right-click the mapped drive and select the Disconnect option.
Once you complete the steps, the network drive will no longer be available on the computer.
Disconnect mapped network drive on Windows 10 from Command Prompt
To remove a mapped network drive from Command Prompt, use these steps:
-
Open Start.
-
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
-
Type the following command to delete the mapped network drive on Windows 10 and press Enter:
net use z: /delete
In the command, replace the “z” with the mapped drive letter to remove.
-
Restart your computer.
After you complete the steps, the mapped network drive should no longer be available on your device.
Disconnect mapped network drive on Windows 10 from Registry
Alternatively, if you have issues disconnecting the mapped drive (such as the error message “This network connection doesn’t exist”), then you can use the Registry with the steps:
-
Open Start.
-
Search for regedit and click the top result to open the Registry.
-
Browse the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
-
Right-click the mapped drive that you want to remove. For example, right-click ##Server_Name#Share_Name, then click the Delete option.
-
Click the Yes button.
-
Browse the following path:
HKEY_CURRENT_USER\Network
-
Right-click and delete the network share that refers to the mapped drive. For example, in this case, the “Z” key.
-
Click the Yes button.
-
Restart your computer.
Once you complete the steps, the network drive should disappear from File Explorer, enabling you to map the drive again or continue without it.