If you can already open a share by typing \\server\share in File Explorer but have to retype it every time, or a program expects files on a fixed letter such as Z:, map it: in Windows 11 File Explorer, select This PC, open More (three dots) and choose Map network drive. You need a shared folder, its \\server\share path and an account that can open it.
What you need before you open the wizard
- A shared folder. Mapping only points to something that is already shared. On a NAS, that is a shared folder created in its admin page. On another Windows PC, use the sharing steps just below.
- The UNC path. UNC (Universal Naming Convention) paths start with two backslashes, then the device name or IP address, then the share name: \\OFFICE-PC\Invoices or \\192.168.1.40\Backups. The share name is not always the folder name on disk, so copy it from the device.
- An account that works on that device. For a NAS, that is a NAS user account. For another Windows PC, it is an account on that PC. Current Windows 11 Pro won’t fall back to guest access, so “no password” setups often fail.
- The same network. Both devices need to be on your home or office network (or connected through a VPN).
- A path that opens. If typing the path in the File Explorer address bar doesn’t open the folder, mapping won’t either; use the error table below.
If the files are on another Windows PC
Share the folder on that PC before you map it:
- On that PC, right-click the folder, select Show more options, then choose Give access to > Specific people.
- Add the account that will connect, set its permission level, and select Share.
- Note the network path Windows shows, and use it in the Folder box on your PC.
Microsoft’s file sharing checklist also asks for both PCs to be on the same network, the network profile set to Private, and Network discovery and File and printer sharing turned on in the advanced sharing settings. The checklist suggests turning off password protected sharing for simple home sharing, but a Windows 11 Pro PC connecting without a password is exactly the guest connection it now refuses, so keeping password protection on and signing in with a real account tends to work better. To see which folders a PC is sharing, type \\localhost in its address bar.
When the files live on a Windows 10 PC, sharing a folder over SMB on Windows 10 shows how to switch those settings on and give access.
On Windows 10 or a Synology NAS
On Windows 10, the command sits on File Explorer’s Computer tab instead of the More menu, and connecting to an SMB share in Windows 10 covers that version. To open a share without mapping it, see accessing a shared folder on a network. For a Synology box, mapping a Synology drive on Windows 11 includes the DSM side.
Map the drive from This PC
- Press Windows + E to open File Explorer and select This PC in the left pane.
- On the toolbar, select More (the three dots), then Map network drive. If it isn’t there, right-click This PC in the left pane instead.
- Pick a letter from the Drive list.
- Type the UNC path in Folder, or select Browse to find it.
- Leave Reconnect at sign-in checked if you want the drive every time you sign in.
- Select Finish, and enter the share’s user name and password if Windows asks.
The drive opens in a new window and appears under This PC with its letter.
The Map Network Drive window, field by field
| Field | What it does | What to choose |
|---|---|---|
| Drive | The letter the share will use | Any free letter. Letters late in the alphabet, such as Z or S, rarely clash with USB drives. Pick the same letter on every PC if a program expects it. |
| Folder | The UNC path to the share | \\name\share or \\IP\share. You can map a subfolder, such as \\OFFICE-PC\Invoices\2026, if you only need that part. |
| Browse | Lets you pick from devices Windows can see | Useful when you don’t know the share name; it depends on network discovery being on. |
| Reconnect at sign-in | Saves the mapping for your account | Checked for a permanent drive; clear it for one-time use. |
| Different credentials option | Signs in to the share with another account | Check it when the NAS or other PC uses a different user name from your Windows account, then save the password when asked. |
Reconnect, update or remove a mapped drive
A mapped drive is a saved shortcut plus, often, a saved login. Most later problems come from one of those two going stale.
- Red X on the drive after sign-in: Windows tried to reconnect before the network was ready, often on Wi-Fi. Opening the drive usually reconnects it.
- Password changed on the NAS: the saved login is now wrong. Open Credential Manager from Start, choose Windows Credentials, edit or remove the entry for that server, then open the drive and sign in again. Where Windows keeps these logins is covered in finding network credentials in Windows 11.
- The name stops working but the IP works: give the NAS a fixed IP address in your router, then map by IP.
- A program can’t see the drive: if it runs as administrator, it may not see drives mapped in your normal session. Map the drive in the same context the program uses, or point the program to the UNC path directly.
To remove the drive and its saved login:
- In File Explorer, right-click the drive under This PC and choose Disconnect (select Show more options first if you don’t see it).
- Or use the command-line removal shown in the next section.
- If you are done with that server, remove its entry from Credential Manager too.
Disconnecting removes only the shortcut. The files on the share are untouched.
Command-line mapping with net use and New-PSDrive
The command line creates the same kind of mapped drive as File Explorer, which helps when you set up several PCs or want a batch file or script. The table shows where each route fits.
| Method | Best for | Keeps the drive after restart | Watch out for |
|---|---|---|---|
| File Explorer | One PC, one or two drives | With Reconnect at sign-in | Nothing special |
| net use (Command Prompt) | Quick setup, batch files | With /persistent:yes | Run it in a normal, non-administrator window |
| New-PSDrive (PowerShell) | PowerShell scripts | With -Persist | Needs -Scope Global inside a script |
The Command Prompt version looks like this:
net use Z: \\OFFICE-PC\Invoices /persistent:yes
Add the password asterisk and an account to connect as another user: net use Z: \\OFFICE-PC\Invoices * /user:OFFICE-PC\<name> /persistent:yes. The asterisk makes Windows prompt for the password instead of storing it in the command. The full switch list is in Microsoft’s net use reference.
In PowerShell:
New-PSDrive -Name Z -PSProvider FileSystem -Root \\OFFICE-PC\Invoices -Persist -Scope Global
Microsoft’s New-PSDrive documentation explains why -Scope Global matters: without it, a drive created inside a script doesn’t last beyond that script. The same page notes that mapped drives belong to one user account, and drives created in an elevated (Run as administrator) session aren’t visible in sessions started with different credentials. That is why a drive mapped from an admin prompt can seem to vanish from File Explorer.
To remove a drive from the command line, run net use Z: /delete in Command Prompt or Remove-PSDrive -Name Z in PowerShell.
Read the error message when Windows 11 says no
Since Windows 11 24H2 (and in 25H2 and later), Windows requires SMB signing on outbound and inbound connections by default, and Windows 11 Pro no longer allows guest connections to shares. Many older or default-configured NAS boxes trip over one of these. The message tells you which.
| Message or symptom | What it means | Fix, safest first |
|---|---|---|
| “The cryptographic signature is invalid” | The NAS doesn’t sign its SMB traffic | Turn on SMB signing in the NAS settings, or update its firmware |
| “You can’t access this shared folder because your organization’s security policies block unauthenticated guest access” | The share only allows guest access | Create a user account on the NAS, give it permission, and map with that account |
| Windows can’t find the path, or Browse shows nothing | Name lookup or discovery problem (on Windows 11 Pro this can also be the guest-access block in the row above) | Use the IP address in the path, check network discovery, and confirm the other device is on |
| Access denied | The account lacks permission on the share | Check the share’s permissions for that user on the NAS or sharing PC |
| A message about already being connected with a different user name | Windows already holds a connection to that server with another account | Disconnect the existing mapping to that server, then map again with one account |
Microsoft’s Tech Community post on third-party NAS access in Windows 11 24H2 recommends fixing the NAS first: turn on SMB signing, turn off guest access and use a user name and password, then update or replace the NAS. Turning off the signing requirement or guest fallback protection on the PC comes last because it makes the PC and its data much less safe. Very old devices that speak only SMB1 are a separate problem; enabling SMB1 on Windows 11 explains the risks before you consider it.
Drive letters, subfolders and network traffic
Can two PCs map the same share with different letters?
Yes. The letter is stored on each PC for each user, so one PC can use Z: and another S: for the same share. Use matching letters only if a program or shortcut depends on the letter.
Can I map a folder deep inside a share?
Yes. Put the full path in the Folder box, such as \\OFFICE-PC\Invoices\2026, and the drive opens at that folder.
Does a mapped drive use my internet connection?
Not on a home or office network. Traffic stays on the local network between your PC and the share; only a VPN connection to a remote office sends it over the internet.
Once the drive is mapped, restart once and confirm it reconnects without a red X; if it does, the setup is finished.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He is an IT specialist with over 20 years of experience, from a university help desk to small-business IT, IT management and his own consulting practice, and has written tech guides full time since 2020. Steps are checked against the current software on a real device or the maker’s official documentation. More about Kermit.