A "missing network location" message usually means Windows has assigned a network connection to the Public profile, lost its saved credentials for a mapped drive or network share, or the device you are trying to reach is no longer visible on the network. The fix is almost always one of three things: tell Windows the connection is private, re-enter the share path and credentials, or enable network discovery and file sharing. The steps below walk through each in order, starting with the safest and quickest checks. The exact menu labels in Windows can differ slightly between versions and editions, so if one does not match exactly, look for the closest equivalent.

What You'll Need

  • A Windows PC with administrator rights, if you need to change network profile or sharing settings
  • The name of the computer, NAS or router sharing the folder, and the exact share name
  • The username and password for the account that can access that share
  • Both devices switched on and connected to the same network (the same subnet if you are on several routers or VLANs)
  • The device's local IP address, if you want to test the connection directly rather than by name

Step-by-Step

  1. Confirm what "missing" means for you. A missing network location can show up as a drive in File Explorer with a red X, an error like "The network path was not found" or "Windows cannot access", or a share that simply does not appear. Each points to a different cause, so note the exact wording before you start changing settings.
  2. Restart the PC and the sharing device. Turn off the PC, the router and the NAS or host computer, wait a moment, then bring the router back first, followed by the host device and the PC. This clears stale connections and is the single most common fix.
  3. Check the network profile. Open Settings > Network & internet > Wi-Fi (or Ethernet) and click the name of your connection. Set the network profile to Private. A Public profile blocks discovery and sharing by design, which is the usual reason a location looks "missing" after a router change or Windows update.
  4. Turn on network discovery and file sharing. Go to Control Panel > Network and Sharing Center > Change advanced sharing settings. In the Private section, turn on network discovery and turn on file and printer sharing. Save changes.
  5. Verify the two devices share a network. On the host device, note its IPv4 address. On your PC, open Command Prompt and type ping followed by that address, for example ping 192.168.1.20. If the ping fails, the problem is network connectivity, not Windows sharing. Check that both are on the same router and not one on a guest network.
  6. Try the share by IP address. Press Windows key + R, type two backslashes followed by the host's IP address (for example \\192.168.1.20) and press Enter. If the share opens by IP but not by name, name resolution is the problem and you can keep using the IP, or add the host to the hosts file on the PC.
  7. Re-enter credentials. If a credentials prompt appears, enter the host's username and password. If nothing appears and the share still fails, open Control Panel > Credential Manager > Windows Credentials, remove any saved entry for that host, then reconnect so you are prompted for the password fresh.
  8. Recreate the mapped drive. Right-click the broken drive in File Explorer and choose Disconnect, then map it again: right-click This PC, choose Map network drive, pick a letter, enter the share path and tick Reconnect at sign-in. Untick it if the drive is only needed occasionally and you are often away from the network.
  9. Check the host's sharing setup. On the computer sharing the folder, right-click the folder > Properties > Sharing > Advanced Sharing and confirm it is shared. Then check the Permissions button and the Security tab to make sure your account is allowed to read the folder.
  10. Update and restart the network stack. Install any pending Windows updates, then open Settings > Network & internet > Advanced network settings and use Network reset only as a last resort. Network reset removes and reinstalls all network adapters and clears saved Wi-Fi passwords, so you will need to reconnect to Wi-Fi and re-add VPNs afterwards.

Common Mistakes

  • Changing sharing settings while the connection is still set to Public, which silently blocks the change from having any effect.
  • Typing a single backslash instead of two at the start of a share path, or a forward slash.
  • Re-adding a mapped drive with a different letter than before, which breaks shortcuts, scripts and any backup job pointed at the old letter.
  • Assuming the shared folder is gone when only the shortcut or drive letter was removed.
  • Using a Microsoft account email as the username against a NAS, which usually expects a local account name instead.
  • Putting the PC and the NAS on different routers or a guest Wi-Fi network, where devices are isolated from each other by design.

Tips

  • Give the host device a fixed IP address through a DHCP reservation in the router. Mapped drives and bookmarks that use an IP address then keep working after reboots.
  • Save credentials only on devices you control and trust, and remove saved entries when a share is retired or a password changes.
  • Keep a note of the exact share path and host name so restoring a connection takes seconds rather than guesswork.
  • If the drive is unavailable only on laptops away from home, leave the reconnect-at-sign-in option off and connect on demand instead.
  • For NAS devices, check the maker's own help pages for the correct sharing protocol settings; some require SMB to be enabled explicitly.

Troubleshooting

Ping fails. The PC cannot reach the host at all. Check cabling or Wi-Fi, confirm both are on the same subnet, and temporarily disable any firewall on the host to test, then re-enable it and add an exception for file sharing instead of leaving it off. Third-party security software often has its own firewall that blocks file sharing separately from Windows Firewall.

Ping works but the share by name fails. Name resolution is the issue. Open the share by IP address, or add the host's name and IP to the hosts file at C:\Windows\System32\drivers\etc\hosts. Editing that file needs administrator rights.

Credentials are rejected repeatedly. Clear the saved entry in Credential Manager, confirm the account actually exists on the host, and watch for caps lock or a keyboard layout mismatch when typing the password.

The drive shows a red X but opens anyway. This is a display issue after the PC wakes from sleep. Click the drive; if it opens, ignore it. If it stays broken, disconnect and remap it.

Only one PC is affected. Compare its network profile and sharing settings with a PC that works. Rebuild the mapping on the affected PC before touching the host, since the host is clearly serving other machines.

Frequently Asked Questions

Why did my network location disappear after an update?

Updates and router replacements can reset the network profile to Public or change the host's IP address. Check the profile first, then reconnect by IP address to confirm the share still exists.

Do I need a password to reach a shared folder?

Usually yes, unless password-protected sharing is turned off on the host. Disabling it lets anyone on the network read the share, so keep it on unless the network is fully trusted.

Does this work on Mac and phones?

Macs connect to Windows shares through Finder's Connect to Server option using the smb:// prefix. Phones need a file manager that supports SMB shares; check the app's documentation for the exact path format. Menus differ from Windows, but the host name, share name and credentials are the same.

Will mapping a drive copy my files somewhere?

No. A mapped drive is a shortcut to a folder stored on the other device. Files stay where they are and only travel over the network when you open or save them.

Is it safe to use the Public profile at home?

Yes, but it hides your PC from other devices, which is why shares look missing. Use Private on networks you trust and keep Public on café, hotel and airport Wi-Fi.