Here is how to map a network drive in Windows 11: open File Explorer, select This PC, choose See more (…) → Map network drive, pick a drive letter, type the share path such as \\server\share, tick Reconnect at sign-in and select Finish. The shared folder then appears under This PC like a local drive. It works the same on Windows 11 Home and Pro.
This guide covers the File Explorer method, the command-line options, signing in with different credentials, and the NAS connection problems that some PCs have seen since Windows 11 24H2.
What Does Mapping a Network Drive Do?
Mapping assigns a drive letter, such as Z:, to a shared folder on another computer, a NAS (network-attached storage box) or a server. Instead of typing the network address each time, you open the drive from This PC, and programs can save to it as if it were a local disk.
Windows uses the SMB (Server Message Block) protocol to talk to file shares. The mapped drive is only a shortcut with remembered settings: the files stay on the other device, so the drive is only available while that device is on and reachable over your network.
Ways to Map a Network Drive in Windows 11
Choose the method that suits how often you do it and how many PCs you manage:
| Method | Best for | Keeps the drive after restart |
|---|---|---|
| File Explorer (Map network drive) | Most users, one-off setup | Yes, with Reconnect at sign-in ticked |
net use in Command Prompt |
Quick setup, batch files | Yes, with /persistent:yes
|
PowerShell New-PSDrive
|
Scripts and multiple PCs | Yes, with -Persist
|
| Add a network location | Web folders and FTP sites | Yes, but no drive letter |
How Do You Map a Network Drive in Windows 11 Using File Explorer?
File Explorer's Map network drive wizard is the simplest method, and it's the one Microsoft documents in its guide to file sharing over a network in Windows.
- Press Windows key + E to open File Explorer.
- Select This PC in the left pane.
- On the command bar, select See more (…) and choose Map network drive. If it isn't there, right-click This PC in the left pane and choose Map network drive.
- In Drive, choose any free letter. Letters near the end of the alphabet avoid clashes with USB drives.
- In Folder, type the path, for example
\\NAS01\Documentsor\\192.168.1.20\Shared, or select Browse. - Tick Reconnect at sign-in so the drive returns after a restart.
- If the share needs a different username from your Windows account, tick Connect using different credentials.
- Select Finish, and enter the username and password if prompted. Tick Remember my credentials to avoid typing them again.
Using the IP address instead of the device name is a useful workaround when name lookups are slow or fail. If names are the problem across your network, our guide to fixing slow DNS lookups on Windows explains the cause.
How Do You Map a Drive with Command Prompt or PowerShell?
Commands are faster when you set up several PCs or want a drive mapped by a script. In Command Prompt, run:
net use Z: \\NAS01\Documents /persistent:yes
Add /user:NAS01\username to sign in with a specific account; Windows then asks for the password. To remove the mapping, run net use Z: /delete.
In PowerShell, use:
New-PSDrive -Name Z -PSProvider FileSystem -Root "\\NAS01\Documents" -Persist
Microsoft's documentation for New-PSDrive explains why -Persist matters: without it, the drive exists only inside that PowerShell window and File Explorer can't see it. With it, Windows creates a normal mapped drive. Add -Credential (Get-Credential) to supply a different account.
Why Won't My Network Drive Connect?
Most mapping failures come from the path, the credentials or the other device's settings. Work through these checks:
- "The network path was not found" (error 53). Check the device is on, the name or IP is right, and that Network discovery and file sharing are turned on for your current network. Set the network to Private in Settings → Network & internet on a trusted home or office network.
- "The local device name is already in use" (error 85). The drive letter is taken. Choose another, or remove the old mapping first.
-
"Multiple connections… using more than one user name" (error 1219). Windows allows only one set of credentials per server. Disconnect existing connections to that server with
net use, then map again with the account you want. - Wrong saved password. Open Control Panel → Credential Manager → Windows Credentials, remove the entry for that server, and reconnect.
- No network at all. If the PC can't reach anything on the network, fix the connection first; our guide to Ethernet not working on a PC covers cables, adapters and drivers.
Why Did My NAS Drive Stop Working After Updating Windows 11?
Windows 11 24H2 and later require SMB signing by default and block insecure guest access, so some older or misconfigured NAS devices can no longer be reached. Microsoft's article on insecure guest logons in SMB2 and SMB3 confirms that SMB signing is required by default from 24H2, and that guest credentials can't be used by default on Windows 11 Pro.
The cause and effect is straightforward. Signing proves that data hasn't been tampered with on the way, and guest access means connecting with no password at all. A NAS share set up for "guest" or "everyone" without a password, or a device whose firmware doesn't support signing, now fails to connect. The safe fix is on the NAS side:
- Update the NAS firmware to the latest version.
- Create a user account with a password on the NAS and give it access to the share.
- Make sure SMB2 or SMB3 is enabled on the NAS, not only SMB1.
- Map the drive again in Windows, ticking Connect using different credentials and entering the NAS account.
We don't recommend turning off signing or re-enabling guest logons on the PC. Microsoft advises upgrading or replacing devices that only support guest access, because those settings make it easier for an attacker on the network to intercept or impersonate a file server. If you're unsure which Windows release you're on, our comparison of Windows 11 24H2 vs 25H2 shows how to check.
A Common Mistake We See
A frequent issue is a mapped drive that works in File Explorer but is invisible to a program run as administrator, such as an installer or backup tool. Windows keeps separate drive mappings for normal and elevated sessions under User Account Control, so the elevated program simply can't see Z:. Use the full \\server\share path inside that program, or map the drive from an elevated Command Prompt as well.
The other is a drive that shows a red X after every restart. Windows tries to reconnect before the network is fully ready. Opening the drive usually reconnects it; if not, check that Reconnect at sign-in was ticked and that the saved credentials are still valid.
Frequently Asked Questions
How do I map a network drive in Windows 11 Home?
The steps are identical to Pro. Open File Explorer, select This PC, choose See more (…) → Map network drive, pick a letter, enter the \\server\share path and select Finish. Windows 11 Home can connect to shared folders on other PCs, NAS boxes and servers without any edition upgrade.
Where is Map network drive in Windows 11?
Open File Explorer and select This PC. The option is under See more (…) on the command bar at the top. If you don't see it there, right-click This PC in the left navigation pane, where Map network drive and Disconnect network drive are listed.
How do I disconnect a mapped drive in Windows 11?
Right-click the drive under This PC and choose Disconnect, or select See more (…) → Disconnect network drive. From Command Prompt, run net use Z: /delete, replacing Z with your drive letter. Disconnecting removes only the shortcut; files on the share are unaffected.
Why does my mapped drive show a red X?
A red X means Windows couldn't reconnect at sign-in, often because the network wasn't ready yet or the other device was off. Double-click the drive to reconnect. If it fails, check the device is reachable and that the credentials saved in Credential Manager are still correct.
Can I map a drive to a NAS without a password?
On Windows 11 24H2 and later, passwordless guest access is blocked by default on Pro and other business editions, and SMB signing is required. Create a user account with a password on the NAS instead. It's more reliable and protects your files from anyone else on the network.
Conclusion
Knowing how to map a network drive in Windows 11 takes a few clicks in File Explorer, with net use and New-PSDrive available for scripts. Most failures come down to paths, saved credentials, or NAS devices that rely on guest access. If you're comparing editions for a small office, our Windows 11 Home vs Pro guide explains the business features, and our Windows 11 collection has both editions.
Useful Links
| Resource | Link |
|---|---|
| Slow name lookups | Fix slow DNS lookups on Windows |
| Wired network problems | Ethernet not working on PC |
| Check your Windows 11 version | Windows 11 24H2 vs 25H2 |
| Edition comparison | Windows 11 Home vs Pro |
| Windows 11 licences | Windows 11 collection |
| File sharing (Microsoft) | File sharing over a network in Windows |
| SMB guest access and signing (Microsoft) | Insecure guest logons in SMB2 and SMB3 |
| New-PSDrive (Microsoft) | New-PSDrive documentation |
השאירו תגובה