WiFi Disconnects When Laptop Is Locked on Windows 11/10 [Fixed]

Your laptop locks and the WiFi drops instantly. Downloads fail, VPN tunnels collapse, and Remote Desktop sessions cut off. The root cause is not a network fault. Windows shuts down the WiFi adapter during idle states to conserve power, and it treats a locked screen as a signal to start cutting power to devices.

WiFi Disconnects When Laptop Is Locked on Windows 11/10

This guide walks through every fix to stop Windows from killing your WiFi connection when the laptop locks.

Why WiFi Drops When You Lock Your Laptop

When you lock the screen, Windows enters a low-power idle state. The system cuts power to the network adapter to save battery. Laptops running Modern Standby (S0 Low Power Idle) experience this more severely because Windows treats a locked screen nearly the same as full sleep.

The result is a dropped WiFi connection even though you never put the laptop to sleep.

Fix 1: Disable Power Management on the WiFi Adapter

This fix resolves the issue for most users. Windows has a setting that lets it shut off the network adapter to save power. Turning it off keeps the adapter running while the laptop is locked.

  1. Press Win + X and click Device Manager.
  2. Expand Network Adapters.
  3. Right-click your WiFi adapter (Intel Wireless, Realtek, Qualcomm, or Broadcom).
  4. Click Properties.
  5. Go to the Power Management tab.
  6. Uncheck Allow the computer to turn off this device to save power.
  7. Click OK.

Restart the laptop, lock it, and check whether the WiFi stays connected.

Note: If the Power Management tab is not visible in your adapter Properties, skip to Fix 2.

Fix 2: Set Wireless Adapter to Maximum Performance in Power Options

Windows has a separate WiFi power setting inside Power Options that controls the adapter independently of Device Manager.

  1. Press Win + R, type powercfg.cpl, and press Enter.
  2. Click Change plan settings next to your active power plan.
  3. Click Change advanced power settings.
  4. Expand Wireless Adapter Settings.
  5. Expand Power Saving Mode.
  6. Set both On battery and Plugged in to Maximum Performance.
  7. Click Apply and then OK.

Note: If the Wireless Adapter Settings branch is not visible, your system uses Modern Standby and this setting does not apply. Skip to Fix 3.

Fix 3: Disable Roaming Aggressiveness

Roaming Aggressiveness controls how quickly the WiFi adapter scans for and switches to a stronger access point. On single-router home networks, this setting can trigger unnecessary disconnects when the laptop locks.

  1. Open Device Manager.
  2. Expand Network Adapters.
  3. Right-click your WiFi adapter and select Properties.
  4. Go to the Advanced tab.
  5. Select Roaming Aggressiveness from the property list.
  6. Set the value to Disabled or Lowest.
  7. Click OK.

Fix 4: Change Advanced Adapter Settings in Device Manager

Some WiFi adapters include additional power and wake controls under the Advanced tab. Check your adapter and adjust any of the following settings if they appear:

  1. Open Device Manager and locate your WiFi adapter.
  2. Right-click it and choose Properties.
  3. Click the Advanced tab.
  4. Adjust any of these settings if available:
SettingRecommended Value
Wake on Magic PacketEnabled
Wake on Pattern MatchEnabled
  1. Click OK.

Fix 5: Adjust Sleep Settings to Separate Screen Timeout from System Sleep

WiFi stays active as long as the system is running. The problem starts when Windows enters sleep immediately after the screen turns off. Separating the screen timeout from the sleep timer prevents this.

  1. Press Win + I to open Settings.
  2. Go to System > Power & Sleep (Windows 10) or System > Power (Windows 11).
  3. Under Sleep, set the sleep interval to a longer time than the screen timeout.
  4. For plugged-in use, set sleep to Never to keep the WiFi active indefinitely.

Fix 6: Change the Link State Power Management Setting

Link State Power Management is a power-saving feature for PCIe devices on Windows. Changing it to a moderate setting reduces the chance of the adapter dropping during idle states.

  1. Open Control Panel and type power in the search box.
  2. Click Power Options from the search results.
  3. Click Change plan settings, then click Change advanced power settings.
  4. Expand PCI Express, then expand Link State Power Management.
  5. Set both On battery and Plugged in to Moderate power savings.
  6. Click Apply and then OK.

Fix 7: Disable Modern Standby (S0 Low Power Idle)

