How to Map Network Drive in Windows 11: A Step-by-Step Guide

If you want to learn how to map network drive in Windows 11, you can turn a shared folder on another computer, server, or network-attached storage device into a drive that appears directly in File Explorer.

Instead of repeatedly searching for a shared folder or typing a long network address, Windows 11 lets you assign it a drive letter such as Z:, Y:, or X:. After that, accessing your network files feels almost like opening a regular local hard drive.

Whether you’re connecting to a shared folder at home, accessing company files from an office network, or connecting to a NAS device, mapping a network drive can make your workflow much more convenient.

In this guide, we’ll explain how to map a network drive in Windows 11, how to keep it connected after restarting, how to connect using another username and password, how to disconnect a mapped drive, and what to do when Windows cannot connect.

Table of Contents

What Is a Network Drive in Windows 11?

A network drive is a shared folder or storage location available over a network that Windows assigns a drive letter.

For example, instead of opening a network location such as:

\\ComputerName\SharedFolder

you could map it to:

Z:

Then you can open File Explorer → This PC → Z: to access the shared files.

Think of it as giving a familiar name tag to a folder somewhere else on your network.

The files aren’t necessarily stored on your Windows 11 PC. They’re located on another computer, server, NAS device, or shared storage location.

Why Should You Map a Network Drive?

Mapping a network drive is particularly useful when you access the same shared folder regularly.

Benefits include:

  • Faster access to shared files
  • A permanent drive letter
  • Easier file management
  • Convenient access through File Explorer
  • Simplified workflows for office networks
  • Easier access to NAS storage
  • Compatibility with applications that expect a drive letter
  • Less need to repeatedly enter a network path

For example, imagine your family stores photos on a home NAS. You could browse through the network every time you need a picture, or you could map the shared folder as Z: and access it directly.

What Do You Need Before Mapping a Network Drive?

Before you begin, make sure you know the network location you want to connect to.

You’ll usually need a path such as:

\\ServerName\SharedFolder

or:

\\192.168.1.100\SharedFolder

You may also need a username and password if the shared folder requires authentication.

Make sure:

  • Your PC is connected to the network.
  • The destination computer or server is online.
  • The shared folder actually exists.
  • You have permission to access it.
  • You know the correct network path.
  • You have the required username and password.

If any of these pieces are missing, Windows may not be able to establish the connection.

How to Find the Network Path of a Shared Folder

Before mapping the drive, you need to know where the shared folder is located.

A network path normally starts with two backslashes:

\\

For example:

\\Office-PC\Documents

The first part identifies the computer or server, while the second identifies the shared folder.

You might also encounter an IP-based path:

\\192.168.1.25\Documents

Both formats can work when the network is configured correctly.

How to Map Network Drive in Windows 11 Using File Explorer

The easiest method is through File Explorer.

Step 1: Open File Explorer

Press:

Windows + E

File Explorer will open.

You can also click the File Explorer icon on the taskbar.

Step 2: Open This PC

In the left navigation pane, select This PC.

This displays your available local drives, removable storage, and potentially existing network locations.

Step 3: Open the Map Network Drive Menu

At the top of File Explorer, click the three-dot menu.

Select:

Map network drive

A new window will appear.

Step 4: Choose a Drive Letter

You’ll see a Drive drop-down menu.

Choose an available letter.

For example:

Z:

You don’t necessarily have to use Z. You can select another unused drive letter.

Step 5: Enter the Network Folder

In the Folder field, enter the shared folder’s network path.

For example:

\\Office-PC\SharedFiles

Or:

\\192.168.1.50\SharedFiles

Make sure the spelling and capitalization of the path are correct.

Step 6: Enable Reconnection if Desired

If you want Windows to automatically reconnect the drive when you sign in, select:

Reconnect at sign-in

This is particularly useful for folders you access every day.

Step 7: Connect Using Different Credentials

If the shared folder requires a different username or password, select:

Connect using different credentials

You’ll then be prompted to provide the appropriate login information.

Step 8: Click Finish

Click Finish.

Windows will attempt to connect to the shared folder.

If everything is configured correctly, the mapped drive should appear in File Explorer under This PC.

What Does “Reconnect at Sign-in” Do?

The Reconnect at sign-in option tells Windows to try connecting to the mapped network drive whenever you sign in.

Without it, you may need to map the drive again after restarting or signing out.

However, automatic reconnection depends on the network being available.

For example, if you’re using a laptop and connect to your home NAS only when you’re at home, Windows may not be able to reconnect while you’re away.

Once you’re back on the correct network, the drive may become available again.

How to Map a Network Drive Using an IP Address

Sometimes Windows has trouble finding another computer by its hostname.

In that situation, using the device’s IP address can help.

For example, instead of:

\\FileServer\Public

you could use:

\\192.168.1.20\Public

