
Practical fix: A red X on a mapped network drive does not automatically mean the files are gone. First prove whether the share opens, then separate a harmless stale connection from a real server, network, name-resolution, permission, or credential failure. Do not delete mappings, saved credentials, or server settings until you record the exact path and error.
Stop before you “fix” the drive
- Do not run a command that deletes every network connection. Another mapped share, line-of-business application, backup job, or scan workflow may depend on one of them.
- Do not erase all Windows Credentials. Record the server name and affected mapping first, then change only the entry you have proved stale.
- Do not enable SMBv1 to make an old NAS work. Microsoft says SMBv1 has significant security vulnerabilities. Microsoft recommends updating the server that still requires SMBv1 instead of reinstalling the old protocol.[4]
- Do not enable insecure guest access as a shortcut. Microsoft recommends upgrading or replacing devices that require guest authentication. Microsoft also says not to enable insecure guest logons.[5]
What the red X can mean
A mapped drive is a convenient drive letter attached to a network path such as \\FILESERVER\Accounting. Microsoft’s normal mapping instructions include a Reconnect at sign-in option. Microsoft also notes that a connection can fail when the computer hosting the share is turned off or the user lacks the correct permissions.[1]
Practical distinction: test the exact share instead of treating the icon as proof. If the drive opens, verify a known folder and continue monitoring. If it does not open, preserve the exact error before changing the mapping.
Who is affected—and who is not automatically affected?
Treat as affected
- The specific user, PC, drive letter, and UNC path that fail.
- Applications that save to that drive letter or exact network path.
- Backup, accounting, document, or scan workflows whose files live on the unavailable share.
- Remote users who require a company VPN before the file server is reachable.
Not automatically affected
- Every user of the server; another PC may still connect normally.
- The stored files themselves; a failed client connection does not prove deletion or corruption.
- The internet connection; local SMB access and internet access are separate tests.
- Every share on the same server; one folder can have different permissions.
Step by step: diagnose before remapping
1. Preserve the exact mapping and error
- In File Explorer, open This PC and photograph the drive letter, displayed share name, red X, and any error.
- Right-click the drive and inspect its properties if available. Record the server and share exactly.
- Open a normal Command Prompt—not an elevated one—and run
net useonly to list current connections. Microsoft documents thatnet usewithout parameters lists network connections. The/deleteoption cancels a specified connection, and an asterisk cancels all network connections.[7] - Record whether the failure began after a password change, restart, VPN change, server replacement, router change, Windows update, or NAS firmware update.
2. Select the drive once
If it opens immediately, verify a known folder and one harmless read operation. Do not declare the problem solved merely because the red X disappears; close and reopen File Explorer, then test after the next sign-in if the original failure happened only at sign-in.
If it fails, preserve the exact message and use the structured tests below. Do not treat any single message as a guaranteed root cause.
3. Test the UNC path without the drive letter
Press Windows key + R and enter the recorded path, for example \\FILESERVER\Accounting. This asks whether the share itself works without relying on the saved drive-letter mapping.
- UNC works, drive letter fails: preserve that result and investigate the saved mapping before changing the server.
- UNC also fails: continue with server, network, name, port, credentials, and permissions.
- Server opens but the share does not: verify the exact share name and the affected user’s permissions.
4. Prove the network path in layers
SMB is an application protocol carried over TCP/IP, so Microsoft’s SMB troubleshooting guidance warns that an SMB symptom can originate in the underlying TCP/IP path.[3] Modern direct-hosted SMB uses TCP port 445. Microsoft also notes that DNS is the standardized name-resolution method for file and printer sharing.[6]
- Confirm the PC is on the expected office network or connected to the required company VPN.
- Confirm the server or NAS is powered on and that another authorized user can reach it.
- In PowerShell, run
Test-NetConnection FILESERVER -CommonTCPPort SMB, replacingFILESERVERwith the recorded server name. Microsoft says this cmdlet can report DNS lookup results and whether a TCP connection was established.[2] - Record
RemoteAddressandTcpTestSucceeded. A failed test identifies a connectivity problem; it does not by itself tell you whether the firewall, route, VPN, server, or name resolution is responsible. - If the server name resolves to an unexpected address, compare it with the approved server or DNS record and involve the authorized network administrator before changing anything. Do not permanently remap everyone to an IP address merely to hide a name-resolution fault.
5. Separate credentials from permissions
If the server is reachable but Windows asks for credentials, confirm which account the server expects: a business domain account, Microsoft Entra-backed identity, server-local account, or NAS-local account. Microsoft explains that Windows credential-management functions can obtain and manage user names and passwords when the signed-in credentials lack required permissions.[8]
- Open Credential Manager → Windows Credentials and look for an entry matching the exact server name.
- If a recent password change explains the failure, update only the verified server entry.
- If no password changed, do not assume the password is wrong. Ask the server owner to verify both share permissions and file-system permissions for the user.
- Never place a password directly in a batch file, shortcut, ticket, email, or article.
6. Choose the narrowest repair
Phone readers: swipe the table left to compare every option.
| Evidence | Likely repair area | Do not do |
|---|---|---|
| Drive opens after one click | Verify sign-in timing and persistence; monitor before changing anything. | Rebuild the mapping immediately. |
| UNC path works but drive letter fails | Repair that one mapping or resolve a letter collision. | Reset the network or server. |
| TCP SMB test fails | Check VPN, route, firewall, DNS, server power, and service availability. | Change share permissions or passwords blindly. |
| Password prompt after a known password change | Update the exact saved Windows credential, then test once. | Delete every credential. |
| Access denied while another user succeeds | Verify the affected identity and both share and file permissions. | Grant Everyone full control. |
| Old NAS requires SMBv1 or guest access | Update its firmware/configuration or replace it with authenticated SMB2/SMB3 support. | Enable obsolete SMBv1 or insecure guest access. |
7. Remap only after the server path works
Microsoft’s supported File Explorer path is This PC → More → Map network drive, then choose an available letter, enter the folder path, and select Reconnect at sign-in when the connection should return at each sign-in.[1]
- Disconnect only the failed mapping after preserving its exact path.
- Use the same approved server name and share—not a guessed replacement.
- Use Connect using different credentials only when the share legitimately requires another account.
- Open the remapped drive, read a known file, and—if authorized—create and remove one harmless test file in a designated test folder.
- Sign out and back in once to verify the original failure condition.
Good fixes and bad shortcuts
Good
- Record the UNC path and exact error first.
- Test one layer at a time: mapping, UNC, network, authentication, permissions.
- Change only the failed mapping or matching credential.
- Keep SMBv1 and insecure guest access disabled.
- Verify the repair in the user’s normal sign-in context.
- Test the application that actually uses the share.
Bad
- Delete all mappings and hope they recreate themselves.
- Clear every saved credential.
- Open TCP 445 to the public internet.
- Enable SMBv1 or guest access to revive an obsolete NAS.
- Grant broad permissions because one user gets Access denied.
- Declare success because File Explorer displays the drive once.
Two realistic examples
Harmless display state: the drive opens on first click
Illustrative example: An office PC starts before the network is fully ready. The accounting drive shows a red X, but selecting it opens the expected share and a known file reads normally. The business records the symptom, confirms the mapping persists after another sign-in, and makes no destructive changes. The icon state was not evidence of lost data.
Costly wrong turn: weakening SMB for an old NAS
Illustrative caution: A legacy NAS stops accepting connections after a Windows change. A forum suggests enabling SMBv1 and insecure guest access. Microsoft says SMBv1 has significant vulnerabilities and recommends updating the server that requires it; Microsoft separately recommends against insecure guest logons because they can expose sensitive data.[4][5] The safer path is a firmware/configuration update or replacement—not a weaker client.
Frequently asked questions
Does a red X mean the files were deleted?
No. It reports a connection state, not a verified storage event. Open the path once, preserve any error, and confirm the server-side files through an authorized account before drawing conclusions.
Should I map the share by IP address?
Use an IP address as a bounded diagnostic only when your IT design allows it. If the IP works but the approved host name does not, that is evidence of a name-resolution problem. Microsoft notes that modern direct-hosted SMB standardizes name resolution on DNS.[6] Fix the name path rather than creating a permanent workaround that can break when an address changes.
Should I run Network reset?
Not early in the process. Microsoft calls network reset a last step and says it removes installed network adapters and their settings, then reinstalls the adapters with default settings. VPN client software or virtual switches may need to be reinstalled or set up again.[9] First test the UNC path, SMB connectivity, exact identity, and permissions.
Why does the drive work for another employee?
That narrows the problem toward the affected PC, user identity, saved credential, mapping, or permissions. It does not prove the server is healthy for every path, but it is useful comparison evidence.
Can I expose port 445 through the router so staff can connect from home?
No. Modern SMB uses TCP port 445,[6] but that is not permission to publish a file server directly to the internet. Use an approved business VPN, zero-trust access design, or supported remote-file service and have IT verify the authentication, encryption, logging, and backup controls.
Related guides from The IT Guys
- Scanner Won’t Save to a Network Folder? Fix SMB Without Weakening Windows — use this when the failing workflow is scan-to-folder rather than a general mapped drive.
- Printer or Camera Keeps Going Offline? Fix Its IP Address Without Creating a Conflict — use this for unstable device addressing.
- Some Devices Work, Others Don’t? Find a Competing DHCP Server Before You Reset the Network — use this when many devices receive inconsistent network settings.
- Stop Opening Your QuickBooks Desktop Company File From OneDrive or a NAS — use this before storing a live QuickBooks company file on a share.
Your next action
Open This PC and write down the drive letter, exact \\server\share path, and full error before changing anything. Test the UNC path once, then test SMB connectivity to the approved server name. If this share carries business data, backups, accounting files, or scan workflows and you cannot identify the failed layer, contact The IT Guys with the error and network path—never send us a password or customer file.
Sources
- Microsoft Support: File sharing over a network in Windows
- Microsoft Learn: Test-NetConnection
- Microsoft Learn: Guidance for troubleshooting SMB
- Microsoft Learn: Detect, enable, and disable SMBv1, SMBv2, and SMBv3
- Microsoft Learn: Insecure guest logons in SMB2 and SMB3
- Microsoft Learn: Direct host SMB over TCP/IP
- Microsoft Learn: Net use
- Microsoft Learn: Credentials Management
- Microsoft Support: Fix Wi-Fi connection issues in Windows
