Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Windows 11 USB Sleep Settings: Keep Ports Powered

· 5 min read · Home Tech

In this article
  1. How to change USB selective suspend in Windows 11
  2. Why Windows 11 suspends USB ports at all
  3. A worked example: the disappearing external drive
  4. Where USB sleep settings go wrong
  5. What to check if the setting is missing

Windows 11 turns USB ports down during sleep through a feature called USB selective suspend, and you switch it off in Power Options > Change advanced power settings > USB settings. Turning it off keeps power flowing to USB ports so devices like external drives, keyboards and chargers keep working while the PC sleeps.

Time 10 min · Steps 7 · Level Easy

How to change USB selective suspend in Windows 11

  1. Open Power Options. Press Start, type "power options" and choose Control Panel > Power Options. On some systems you reach it through Settings > System > Power, then the related power settings link.
  2. Open the advanced settings. Next to your active power plan, click Change plan settings, then Change advanced power settings. A dialog with a scrolling list of power categories opens.
  3. Find USB settings. Expand USB settings, then USB selective suspend. Labels can differ slightly by version, but the setting sits under the USB branch of this list.
  4. Set it to Disabled. Set both "On battery" and "Plugged in" to Disabled, then click Apply and OK. Disabled means Windows will not cut power to idle USB ports to save energy.
  5. Check each USB device in Device Manager. Right-click Start, open Device Manager, expand Universal Serial Bus controllers, right-click each USB Root Hub and choose Properties.
  6. Clear the power-saving checkbox. On the Power Management tab, untick "Allow the computer to turn off this device to save power", then click OK. Repeat for every root hub, and for the device itself under its own category (for example Disk drives for an external hard drive).
  7. Restart and test. Restart the PC, put it to sleep, wake it, and confirm the device did not disconnect. If a drive still drops, reconnect it and check the same Power Management tab on its own entry in Device Manager.

Why Windows 11 suspends USB ports at all

USB selective suspend is an energy-saving feature. When Windows notices a USB device has been idle, it can put that device into a low-power state so the whole system draws less power. On a laptop running on battery, that can add meaningful running time; on a desktop plugged into the wall, it saves very little and mostly causes annoyance.

The catch is that some devices do not wake up cleanly. External hard drives, audio interfaces, docking stations and some keyboards either disconnect entirely or come back glitchy after the port suspends. That is usually why a drive vanishes from File Explorer or a USB headset crackles after the PC wakes. Disabling selective suspend tells Windows to keep the ports powered even when the devices attached to them sit idle.

A worked example: the disappearing external drive

Say a laptop goes to sleep after 10 minutes of inactivity, and a USB external drive drops off every time it wakes up. Here is what happens with the numbers. The screen-off timeout is set to 5 minutes and the sleep timeout to 10 minutes. At the 10-minute mark Windows enters sleep and selective suspend cuts power to the drive. On wake, the drive remounts as a new device, so any open file in a video editor or backup program loses its connection mid-task.

After disabling USB selective suspend for both "On battery" and "Plugged in", and clearing the power-management checkbox on the drive's entry under Disk drives in Device Manager, the drive stays mounted through sleep. The sleep timers stay exactly where they were, 5 minutes to screen off and 10 minutes to sleep, because those are controlled separately under Change plan settings. Only the USB power behaviour changed.

Where USB sleep settings go wrong

The most common slip is changing the setting for the wrong power plan. Windows applies the settings of the active plan only, so if you edit a plan that is not selected, nothing changes. Check which plan has the radio button filled in on the Power Options page before editing.

The second is missing the Device Manager half of the job. Selective suspend and the per-device "turn off this device to save power" checkbox are two separate switches, and a device can still power down even with selective suspend disabled if its own checkbox stays ticked. Both need to be off for a stubborn device.

A third trap: laptops with Modern Standby behave differently from older S3 sleep systems. On Modern Standby machines the PC stays partially networked and can still manage USB power in its own way, so a device may disconnect even with every setting disabled. In that case the practical fix is often to use a powered USB hub, which keeps its ports live from its own power adapter regardless of what the laptop does.

Does disabling USB selective suspend drain a laptop battery?

Yes, slightly. Keeping USB ports powered draws extra power during sleep, so expect somewhat shorter sleep time on battery. On a desktop there is effectively nothing to lose. A reasonable middle ground: leave selective suspend enabled on battery and disable it only for "Plugged in", which covers the desk scenario where the drive problem usually bites.

Can you stop a laptop charging a phone while asleep?

Some laptops keep certain USB ports powered during sleep for charging even with selective suspend enabled, and that behaviour is controlled by a BIOS or firmware option rather than Windows. Restart, enter the BIOS setup screen and look for a USB power or charging option there; the exact name varies by manufacturer, and not every laptop offers it.

What to check if the setting is missing

On some systems the USB settings branch does not appear in the advanced power settings list, usually because the active power plan is a manufacturer's custom plan or the system uses Modern Standby. Try switching to the Balanced plan first and reopening the dialog. If the branch still is not there, the Device Manager checkboxes alone will often do the job, since they act per device rather than per plan. And if a hub or dock keeps dropping devices no matter what, a powered hub is the reliable way out, because it stops depending on the PC's sleep behaviour entirely.

Official source: Microsoft Support