How to Delete Mapped Network Drives in Windows 7

In a previous tutorial we have shown how to make drive mappings. Many who have read the article asked about ways to delete drive mappings. Therefore we decided to help and share all the methods for deleting mapped drives and network locations in Windows 7.

How to Delete a Mapped Drive from Windows Explorer

In case you need to delete a previously created drive mapping, open the Computer window. All of the mapped drives will be available in the Network Location section, beneath your partitions and CD/DVD-ROM drives.

Delete map network drive

To delete a drive mapping toward a network location, right click on it and select Disconnect.

Delete map network drive

To delete a drive mapping towards an FTP site, right click on it and select Delete.

Delete map network drive

The deleted mapped drives will stop showing up in your Computer window. In order to restore them, you will have to create them again.

How to Delete a Mapped Drive from the Command Prompt

Open the Command Prompt and type: net use drive letter /delete. Then, press Enter.

For example, I have a drive mapping using the letter "Z:". I must type: net use Z: /delete

Delete map network drive

You are informed that the mapped drive was deleted successfully. However, it will not disappear immediately and you will see it being "available" in Windows Explorer. It will go away only after you reboot your computer or log off from your user account and log back.

An important aspect to consider is that this works for drive mappings which have a letter assigned. For network location mappings (e.g. FTP server, web server, etc), this command does not work.

How to Delete a Network Location Mapping

A network location mapping is actually a shortcut stored as a file on your computer. If deleting it with the mouse (as shown in the first section) doesn’t work, you can try other methods.

Open Windows Explorer and browse to "C:\Users\Your User Account\AppData\Roaming\Microsoft\Windows\Network Shortcuts".

Delete map network drive

There you will find all network location mappings. Select them with the mouse and press Delete on your keyboard.

Delete map network drive

You are then asked to confirm the deletion. Once done, the network location mappings are gone.

NOTE: Another alternative is to use the Command Prompt again and browse using the cd (Change Directory) command to the location mentioned earlier. Then, using the del (Delete) command, you can delete the shortcut. These commands are explained in detail in this tutorial: Command Prompt - How to Use Basic Commands.

An example of how this works can be found in the screenshot below.

Delete map network drive

If you are doing the deletion from the Command Prompt you also need to log off and log back on, for the shortcut to completely disappear.

Conclusion

As you can see from this tutorial, there are plenty of alternatives to deleting drive mappings. The instructions should apply to all modern Windows versions: Windows Vista, Windows 7 and (most probably) Windows 8.