To map a network drive in Windows 11, open File Explorer, select This PC, then select More (…) > Map network drive. Pick an unused drive letter, enter the shared folder’s path, such as \\ComputerName\ShareName, choose whether to reconnect at sign-in, and select Finish.
A mapped network drive gives a shared folder on another computer, server, or NAS its own drive letter in File Explorer. Before you begin, you need access to an existing network share and its path, usually in the form \\ComputerName\ShareName.
Paste the same network path, such as \\server\projects, into File Explorer’s address bar and press Enter. If the folder opens, the path works for your account. Map that exact path and choose a letter that This PC does not already use.
If Windows asks for credentials or reports that it cannot find the path, resolve that message first. Assigning a different drive letter won’t grant permission to the share. For a work server, connect to the required network or VPN before repeating the test.
How to Map a Network Drive in Windows 11
The File Explorer method is the easiest option for most people.
- Open File Explorer.
Press Windows + E, click the File Explorer icon on the taskbar, or search for File Explorer from Start. - Select This PC.
Choose This PC in the navigation pane on the left side of File Explorer. - Open Map network drive.
Click the More button (the three dots) on the File Explorer command bar and select Map network drive. If you do not see the command there, right-click This PC in the navigation pane and look for Map network drive. - Choose a drive letter.
Select any unused letter from the Drive list. Windows often suggests a letter automatically, but you can choose another available one. - Enter the shared folder path.
In the Folder box, enter the complete network path, such as\\ComputerName\ShareName. You can also click Browse to look for an available computer and shared folder on the network. - Choose the connection options.
Enable Reconnect at sign-in if you want Windows to restore the mapping when you sign in. Enable Connect using different credentials if the share requires a username and password different from the account you are currently using in Windows.

- Click Finish.
If Windows asks for network credentials, enter the username and password that has permission to use the shared folder.

These steps follow Microsoft’s file sharing guide.

After the connection succeeds, the mapped drive should appear in This PC with the drive letter you selected. You can open it from File Explorer much like a local drive, although the files themselves remain on the network device.
To reach it faster, show This PC on the desktop and open the drive from there.
What Path Should You Enter?
Windows normally maps a shared folder by using a UNC path. A typical path looks like this:
\\ComputerName\ShareName
For example, a shared folder named Documents on a computer named Office-PC could use \\Office-PC\Documents. A network device can also sometimes be reached by IP address, such as \\192.168.1.50\Documents.
If you map a share by IP address, give that computer a static IP address so the path keeps working.
If you do not know the share name or the credentials required to access it, ask the person who manages the computer, NAS, server, or workplace network. The folder must already be shared and accessible; mapping a drive does not create the network share itself.
To see the path behind a drive that’s already mapped, open Command Prompt and enter net use. The Remote column shows the UNC path for each drive letter. Enter net use Z: (with your letter) to see one drive. These commands only display connections; they don’t change them. Microsoft documents them in its net use reference.
For a Synology NAS, first make sure the shared folder exists and your NAS account can access it. In DSM, open Control Panel > File Services > SMB, enable the SMB service if necessary, and apply the change. Older DSM layouts group this under SMB/AFP/NFS.
Note the NAS name or local IP address and the shared-folder name, then use a path such as \\NASName\Documents in the Windows mapping steps above. Enter the NAS account when Windows asks for credentials. This maps an existing shared folder; it is different from setting up Synology Drive sync. See Synology’s SMB guidance.
Map a Network Drive in Windows 10
In Windows 10, press Windows + E, select This PC, and select Computer > Map network drive on the ribbon. You can also right-click This PC and choose Map network drive. The rest of the steps match the Windows 11 steps above.

If you only need the shared folder occasionally, you do not have to assign it a drive letter. Open File Explorer, click the address bar, type a path such as \\ComputerName\ShareName, and press Enter. An iPad can open the same kind of share from its Files app, as shown in connecting an iPad to a network server.
Mapping is more useful when you visit the same share frequently or when you want it to appear consistently in This PC with a familiar drive letter.
How to Map a Network Drive with Command Prompt
Windows also includes the net use command. This can be useful for scripts or when you already know the share path. Open Command Prompt, then use a command like the one below. The net use reference covers every option.
net use Z: \\ComputerName\ShareName /persistent:yes

