Skip to content
TECHNOARTH IT for offices and small businesses.
Networking

How to map a network drive in Windows 11 (and the red X)

Map a server or NAS folder as a network drive in Windows 11, from File Explorer or with net use, and fix the red X, a password that won't save and a NAS that stopped opening after 24H2.

How to map a network drive in Windows 11 (and the red X)

Mapping a network drive makes a folder on the office server, another computer or the NAS show up in This PC with a letter (for example, S:), as if it were a local disk. In a small business, it’s what keeps everyone saving to the same place instead of their own desktop.

In this article
  1. Before you start: three decisions that save rework
  2. With File Explorer (one PC at a time)
  3. With the net use command (several PCs, or to redo it quickly)
  4. The drive shows a red X
  5. The password changed and the drive stopped working
  6. The NAS stopped opening after updating to Windows 11 24H2
  7. Which method to choose
  8. Frequently asked questions

Before you start: three decisions that save rework

  • One letter for the whole office. If the common folder is S: on the front desk PC, make it S: on the accounts PC too. Shortcuts and instructions over the phone (“save it on S:”) then work on any machine. Avoid low letters such as D: or E:, which Windows tends to hand to USB drives and card readers.
  • An address that doesn’t change. The path looks like \\NAME\Folder or \\192.168.0.20\Folder. If you use the IP, reserve that address for the server or NAS on the router (a DHCP reservation); if the IP changes after a power cut, every drive breaks at once. This also prevents an IP address conflict on the network.
  • One user per person. Create an account on the NAS or server for each employee, instead of a single shared password like “office123”. That way you can tell who accessed what, remove access for someone who leaves without changing everyone’s password, and restrict folders holding personal data about customers and staff — exactly the kind of control data-protection laws expect.

Before mapping, type the path into File Explorer’s address bar. If the folder opens, mapping will work. If you get error 0x80070035, fix that first: see how to fix error 0x80070035. And if the folder hasn’t been shared on the source machine yet, start with share a folder on the network in Windows 11.

With File Explorer (one PC at a time)

  1. Open File Explorer (shortcut Windows + E) and select This PC in the left pane.
  2. On the command bar, select the three-dot button (See more) and choose Map network drive. If the option isn’t there, right-click This PC in the left pane; in some cases it’s under Show more options.
  3. Under Drive, pick the letter agreed for the office.
  4. Under Folder, type the path (\\NAS\Files) or use Browse.
  5. Tick Reconnect at sign-in so the letter comes back by itself every time the employee signs in to Windows.
  6. If the NAS or server uses a different user from the Windows sign-in (the most common case in offices without a domain), tick Connect using different credentials.
  7. Select Finish. In the password window, enter the user in the format NAS\joanna and tick Remember my credentials.
Map Network Drive window with drive Z:, the folder path, Reconnect at sign-in and Connect using different credentials highlighted
Type the folder path (1), check Reconnect at sign-in (2) and, if the server or NAS needs another user, use different credentials (3).

The official walkthrough is in Microsoft’s support article on file sharing over a network.

With the net use command (several PCs, or to redo it quickly)

net use does the same as the wizard, but from the command line — handy for setting up several machines the same way. Open a normal Command Prompt, without “Run as administrator” (the reason is in the FAQ):

Command
net use S: \\NAS\Files /persistent:yes

With the employee’s own user on the NAS — the * makes Windows ask for the password on the spot, without leaving it written on screen or in a file:

Command
net use S: \\NAS\Files /user:NAS\joanna * /persistent:yes

To see what’s mapped, type just net use. To remove a letter and start again, use net use S: /delete.

Command Prompt with three highlighted commands: net use to map S: with a NAS user and reconnection, net use to list drives and net use S: /delete to remove it
Map with the employee's own user and /persistent:yes (1); the asterisk makes Windows prompt for the password. List active connections (2) and remove the letter when you need to redo it (3).

The drive shows a red X

The X means Windows hasn’t reconnected the letter yet. Often the sign-in simply finished before the network (especially Wi-Fi) was ready: double-click the drive, and if it opens, all is well.

If it doesn’t open, work through this order:

  1. Is the server or NAS on and on the network? Try opening \\192.168.0.20 (its IP) from the address bar. If even that fails, the problem is the network or the device, not the mapping.
  2. Has the IP changed? If the drive was mapped by IP and the router gave the NAS a different address, remove the letter, create the DHCP reservation and map it again.
  3. Has the password changed? If Windows asks for a password or says access is denied, the stored credential is out of date. See the next section.
  4. Is the employee out of the office? The drive only exists inside the local network. When working from home, they need to connect to the company VPN before opening the folder; without the VPN, the letter keeps its X even though the internet works.

The password changed and the drive stopped working

Windows keeps the password used for the mapping in Credential Manager. To open it, type “Credential Manager” in the taskbar search and select the Control Panel result (or run control keymgr.dll). On the Windows Credentials tab, find the entry with the server or NAS name, expand it and update the password — or remove the entry and map the drive again. Microsoft describes both tabs in Accessing Credential Manager.

Credential Manager on the Windows Credentials tab with the saved NAS credential highlighted
Under Windows Credentials, the entry with the server or NAS name (1) stores the password used by the mapped drive. If the password changed, edit or remove that entry and map the drive again.

A close relative is error 1219: the PC is trying to talk to the same server with two users (one letter as joanna, another as admin), and Windows accepts only one per server in each session. Remove the old connections with /delete and map everything on that server with the same user.

The NAS stopped opening after updating to Windows 11 24H2

This is the most frequent stumble in offices with an older NAS. According to Microsoft’s documentation on SMB security hardening, from Windows 11 version 24H2 SMB signing is required by default, and Windows 11 Pro no longer accepts guest access (a folder opened without a username and password). The result: a NAS with a folder open to “anyone”, or with old firmware, stops opening without anybody touching it. SMB1, used by very old equipment, is no longer installed by default either.

The right way out, in this order:

  1. Update the NAS firmware from its admin page.
  2. Turn off guest access on the NAS and create one user per employee, with permission only on the folders each person needs.
  3. Map the drive again with Connect using different credentials ticked.

On its page about insecure guest logons, Microsoft warns that turning them back on means disabling SMB protections and exposes the PC to spoofed servers and ransomware. Microsoft’s own recommendation is to update or replace equipment that only accepts guest access.

Which method to choose

SituationBest route
One new PC or a new starterFile Explorer
Same letter on many PCsnet use, with the same command on each machine
NAS with its own usersEither one, always with different credentials
Files in OneDrive or SharePointDon’t map: sync with OneDrive

Frequently asked questions

The mapped drive doesn’t show up in apps run as administrator. Why?

Mappings belong to the session of the person who created them, and an elevated app runs in a different session. So map without “Run as administrator” and, in the elevated app, use the full path \\NAS\Files.

Can I map a SharePoint library or OneDrive as a drive letter?

It isn’t recommended. For Microsoft 365 files, use the Sync button in the SharePoint library, which puts the folders in File Explorer through the OneDrive app, with version history and access from outside the office.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.