Can’t Remove Network Location in Windows 10? 5 Fixes That Work

Seeing a stubborn network location that simply refuses to disappear from File Explorer can be frustrating—especially if it points to an outdated server, a disconnected drive, or a shared folder you no longer use. In Windows 10, network locations can persist even after you believe you’ve removed them. This issue can stem from cached mappings, Windows registry entries, credential data, or network discovery settings. Fortunately, there are reliable methods to clean them up permanently.

TLDR: If you can’t remove a network location in Windows 10, the problem usually lies in mapped drives, stored credentials, registry entries, or network discovery settings. Start by disconnecting mapped drives and removing saved credentials. If the location still appears, check File Explorer options and the Windows Registry for residual entries. In most cases, one of the five fixes below will permanently resolve the issue.

Below are five proven solutions that work in nearly all cases. Follow them carefully, and always consider creating a system restore point before making advanced changes.


1. Disconnect the Network Location from File Explorer

The most common reason a network location remains visible is that it is still mapped as a drive. Even if the connection is no longer active, Windows may continue displaying it.

To disconnect a mapped drive:

  • Open File Explorer.
  • Click on This PC.
  • Under Network locations or Devices and drives, find the problematic location.
  • Right-click the drive.
  • Select Disconnect.

If the option appears grayed out or the drive disappears but returns after a restart, the mapping may have been created using the Command Prompt.

To remove it using Command Prompt:

  1. Press Windows + X and choose Command Prompt (Admin).
  2. Type:

net use

This will display all mapped drives.

Then remove the unwanted mapping:

net use X: /delete

(Replace X with the assigned drive letter.)

This resolves the issue in many cases. If the location still persists, move to the next method.


2. Remove Stored Network Credentials

Windows stores login credentials for network resources. Even if the physical location is removed, saved credentials can cause Windows to continue displaying it.

To delete saved credentials:

  • Open the Control Panel.
  • Go to User Accounts.
  • Click Credential Manager.
  • Select Windows Credentials.
  • Look for entries related to the network location.
  • Click the entry and choose Remove.

After removing relevant credentials, restart your computer and check if the network location is gone.

Why this works: Windows sometimes auto-reconnects to previously accessed network shares if valid credentials remain stored. Removing them prevents reconnection attempts.


3. Delete the Network Location from the Registry

If standard removal methods fail, the network location may be stored in the Windows Registry. Editing the registry should be done carefully, as incorrect changes can affect system stability.

Important: Before proceeding, create a system restore point.

Steps to remove network locations via Registry Editor:

  1. Press Windows + R.
  2. Type regedit and press Enter.
  3. Navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

Under this key, you may see entries corresponding to network locations.

  • Look for folders referencing the unwanted network path.
  • Right-click the relevant key.
  • Select Delete.

You can also check this path:

HKEY_CURRENT_USER\Network

Delete any subkeys that correspond to the drive letter of the network location.

Close the Registry Editor and restart your PC.

Why this works: When Windows fails to properly clean up a network mapping, registry remnants keep the entry visible in File Explorer. Removing them manually forces Windows to refresh the list.


4. Disable Network Discovery (If It’s a Ghost Device)

Sometimes the issue is not a mapped drive but a discovered device on your local network. Network Discovery automatically detects shared resources, and stale device entries may remain listed even if the device is no longer available.

To disable Network Discovery:

  • Open Control Panel.
  • Go to Network and Sharing Center.
  • Select Change advanced sharing settings.
  • Under your current profile, select Turn off network discovery.
  • Click Save changes.

Restart your computer and check if the location disappears.

You can later re-enable Network Discovery if needed.

Note: This method is particularly effective when dealing with outdated NAS devices, shared printers, or computers that were removed from the network.


5. Clear File Explorer History and Reset Quick Access

Windows 10 keeps a history of recently accessed files and network locations. In some cases, the location shown is not an active mapping but a cached Quick Access entry.

To clear File Explorer history:

  • Open File Explorer.
  • Click the View tab.
  • Select Options.
  • Under the General tab, find the Privacy section.
  • Click Clear.

Additionally:

  • Under Quick Access, right-click the network location.
  • Select Unpin from Quick Access.

If the location appears under “Network” but not as a mapped drive, you can also try rebuilding the icon cache:

  1. Open Command Prompt as Administrator.
  2. Type:

ie4uinit.exe -ClearIconCache

Restart Windows afterward.

This method removes interface artifacts that may make nonexistent locations persist.


Additional Troubleshooting Steps

If none of the above solutions solve the issue, consider these advanced checks:

  • Check Group Policy (Windows 10 Pro only): Ensure that no login scripts are automatically mapping drives.
  • Review Startup Programs: Some legacy applications reconnect network drives on boot.
  • Scan for Malware: In rare cases, malicious scripts can create persistent network mappings.
  • Verify Active Directory Policies: If on a work machine, domain policies may reapply network mappings.

In corporate environments, network locations are often enforced through administrative policies. If this is a workplace device, consult your IT department before making deeper system changes.


Why Network Locations Refuse to Disappear

Understanding the underlying cause can help prevent recurrence. Common reasons include:

  • Disconnected network drives that were mapped with “Reconnect at sign-in” enabled
  • Registry keys that were not properly deleted
  • Stored Windows credentials triggering auto-login
  • Network devices cached by discovery protocols
  • Quick Access history retaining stale references

Windows 10 relies heavily on caching mechanisms to improve speed and usability. However, these same mechanisms can create confusion when network resources change or disappear.


When to Consider a System Reset

If you are experiencing repeated networking glitches beyond a single stubborn network location, broader system file corruption may be present.

You can check system integrity by running:

sfc /scannow

in an elevated Command Prompt.

Only consider using Reset this PC as a last resort, and always back up your data before doing so.


Final Thoughts

A persistent network location in Windows 10 is usually not a serious issue—but it can be irritating and confusing. In most cases, the solution is straightforward: disconnect mapped drives, remove stored credentials, or clean registry remnants. More complex cases may involve network discovery or cached File Explorer data.

By methodically applying the five fixes outlined above, you can restore File Explorer to a clean and accurate state. If the problem persists despite these steps, the cause is likely administrative policy or deeper configuration settings that require further investigation.

A clean system interface is not just cosmetic—it reduces errors, avoids confusion, and ensures Windows behaves as expected.

Recommended Articles

Share
Tweet
Pin
Share
Share