Replace Z: with the drive letter you want and replace the example network path with your actual share. The /persistent:yes option tells Windows to remember the connection for future sign-ins.
If the share requires another account, you can use the /user: option. It is safer to let Windows prompt for the password instead of placing a password directly in a command that could be saved in command history or a script.
Example: Mapping a NAS Share as Drive Z:
Say a NAS at 192.168.1.50 has a shared folder named Family, and you want it to show up as drive Z: every time you sign in. In Command Prompt, enter:
net use Z: \\192.168.1.50\Family /persistent:yes
Windows replies “The command completed successfully.” Running net use on its own then lists the connection:
Status Local Remote Network
-------------------------------------------------------------------------------
OK Z: \\192.168.1.50\Family Microsoft Windows Network
In File Explorer, This PC shows the drive as Family (\\192.168.1.50) (Z:). If the Status column later says Unavailable or Disconnected instead of OK, Windows couldn’t reach the NAS or hasn’t reconnected to it yet, so check that the NAS is on and open the drive once. To remove the drive, enter net use Z: /delete.
How to Map a Network Drive with PowerShell
PowerShell can create the same kind of mapped drive with the New-PSDrive command. Open Windows Terminal or PowerShell and run a command like this:
New-PSDrive -Name "Z" -PSProvider FileSystem -Root "\\ComputerName\ShareName" -Persist
Use the drive letter without a colon for -Name. The -Persist option makes it a regular Windows mapped drive that shows up in File Explorer. If you run the command inside a script, add -Scope Global so the drive stays after the script ends (details are in the New-PSDrive reference). Add -Credential (Get-Credential) if the share needs a different account.
What Does Reconnect at Sign-In Do?
Reconnect at sign-in tells Windows to remember the mapping and try to restore it when you sign in again. The remote device still has to be on and reachable.
If the server, NAS, or other computer is turned off, asleep, disconnected, or unavailable through your current network or VPN, the mapped drive may temporarily appear disconnected. It can become available again when the network resource is reachable.
How to Use Different Network Credentials
Select Connect using different credentials in the Map Network Drive window when the network share uses a different account from your current Windows sign-in. After you click Finish, Windows can ask for the username and password for the share.

If a saved password later changes, Windows may repeatedly ask for credentials or fail to reconnect. You can review saved network sign-ins through Credential Manager > Windows Credentials and update or remove an obsolete entry when appropriate.
How to Disconnect a Mapped Network Drive
- Open File Explorer.
- Select This PC.
- Right-click the mapped network drive.
- Select Disconnect.

Disconnecting the mapping removes the drive letter from your PC. It does not delete the shared folder or the files stored on the remote computer or server.
Why Can’t Windows Connect to the Network Drive?
If the mapping fails, check these common causes before changing advanced Windows settings:
- Incorrect path: Confirm the computer or server name and the shared folder name. A mapped share normally uses a path such as
\\ComputerName\ShareName. - Remote computer is unavailable: Make sure the computer, NAS, or server hosting the folder is turned on and connected.
- Wrong credentials or permissions: The account you use must have permission to access the share.
- Different network: A home or office share normally requires a connection to that local network. Workplace resources may require a company VPN when you are away from the office.
- Name-resolution problem: If a valid computer-name path does not work, an administrator may have you test the share using the device’s IP address to help diagnose the connection.
On a home network, make sure network discovery is turned on on both PCs. If Windows asks for a password you don’t know, find the network credentials in Windows 11. Testing by IP address? Here’s where to find your IP address on Windows 11.
If the folder opens when you type its network path directly into File Explorer but the mapped drive does not work as expected, disconnect the old mapping and create it again with the correct drive letter, reconnection setting, and credentials.
Mapped Network Drive vs. Network Location
A mapped network drive assigns a drive letter such as Z: to a network share. A network location can provide a File Explorer shortcut without giving the location a drive letter.
If an application expects a drive letter or you want the share to behave like a familiar drive in This PC, mapping the network drive is usually the better choice.
Network Drive Questions
Do I need administrator rights to map a network drive?
Not necessarily. The important requirement is that your account has permission to access the network share. Managed workplace computers can have additional policies set by an administrator.
Can I map more than one network drive?
Yes. You can map multiple shares as long as each mapped drive uses an available drive letter.
Why does my mapped drive show a red X?
A persistent mapping can appear disconnected when Windows signs in before the remote resource is available. Try opening the drive after the network, server, NAS, or VPN connection is ready. If it continues to fail, verify the path, permissions, and saved credentials.
Does disconnecting a mapped drive delete files?
No. Disconnecting removes the mapping from your PC but does not delete the remote shared folder or its contents.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.