Windows

Mapped SMB drives disconnect after resume on Windows 11 with corporate VPN active

Environment

Environment

Windows 11 Pro 22H2 laptops joined to AD domain, users connect with corporate VPN client (Pulse Secure v9.1) on wake-from-sleep. Drives mapped via GPO to \fileserver eam using persistent mappings and domain credentials stored in Credential Manager.

Symptoms

Symptoms

After suspend/resume the Explorer shows mapped drives with red X and accessing UNC path reports 'Network path not found' or times out. Pings to file server succeed immediately after resume, but accessing shares fails until user manually runs 'net use x: \fileserver\team' or re-establishes VPN.

Observations

Observations

Event Viewer logs show 'The network provider did not accept control message' around resume. 'net use' lists mappings but attempts to access show error 53/64. Route print after resume shows default route to VPN sometimes missing until user reconnects VPN GUI. Disabling NIC power management did not reliably fix it. Group Policy 'Always wait for the network at computer startup and logon' already enabled.

Already attempted

Already attempted

Disabled NIC power saving, updated NIC drivers, ensured 'Reconnect at sign-in' set in VPN client, remapped drives manually, tested using static route to file server via VPN adapter (worked temporarily), created scheduled task on unlock to remap but not acceptable to central policy.

Question

Question

How can I keep persistent SMB mappings available after resume when the VPN client is active, without requiring the user to manually remap or reconnect the VPN each time?

COMMUNITY RESPONSES

Verified community troubleshooting

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

Quick test: immediately after resume run 'route print' and check if the VPN adapter has a route to the file server. If routes are missing, the VPN client hasn't re-established routes fast enough — ask your VPN admin to enable 'restore routes on resume' or run the VPN as a system service. As a pragmatic local fix, create a Scheduled Task (trigger: On workstation unlock or On resume) that runs a script to test \fileserver\share and runs 'net use x: \fileserver\team /persistent:yes' if inaccessible. Verify by resuming and confirming access without manual intervention. Rollback simply removes the scheduled task. If the VPN client can't keep routes across sleep, escalate to your VPN vendor/IT team for a client-side/resume fix.

Showing 1 of 1 community responses
AI DIAGNOSTICS

Incident analysis

Updated 1mo ago• Trouble ID

Most likely causes

VPN client hasn't restored routes and interface state before user-level SMB traffic starts, so sessions fail though IP traffic (ping) may succeed later 80%
SMB session/credentials timed out during suspend and automatic reconnect isn't triggered; Windows doesn't attempt reauthentication until explicit access or remap 60%
VPN split-tunnel or client-side firewall blocks SMB after resume until a full reconnect; client has race with system resume hooks 50%

Summary

Most likely the VPN client or NetworkManager-equivalent on Windows is changing routing and interface state during resume. Windows shows the mapping exists, but SMB traffic isn't routed or authenticated because the VPN hasn't fully re-established routes or the NSS/credential layer hasn't reattached to the network provider. Other contributors: split-tunnel VPN not restoring routes, race between resume and VPN service initialization, or SMB session tickets expiring across suspend.

Suggested Fixes

Diagnostic step 1
Check routing immediately after resume with 'route print' and 'Get-NetRoute' to confirm routes to file server via VPN adapter exist. If not, inspect VPN client logs for resume-related events.
Diagnostic step 2
Configure the VPN client to restore routes on resume (persistent routes) or enable an option to reconnect automatically as a system service before user logon; consult VPN vendor docs.
Diagnostic step 3
Use a scheduled task triggered on 'On workstation unlock' or 'On resume' to run a short script that checks / remaps drives using 'net use' only if not accessible: (test-path \fileserver\team) || net use x: \\fileserver\team /persistent:yes

Continue troubleshooting

Matched from the title, description and tags