Solving Windows 11 Mapped Drive Disconnects
Mapped network drives can vanish on Windows 11 after sleep, restarts, or network changes. Here’s how to fix it step by step.
Why Drives Disconnect
Windows 11’s power-saving features turn off network adapters to save energy. Fast Startup hibernates parts of the system and Modern Standby skips full shutdowns, so the network state can get lost. Updates also tighten SMB security, blocking old authentication methods and delaying drive reconnection until after the network is ready.
1. Turn Off Fast Startup
Fast Startup preserves system state and can leave drives in limbo.
- Open Control Panel and go to Power Options
- Click “Choose what the power buttons do”
- Select “Change settings that are currently unavailable”
- Uncheck “Turn on fast startup”
- Save and reboot
This forces a clean shutdown every time so drives reconnect fresh.
2. Keep Network Adapters Awake
Prevent Windows from powering down your NIC.
- Open Device Manager and expand Network adapters
- Right-click your adapter, choose Properties
- Go to Power Management
- Uncheck “Allow the computer to turn off this device to save power”
- Click OK and reboot
If you don’t see Power Management, your PC uses Modern Standby. Run this command in an admin prompt and restart:
textreg add HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /t REG_DWORD /d 0
3. Wait for the Network at Startup
Ensure Windows doesn’t try mapping drives before it’s online.
- Press Win+R, type gpedit.msc, and open Group Policy Editor
- Go to Computer Configuration → System → Logon
- Enable “Always wait for the network at computer startup and logon”
- Close and reboot
This makes Windows hold off drive mapping until the network is ready.
4. Stop Idle Disconnects
Windows will drop idle SMB sessions after a time. Disable that:
- Open an elevated Command Prompt
- Enter: text
net config server /autodisconnect:-1
This keeps connections alive until you sign out.
5. Disable Offline Files
Offline Files can conflict with your live mappings.
- Open Control Panel and launch Sync Center
- Click “Manage offline files”
- Click “Disable offline files” and restart
Your network shares will no longer try to work offline.
6. Auto-Reconnect Script
If drives still drop, use a script to remap them at logon.
Create a file named MapDrives.ps1 with:
powershell$drives = @{
"M:" = "\\server\share1"
"N:" = "\\server\share2"
}
foreach ($drive in $drives.GetEnumerator()) {
net use $drive.Key /delete /y 2>$null
net use $drive.Key $drive.Value /persistent:yes
}
Then set up a scheduled task or place a shortcut to run that script at user logon.
7. Tackle SMB and Authentication Changes
Newer Windows versions block guest access and disable SMBv1 by default.
- If you need guest logons, enable “insecure guest logons” in Group Policy under Lanman Workstation settings.
- Only re-enable SMBv1 via Windows Features if you have no other choice—and understand the security risk.
8. Use IP Addresses
Skipping name resolution can help:
- Map drives using IP addresses instead of hostnames, for example
\\192.168.1.100\shareinstead of\\server\share.
9. Refresh Cached Credentials
Sometimes old passwords cause failures.
- Open Control Panel → Credential Manager
- Remove any stored entries for your network server
- Reconnect drives and enter fresh credentials
10. Monitor and Test
Use built-in tools to check your network:
- In PowerShell, run
Test-NetConnection -ComputerName servername -Port 445to confirm SMB reachability - Run
Get-SmbConnectionto see active SMB sessions
Prevention Tips
- After Windows updates, test drive mappings before widespread rollout.
- Keep NIC drivers up to date.
- Document all mapped drives and mapping methods.
- Train users on how to manually reconnect drives if needed.
By disabling Fast Startup, tweaking power settings, forcing Windows to wait for the network, and adding an auto-connect script, you can keep your mapped drives online and avoid those frustrating disconnects.

