sodcalculator

10 Tech How-To

Map & Disconnect Network Drive Windows 10

Guide 10-57661 · Updated · Step by step

Mapping a network drive in Windows 10 lets you access a shared folder on another computer or NAS as if it were a local drive, complete with its own letter (like Z:). This guide walks you through mapping a drive, disconnecting it when you no longer need it, and fixing common issues along the way.

What You’ll Need

  • A Windows 10 PC that is on the same network as the shared folder.
  • The network path to the shared folder (e.g., \\ServerName\ShareName or \\192.168.1.10\SharedDocs).
  • Credentials (username and password) if the shared folder requires authentication.
  • Administrator rights on your PC are not required for mapping, but you may need them to change certain network settings.

Step-by-Step

Mapping a Network Drive

  1. Open File Explorer – Press Win + E or click the folder icon in the taskbar.
  2. Select “This PC” – In the left sidebar, click on “This PC” (or “Computer” in older versions).
  3. Click “Map network drive” – In the toolbar at the top, click the “Computer” tab, then select “Map network drive.” Alternatively, right-click on “This PC” in the sidebar and choose “Map network drive…”
  4. Choose a drive letter – In the “Drive” drop-down, pick an available letter (e.g., Z:).
  5. Enter the folder path – In the “Folder” field, type the network path (e.g., \\Server\Share). If you don’t know it, click “Browse…” to find the share.
  6. Set reconnection options – Check “Reconnect at sign-in” if you want the drive to map automatically every time you log in. Check “Connect using different credentials” if you need to enter a different username/password.
  7. Click “Finish” – If prompted, enter the username and password for the network share, then click “OK.” The drive will appear under “This PC” in File Explorer.

Disconnecting a Network Drive

  1. Open File Explorer – Press Win + E.
  2. Select “This PC” – In the left sidebar.
  3. Right-click the mapped drive – Under “Network locations,” right-click the drive you want to remove.
  4. Choose “Disconnect” – From the context menu. The drive will be removed immediately.

Alternatively, you can click the “Disconnect” button in the toolbar under the “Computer” tab after selecting the drive.

Common Mistakes

  • Wrong path format – Using a forward slash (/) instead of backslash (\). Windows uses backslashes for UNC paths.
  • Forgetting credentials – If the share requires authentication, you must enter the correct username and password. Leaving it blank may cause an “Access denied” error.
  • Mapping to a drive letter already in use – Choose a letter that isn’t already assigned to another drive.
  • Not checking “Reconnect at sign-in” – If you want the drive to persist, you must check this option; otherwise, it disappears after a reboot.
  • Using a local path – Mapping a local folder (like C:\Users\Public) won’t work; you must use a network path.

Tips

  • Use a persistent path – If the server’s IP address changes, use the server’s name (e.g., \\NAS\Share) rather than an IP, so the drive remains valid.
  • Map via Command Prompt – For advanced users, you can use net use Z: \\Server\Share /persistent:yes to map a drive faster.
  • Enable Network Discovery – If you can’t see other computers, go to Control Panel > Network and Sharing Center > Advanced sharing settings, and turn on Network Discovery.
  • Use a different user for credentials – If you need to access a share with a different account, check “Connect using different credentials” and enter them.
  • Check the share permissions – If you get access denied, verify that your account has at least read permission on the shared folder.

Troubleshooting

Error: “The network name cannot be found”

This usually means the path is incorrect or the server is unreachable. Check the spelling, ensure the server is powered on and connected to the network, and try pinging the server’s IP address.

Error: “Access is denied”

Your credentials are likely wrong or you lack permission on the share. Re-enter the username/password, or ask the share owner to grant you access.

Drive disconnects after reboot

If you didn’t check “Reconnect at sign-in,” the drive won’t remap automatically. Remap it with the persistent option, or use the command line with /persistent:yes.

Drive shows as disconnected (red X)

This happens when the network connection is lost. Right-click the drive and select “Disconnect,” then remap it. If it persists, check your network connection and the server’s availability.

Cannot see other computers in Network

Network Discovery might be turned off. Go to Control Panel > Network and Sharing Center > Advanced sharing settings, and enable Network Discovery for your network profile (Private or Public).

Mapping works but files are slow

This could be due to network congestion or a slow server. Try connecting via Ethernet instead of Wi-Fi, or contact your network administrator.

Frequently Asked Questions

Can I map a network drive without admin rights?

Yes, mapping a network drive does not require administrator privileges on your local machine, as long as you have credentials to access the share.

How do I remove a mapped drive from the command line?

Open Command Prompt and type net use Z: /delete (replace Z: with the drive letter) to disconnect that drive. To remove all mapped drives, use net use * /delete.

Why does my mapped drive disappear after restart?

Most likely because you didn’t check “Reconnect at sign-in” when mapping. Remap the drive and ensure that option is checked, or use the /persistent:yes switch in the command line.

Can I map a drive to a cloud storage folder like OneDrive?

No, OneDrive and other cloud storage services use their own sync clients and cannot be mapped as network drives directly. However, you can map a drive to a SharePoint document library using a webDAV connection.

What’s the difference between a mapped drive and a shortcut?

A mapped drive gets a drive letter and appears in File Explorer as a local drive, allowing many applications to access it directly. A shortcut is just a link to the network path, which opens in File Explorer but doesn’t assign a drive letter.

Can I map a network drive on Windows 10 Home?

Yes, mapping a network drive is available in all editions of Windows 10, including Home.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →