Situatie
Mapping network drives and other locations is a good way of keeping remote data at hand in your local area network. However, at some point, you might also want to delete some of these drive mappings and keep only those that you regularly use. In this article, we show you exactly how to do that. Here are four methods for deleting mapped drives and network locations from Windows 10:
Solutie
Pasi de urmat
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.
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.
NOTE: 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.
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.
A network location mapping is a shortcut stored as a file on your Windows computer. If you can’t delete it using the first method we’ve shown, you can try others. One of them is to use File Explorer to delete its shortcut. Open File Explorer and navigate to “C:\Users\Your_User_Name\AppData\Roaming\Microsoft\Windows\Network Shortcuts”. Your_User_Name is the name of your Windows 10 user account. In the Network Shortcuts folder, you can find all network location mappings. Select the ones you no longer want to use. Then, right-click (or press-and-hold) on them and select Delete or press the Delete key on your keyboard.
Leave A Comment?