How to remove Network Drive on Windows 11/10

There are multiple ways to remove a network drive. You can do that using the File Explorer or Command Prompt, and even Registry. The last method comes in handy only when you cannot remove it using the first two. It can happen if, for some reason, the network drive will not disconnect. You will need an admin account to execute some of these methods.

1] Remove Network Drive using File Explorer

Open File ExplorerClick on This PC or NetworkRight-click on the Network Drive you want to removeSelect Disconnect, and the network driver should disappear.

When doing this on Windows 11, you need to click on the Show More Options menu and choose disconnect.

2] Remove Network Drive using Windows Terminal or Command Prompt

Open File Explorer and make a note of the drive letter you want to removeOpen Windows Terminal or Command Prompt with admin permission (Win + X)Type the following command and execute it: net use Z: /deleteCheck File Explorer and the mapped network should not be there anymore.

3] Remove Network Drive using Registry

Before going ahead, make sure to either create a restore point or take a registry backup. If you accidentally delete something and the system becomes unusable, you can restore it to a working state.

Open Run prompt, and type regeditUse Shift + Enter to launch the registry editor with admin permissionNavigate to the following path

This place holds all the mapped network entries, and you need to locate the open you want to remove. It will be available as ##Server_Name#Share_Name, which in my case is ##Anant#f.

Please right-click on the folder, and delete it.Choose Yes to confirm

Refresh File Explorer, and the network driver should not be there anymore.

4] Clear Mapped Network Drive Cache

Windows maintains a cache for all connected network drives. It allows the OS to load them quickly without waiting. Follow this guide to remove the mapped network drive cache and refresh everything. I hope the post was easy to follow, and you were able to remove the network drive from your Windows 11/10 PC. Read: Unable to map a Network drive.

How do I map a network drive in Windows?

Open File Explorer, go to This PC and click on the three-dot menu. Select the Map network drive option. It will open the selector window to select the drives available on the network.

How do I map a shared folder on your PC as Network Drive?

First, note the shared folder name, and then the name of your PC. Then follow the method to add a network drive and enter it in the following format: \<Shared-Name>. Windows will add it as a network drive in This PC. Read: Mapped network drives not working.

Mapped network drive fails to reconnect

If you cannot access the already mapped network drive, then first check if the drive is still available. If the shared access was removed, then the drive will not be able to reconnect. If it is there and you can see it on the Network, remove and re-add the network.