Mapped Network Drive Keeps Disconnecting in Windows 11
A red X does not always mean the mapping has been deleted. Windows may restore the connection when the share is accessed. First determine whether the server is unreachable, the saved credentials are rejected, the VPN is absent, or only the drive-letter mapping is stale.
Capture the failure before reconnecting
When the drive is disconnected, note whether the computer just resumed from sleep, changed Wi-Fi networks, or connected to a VPN. Then run these read-only checks in PowerShell:
Get-SmbMapping | Select-Object LocalPath, RemotePath, Status
Get-NetConnectionProfile | Select-Object Name, NetworkCategory, IPv4Connectivity
Copy the share host from the remote path and test it without exposing credentials:
Test-NetConnection -ComputerName SERVER-NAME -Port 445
- If port 445 is unreachable, focus on DNS, VPN, firewall, Wi-Fi, or the server—not the mapping.
- If the host is reachable but Explorer requests credentials, inspect the account and stored credential path.
- If opening the mapped drive immediately reconnects it, the red X may be stale presentation after sign-in or sleep.
Choose the least disruptive repair
The mapping is not persistent
Review the current mapping with Get-SmbMapping. Recreate it as persistent only after confirming the correct share and account. Do not put a password in a script or command history.
It fails only after sleep
Update the network adapter driver from the computer manufacturer and compare behavior with adapter power saving disabled. Change one setting, sleep and resume, then access the original share again.
It fails only away from the office
Confirm the required VPN is connected and that the share hostname resolves through it. A persistent mapping cannot make a private server reachable without the correct network path.
Credentials are rejected
Open Credential Manager > Windows Credentials and identify entries for the exact server. Remove or replace only a known-stale entry; deleting all saved credentials can disrupt unrelated services.
Verify the result
Open a known folder on the share, create and remove a harmless test file if you have permission, then repeat the original trigger: sign out and in, sleep and resume, or reconnect the VPN. Record the server, share, and drive letter that were actually tested.
How Againly helps
Againly can inspect mapping, network, and VPN evidence, propose the smallest safe next step, and verify the same share after an approved change. It should not alter SMB security policy or store credentials merely because a drive shows a red X.
[CTA: Try free diagnosis]