4 Ways to Delete Mapped Network Drive

By Dominic Chooper on June 28, 2023

You may need to map drives to access from your computer just like a local drive. However, you may also need to remove it if you do not need it.

There are multiple ways to do so. If you are not aware of these ways, fortunately, you are at the right place. This article will guide you through.

KEY TAKEAWAYS

Why Do You Need to Delete Mapped Network Drive?

The most obvious reason to delete a mapped drive from your computer is that you do not need it anymore. Keeping it in such a situation will only create more branches on your network unnecessarily.

Another significant reason to delete mapped network drives is that it makes tracking the link of a particular drive to a folder much more difficult.

How to Delete Mapped Network Drive?

Delete Mapped Network Drive

The easiest way to delete a mapped network drive from your PC is to simply disconnect the drive-in question from the File Explorer.

However, this option may not be available in the first place, depending on the settings of your PC. In that case, you can delete it in other ways, such as:

Read Also:  How to Fix Wi-Fi Wireless Capability Turned Off?

You can also delete it from the context menu by using the Registry Editor and the Group Policy feature.

The steps to follow for each method are explained hereunder.

Method 1: Disconnect the Drive from the File Explorer

You can select the particular drive you want to delete from your network from the File Explorer and simply disconnect it.

STEPS TO FOLLOW:

Clicking on Disconnect

Selecting Show more options

When you disconnect, the mapped drive will be removed from the window.

Method 2: From the Command Prompt

Assuming that you know the particular path of the drive you want to remove, you can run a command in the Command Prompt to remove it.

STEPS TO FOLLOW:

Typing in the command net use Z: /delete

Note: The letter Z in the above command is just for example. You must replace it with the specific letter of the drive you want to remove.

If you have more than one mapped drive and want to delete them all at once, run the command net use*/delete and hit Enter.

Read Also:  How to Set Up a Guest Wi-Fi Network?

You may be asked whether or not you wish to continue. Type Y and hit Enter.

If you do not want any confirmation and want to delete multiple drives, use the command net use*/delete/y and hit Enter.

It will delete all the mapped drives on your computer.

Method 3: From Registry Editor

You may also use the Registry Editor to remove the mapped drive from your computer.

STEPS TO FOLLOW:

Clicking on the Yes button on the User Account Control window

Once the Registry Editor window opens, expand the following folders in the exact same order:

You will see different keys of drives here. Select and right-click on the drive you want to delete.

Pressing Delete from the drop-down options

Clicking on the Yes button in the Confirm Key Delete window

If you want to delete more drives, do the same with them.

Then, once again, navigate to the following fodders in the registry:

Here you will find the registry keys of all the network drives. Select the one you want to delete following the same process as above.

Now, close the Registry editor, restart your PC, and open the File Explorer. The network drive will not be visible there anymore.

If you want to remove the mapped drive from the context menu by using the Registry Editor, you should follow these particular steps:

Navigate to the following path:

When you reach the Explorer key, go to the right side and right-click on the blank area.

Selecting DWORD

Read Also:  How to Connect to a Hidden Wi-Fi Network in Windows?

Edit DWORD

Restart your computer and this will delete the mapped network drive from the context menu on your computer.

Method 4: By Using the Group Policy Feature

This is another way to delete the mapped network drive from the computer by using the Group Policy Feature.

STEPS TO FOLLOW:

You can also do the same in the search box next to the Start menu.

Remove Map Network Drive and Disconnect Network Drive

Clicking on Apply button and OK button

This will delete the mapped network drive from your computer.

Conclusion

So that is all you have to do to delete a mapped drive from your computer.

Try any one of the above methods and ensure that your network is not branched unnecessarily.