To map it:

  1. Open File Explorer.
  2. Select This PC.
  3. Click the three-dot menu.
  4. Select Map network drive.
  5. Choose a drive letter.
  6. Enter the IP-based network path.
  7. Select Reconnect at sign-in if needed.
  8. Click Finish.

The IP address must belong to the correct device, and the shared folder must be accessible through that address.

How to Map a Network Drive With Command Prompt

Windows 11 also lets you map network drives using Command Prompt.

This method can be especially useful for administrators or users who prefer command-line tools.

The basic command is:

net use Z: \\ComputerName\SharedFolder

For example:

net use Z: \\Office-PC\SharedFiles

Windows will attempt to assign the shared folder to drive Z.

Map a Drive With a Username

If authentication is required, you can use:

net use Z: \\Office-PC\SharedFiles /user:Username

Windows may then prompt you for the password.

Avoid putting sensitive passwords directly into commands when possible, because command history or other users may be able to see them depending on the environment.

How to Map a Network Drive Using PowerShell

PowerShell provides another option for advanced users.

You can use the New-PSDrive command to create a mapped drive.

For example:

New-PSDrive -Name Z -PSProvider FileSystem -Root "\\Office-PC\SharedFiles" -Persist

The -Persist option can make the drive available as a persistent mapped drive in Windows.

PowerShell is particularly useful when you’re managing multiple Windows computers or automating repetitive tasks.

How to Access a Mapped Network Drive

Once the network drive has been mapped, accessing it is simple.

  1. Press Windows + E.
  2. Select This PC.
  3. Find the mapped drive under Network locations.
  4. Double-click the drive.

You can now browse folders, open files, copy documents, and save files according to the permissions provided by the network share.

How to Disconnect a Mapped Network Drive

No longer need the connection?

You can remove the mapped drive without deleting the files stored on the network.

Method 1: Using File Explorer

  1. Open File Explorer.
  2. Select This PC.
  3. Find the mapped network drive.
  4. Right-click it.
  5. Select Disconnect.

The drive letter will disappear from File Explorer.

The shared folder itself remains on the server or computer.

This is an important distinction: disconnecting a mapped drive does not normally delete the shared files.

How to Remove a Network Drive Using Command Prompt

You can also use the net use command.

For example:

net use Z: /delete

Windows will remove the mapping for drive Z.

To view existing network connections, you can use:

net use

This can help identify which drive letters are currently connected.

How to Map a Network Drive That Requires a Username and Password

Some shared folders are protected.

When you connect, Windows may ask for credentials.

Enter the username and password provided by the administrator or owner of the shared folder.

Depending on the network environment, the username may need a format such as:

ComputerName\Username

or:

Domain\Username

The exact format depends on how authentication is configured.

Should You Save Your Credentials?

Windows may offer an option to remember credentials.

This can make future connections easier, but you should consider security before saving credentials, especially on shared or public computers.

If other people can sign in to your Windows account, stored network credentials could potentially provide access to shared resources.

How to Fix “Windows Cannot Access” When Mapping a Network Drive

One of the most common problems is an error saying Windows cannot access the specified network location.

Several things can cause this.

Check the Network Connection

Make sure your Windows 11 computer is connected to the correct network.

If you’re trying to access a home server, verify that you’re connected to your home Wi-Fi or Ethernet network.

If you’re accessing a workplace server, you may need to be connected to the company’s network or VPN.

Check the Network Path

Carefully verify the path.

For example:

\\Server\SharedFolder

A small spelling mistake can prevent the connection.

Try opening the path directly in File Explorer’s address bar.

Check Whether the Server Is Online

The destination computer, NAS, or server needs to be powered on and connected to the network.

If the server is offline, Windows can’t establish the connection.

How to Fix a Network Drive That Disconnects After Restart

If your mapped drive disappears or shows as disconnected after restarting Windows, first verify that Reconnect at sign-in was selected when you created the mapping.

You should also check whether the network is available when Windows starts.

For example, a laptop may sign in before Wi-Fi has fully connected.

In some situations, waiting a few moments and opening the drive again is enough.

If the problem continues, remove the existing mapping and create it again with Reconnect at sign-in enabled.

How to Fix a Network Drive That Shows a Red X

A red X often indicates that Windows currently cannot reach the mapped network location.

It doesn’t necessarily mean the drive or files have been deleted.

Try these steps:

  1. Check your network connection.
  2. Make sure the destination device is online.
  3. Open the mapped drive.
  4. Wait a few seconds for Windows to reconnect.
  5. Try opening the original network path directly.
  6. Remap the drive if necessary.

If you’re using a laptop away from your home or office network, the mapped drive may simply be unavailable because you’re no longer connected to the network where the share exists.

How to Fix “The Network Name Cannot Be Found”