Modern Standby keeps the CPU in a very low-power state instead of traditional sleep. It was designed to mirror smartphone behavior, but it causes WiFi instability on many Windows laptops because Windows treats the locked state and the sleeping state almost identically.

First, check whether your laptop uses Modern Standby:

  1. Open Command Prompt as Administrator.
  2. Run this command:

cmd

powercfg /a

If the output lists Standby (S0 Low Power Idle) as available, your laptop uses Modern Standby.

To disable it, run this in an elevated Command Prompt:

cmd

reg add HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /t REG_DWORD /d 0 /f

Restart the laptop after running this command. It switches the system back to traditional S3 sleep, which gives the WiFi adapter a clean wake cycle.

To revert the change at any time:

cmd

reg delete HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /f

Note: On some OEM laptops, especially Surface devices, this registry change may not work or may cause other power issues. Test it and revert if problems appear.

Fix 8: Roll Back or Reinstall the WiFi Driver

Windows updates device drivers automatically through Windows Update. A recently pushed driver update can introduce bugs that cause the WiFi adapter to drop on lock. Rolling back the driver restores the previous working version.

Roll back the driver:

  1. Open Device Manager.
  2. Expand Network Adapters.
  3. Right-click your WiFi adapter and select Properties.
  4. Go to the Driver tab and click Roll Back Driver.
  5. Follow the on-screen instructions to install the earlier version.

If the Roll Back Driver option is grayed out, reinstall the driver instead.

Reinstall the driver:

  1. In Device Manager, right-click the WiFi adapter.
  2. Choose Uninstall device.
  3. Check Delete the driver software for this device.
  4. Click Uninstall.
  5. Restart the laptop. Windows reinstalls the driver automatically.

You can also visit your laptop manufacturer’s official support page and download the latest WiFi driver manually. For Intel adapters, use the Intel Driver and Support Assistant to detect and download the correct driver. Run the installer file to apply it.

Fix 9: Disable Fast Startup

Fast Startup partially hibernates Windows on shutdown. This can leave device drivers in an inconsistent state, causing the WiFi adapter to behave incorrectly after lock or wake.

  1. Open Control Panel > Power Options.
  2. Click Choose what the power buttons do on the left sidebar.
  3. Click Change settings that are currently unavailable.
  4. Uncheck Turn on fast startup (recommended).
  5. Click Save changes.

Fix 10: Reset the Network Stack

If WiFi reconnects after unlocking but takes 20 to 30 seconds, a corrupted network stack may be slowing the reconnection. Run these commands in an elevated Command Prompt to reset it:

cmd

netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /flushdns
ipconfig /renew

Restart the laptop after running all five commands.

Fix 11: Check in Clean Boot State

A third-party application or background service can interfere with the network adapter during lock. Clean Boot isolates the issue by starting Windows with only Microsoft services running.

  1. Press Win + R, type msconfig, and press Enter.
  2. Go to the Services tab.
  3. Check Hide all Microsoft services.
  4. Click Disable all.
  5. Go to the Startup tab and click Open Task Manager.
  6. Disable all startup items.
  7. Close Task Manager, click OK, and restart.

Lock the laptop in Clean Boot state and check whether WiFi stays connected. If it does, a third-party service is causing the problem. Re-enable the disabled services one group at a time, restarting after each batch, until the issue returns. Once you identify the problematic service, uninstall its corresponding application.

Warning: Do not disable Microsoft services during Clean Boot. Disabling them can make the system unstable.

Fix 12: Run the Network and Internet Troubleshooter

Windows includes a built-in troubleshooter that detects and fixes common network adapter issues automatically.

  1. Press Win + I and go to System > Troubleshoot > Other troubleshooters.
  2. Run Internet Connections and Network Adapter troubleshooters.
  3. Apply any fixes Windows suggests.

Fix 13: Reset Network Settings

If nothing else resolves the issue, a full network reset clears all adapter configurations and restores defaults. Windows takes about five minutes to complete this process and then reboots automatically. Save all open work before you start.

  1. Press Win + I and go to System > Advanced network settings.
  2. Scroll down and click Network reset.
  3. Click Reset now and confirm.

Related Guides

Lock your laptop without losing your WiFi connection. The fixes in this guide target the real cause: Windows cutting power to the network adapter during idle states. Start with Fix 1 and Fix 2, as they resolve the issue for most users. Work through the remaining fixes if the problem persists.

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply