How to Map a Network Drive in Windows 10 and 11

To map a network drive in Windows 10 or 11, open File Explorer, select This PC, choose Map network drive, pick a drive letter, enter the shared folder path in the form \\server\share, and tick Reconnect at sign-in. You can do the same in one command: net use Z: \\server\share /persistent:yes. The drive then appears as a normal letter such as Z: and opens the files stored on the other computer, server or NAS.

What a mapped network drive is

A mapped drive is a drive letter (Z:, S: and so on) that points to a shared folder on another computer, a file server or a network-attached storage (NAS) device. It behaves like a local disk, but the files live on the other device and travel over the network using the SMB protocol. The folder path you type, such as \\server\share, is called a UNC path.

Method 1: File Explorer

  1. Open File Explorer and select This PC.
  2. On Windows 10, choose Map network drive on the ribbon. On Windows 11, select the three-dot menu, then Map network drive.
  3. Choose a drive letter.
  4. In Folder, type \\servername\sharename or \\192.168.1.10\share.
  5. Tick Reconnect at sign-in to keep the drive after a restart.
  6. Tick Connect using different credentials if the share needs a different username and password.
  7. Select Finish.

Method 2: Command line with net use

net use Z: \\server\share /persistent:yes maps the drive and keeps it after a restart. Add /user:DOMAIN\name to give credentials. net use Z: /delete removes the drive, and net use on its own lists everything currently mapped.

Method 3: PowerShell

New-PSDrive -Name Z -PSProvider FileSystem -Root \\server\share -Persist creates a persistent mapped drive. PowerShell is the better choice in scripts, because you can add error handling and run it for many users.

Mapping to a NAS

  • Find the NAS IP address from its admin page or your router.
  • Create a shared folder and a user account on the NAS that can access it. Synology, QNAP and similar devices all do this from their admin pages.
  • Map \\NAS-IP\foldername and sign in with that NAS account.
  • In a small office, give the NAS a fixed IP address with a DHCP reservation so the path does not change.

Fix: the drive will not reconnect or shows a red X

SymptomLikely causeFix
Red X on the drive after sign-inWindows has not touched the drive yet, or the network was not readyOpen the drive once in File Explorer; use a login script for a lasting fix
Prompted for a password again and againA stale saved credentialRemove it in Control Panel, Credential Manager, Windows Credentials, then reconnect
Error 0x80070035, network path not foundWrong name or IP, device off, or name resolution failingPing the server, try the IP address, check both devices are on the same network
Drive visible to you but not to an elevated appWindows keeps a separate drive list for administrator sessionsRun the app without elevation, or map the drive inside the elevated session
Drive is slow to appear at logon on Wi-FiThe PC reaches the share before the network is readyUse a logon script or Group Policy mapping, or use a wired connection
Nothing connects at allFile and Printer Sharing or network discovery is off, or SMB is blockedTurn both on for the private network profile and check the firewall

Doing this properly in a business

Map by server name, not IP address, so a hardware change does not break every PC. Use Group Policy Preferences or a login script to deploy the same drives to everyone, and consider DFS Namespaces so paths stay stable even when the underlying server moves. Give each person access through security groups instead of sharing one password. We set this up as part of our business network setup.

If your files live in Microsoft 365, you may not need mapped drives at all. See OneDrive vs SharePoint vs Teams for where each type of file belongs.

When to call someone

If drives keep dropping across several PCs, if permissions are a tangle, or if you are moving from a peer-to-peer setup to a real file server or NAS, it is worth doing once and doing it properly. In Edmonton, call +1 (587) 400-9991 (also on WhatsApp), request a quote, or read about other common IT problems we fix.

Sources and further reading

Frequently asked questions

How do I map a network drive in Windows 11?

Open File Explorer, select This PC, open the three-dot menu and choose Map network drive. Pick a letter, enter the \\server\share path, tick Reconnect at sign-in and select Finish. The steps are almost identical in Windows 10, where the option is on the ribbon.

Why does my mapped drive keep disconnecting?

The usual causes are Windows dropping idle connections, a power-saving setting on the network adapter, stale credentials, or Wi-Fi not being ready at logon. A Group Policy or login-script mapping and a clean-up in Credential Manager fix most cases.

Can I map a drive for all users on a PC?

Not directly through File Explorer, because that maps per user. Use a login script, a scheduled task or Group Policy Preferences to map the same drive for everyone.

How do I map the same share on a Mac?

In Finder, choose Go, then Connect to Server, and enter smb://server/share. Add the share to Login Items so it reconnects automatically.

Should I use a drive letter or a UNC path?

Drive letters are friendlier for staff. UNC paths such as \\server\share suit shortcuts and scripts, and you never run out of them. Most offices map letters for daily work and use UNC paths in scripts.