This error usually indicates that Windows can’t locate the specified computer or shared resource.

First, verify the network path.

For example, check whether:

\\Office-PC\SharedFiles

is actually the correct address.

If the computer name isn’t resolving properly, try using its IP address:

\\192.168.1.20\SharedFiles

You should also confirm that the target computer is connected to the network and that the shared folder is still available.

How to Fix Network Discovery Problems in Windows 11

Network discovery allows Windows devices to find certain computers and network resources.

If network discovery is disabled, you may have trouble browsing network devices.

To review the setting:

  1. Open Settings.
  2. Go to Network & internet.
  3. Open your current network properties.
  4. Make sure you’re using the appropriate network profile for your trusted network.
  5. Review Windows network-sharing settings.

You can also search Windows for Advanced sharing settings and review the options for network discovery and file and printer sharing.

Only enable sharing features on networks you trust.

What Is the Difference Between a Network Drive and a Network Location?

A network location is simply a shortcut or reference to a network resource.

A mapped network drive goes a step further by assigning a drive letter.

For example:

Network location:

\\Server\Documents

Mapped drive:

Z:

Some applications work better with drive letters, making mapped drives useful in business environments and specialized software workflows.

Can You Map a Network Drive Over Wi-Fi?

Yes.

A network drive doesn’t require Ethernet specifically.

As long as your Windows 11 computer and the shared resource can communicate over the network, Wi-Fi can work.

However, performance depends on the quality and speed of your network.

Large file transfers may be slower over a weak wireless connection.

For demanding workloads involving very large files, a fast wired connection may provide more consistent performance.

Can You Map a NAS Drive in Windows 11?

Yes.

Many NAS devices provide SMB network shares that Windows can access.

Typically, you’ll receive a network path similar to:

\\NASName\SharedFolder

You can then use the standard Windows 11 Map network drive process.

The exact configuration depends on your NAS manufacturer and how its shared folders are configured.

Make sure the NAS is connected to the same accessible network and that your account has permission to access the share.

Security Tips When Mapping Network Drives

Network drives can provide convenient access to important files, but security still matters.

Keep these tips in mind:

  • Don’t share passwords with unauthorized users.
  • Use strong passwords for network accounts.
  • Avoid exposing file-sharing services directly to the public internet.
  • Use trusted networks for sensitive file shares.
  • Give users only the permissions they need.
  • Disconnect network drives you no longer use.
  • Be careful when saving credentials.
  • Keep Windows and network devices updated.
  • Use a VPN when your organization’s configuration requires one.

Convenience should never come at the cost of basic network security.

Frequently Asked Questions

How do I map a network drive in Windows 11?

Open File Explorer → This PC → three-dot menu → Map network drive. Choose a drive letter, enter the network folder path, optionally enable Reconnect at sign-in, and select Finish.

What is the network path format for a shared folder?

A typical Windows network path uses two backslashes followed by the computer or server name and shared folder name, such as \\Server\SharedFolder.

Why can’t Windows 11 connect to my mapped network drive?

Check your network connection, verify the network path, make sure the destination computer or server is online, and confirm that your account has permission to access the shared folder.

How do I keep a mapped network drive after restarting?

When mapping the drive, enable Reconnect at sign-in. Windows will then attempt to reconnect the drive whenever you sign in.

Does disconnecting a mapped drive delete the files?

No. Disconnecting a mapped drive normally removes the connection from your Windows computer. It does not delete the files stored in the shared network folder.

Conclusion

Learning how to map a network drive in Windows 11 can save you time whenever you regularly work with shared folders, office servers, NAS devices, or another computer on your network.

The simplest approach is to open File Explorer, select This PC, choose Map network drive, select an available drive letter, enter the shared folder’s network path, and click Finish.

If you use the network folder frequently, enable Reconnect at sign-in so Windows can automatically restore the connection when you log in.

And if something goes wrong, don’t immediately assume your files are gone. Check the network connection, verify the shared path, make sure the destination device is online, and confirm that you have the necessary permissions.

Once your network drive is mapped correctly, accessing shared files becomes almost as straightforward as opening your local C: drive.

Summary: Key Takeaways

  • A mapped network drive gives a shared folder its own drive letter in Windows 11.
  • You can map a drive through File Explorer.
  • The typical network path looks like \\ComputerName\SharedFolder.
  • You can use an IP address instead of a computer name when appropriate.
  • Windows + E quickly opens File Explorer.
  • Reconnect at sign-in can automatically restore the mapped drive.
  • Command Prompt and PowerShell can also map network drives.
  • You can disconnect a mapped drive without deleting the shared files.
  • Network-drive problems are often caused by connectivity, incorrect paths, unavailable servers, or permissions.
  • NAS devices can commonly be accessed through Windows network shares.
  • Keep network sharing secured and use appropriate permissions.