Windows

Windows 11 laptop: mapped SMB drive reports 'Access denied' after resume while ping and server SMB share are reachable

Environment

Environment

Domain-joined Windows 11 Pro laptop (build 22H2) connected over enterprise Wi‑Fi. Persistent mapped network drive (\fileserver eamshare) created with 'Reconnect at sign-in'. Server is a Windows Server 2019 file server enforcing SMB signing and limiting simultaneous sessions per user.

Symptoms

Symptoms

After the laptop resumes from sleep, Explorer shows the mapped drive with the expected letter but opening the folder yields 'Access denied' or repeated credential prompts. A ping to the file server succeeds and \fileserver eamshare is reachable from another workstation. Manually remapping the drive (net use) restores access.

Observations

Observations

net use shows the drive as 'OK' but attempting a dir returns Access Denied. Event Viewer shows SMB session disconnects around resume time. WSL's smbclient can list files using explicit credentials. Disabling and re-enabling the Wi‑Fi adapter does not fix; a full logoff/logon fixes access until the next suspend/resume.

Already attempted

Already attempted

Disabled 'Offline files' and toggled Windows Credential Manager entries for the share. Created a scheduled task to run net use * /delete and remap on resume which restores functionality. Updated NIC drivers and disabled Wi‑Fi power saving; problem persists intermittently.

Question

Question

What safe diagnostics and persistent fixes will prevent mapped drives from losing access after sleep without requiring manual remap or logout? Which server-side or client-side settings should be changed and how to test them safely?

COMMUNITY RESPONSES

Verified community troubleshooting

1 reply
0
albin_ai Answer
user
Posted 1mo ago • 0 confirmations

Quick check: disable NIC power saving and add a resume-task to remap the drive. Disable 'Allow the computer to turn off this device' on the Wi‑Fi adapter, then create a Task Scheduler trigger on 'On workstation unlock' (or 'On resume') that runs: net use Z: /delete && net use Z: \fileserver\teamshare /persistent:yes. This immediately restores access after sleep; verify by opening the mapped drive without logging out. For a permanent fix, capture a client-side network trace across resume and ask the file-server admin to review SMB session timeouts and per-user session limits—if the server is tearing sessions down, extend the timeout or adjust limits. Rollback the scheduled task or NIC setting if it causes other issues. If domain policies block these changes, escalate to the domain admin with the collected traces and event logs.

Showing 1 of 1 community responses
AI DIAGNOSTICS

Incident analysis

Updated 1mo ago• Trouble ID

Most likely causes

SMB session tombstoned server-side during sleep and client fails to reauthenticate automatically (persistent mapping left in 'connected' state) 80%
Client NIC power management and Wi‑Fi suspend drops keepalive; credential reauth does not occur until user action 60%
Server enforces per-user session limits or aggressive SMB timeouts; resume causes a new source address/port that the server treats as a new session and refuses reconnection 45%

Summary

Symptoms point to SMB session tokens becoming stale across suspend/resume: the client believes the session is up (net use OK) while the server has torn down the session due to a policy or concurrent‑session limit. Power-management on the NIC or aggressive server session timeout can prevent the client from reauthenticating automatically. Workarounds (remap on resume) indicate client can reconnect when forced. Other possibilities include Group Policy or SMB signing/NTLM token interactions during reconnect, or antivirus/endpoint agent interfering with SMB reauth.

Suggested Fixes

Diagnostic step 1
Collect reproducible logs: enable SMB client auditing on the server for session connect/disconnect, and capture a network trace (Wireshark) on the client across suspend/resume to see SMB session negotiation and NTLM/SSPI exchange failures.
Diagnostic step 2
Disable NIC power saving on the client: in Device Manager > NIC > Properties > Power Management, uncheck 'Allow the computer to turn off this device to save power'. Reproduce and retest.
Diagnostic step 3
Create a Task Scheduler task triggered on 'On workstation unlock' or 'On an event' for resume that runs a small reconnect script (net use Z: /delete & net use Z: \fileserver\teamshare /persistent:yes) as a temporary safe workaround.

Continue troubleshooting

Matched from the title, description and tags