Windows 11 Won’t Sleep? Find What Keeps It Awake or Wakes It Up

Three powercfg commands show what blocks sleep, what wakes your PC and which sleep it supports, plus fixes for laptops that sleep, lock or hibernate too soon.

Toprak Kaan Genç Category: Computers 10 min read
Windows 11 Won’t Sleep? Find What Keeps It Awake or Wakes It Up

When Windows 11 won’t sleep, something is holding it awake, something keeps waking it, or the sleep mode you expect doesn’t exist on your hardware. Three built-in commands tell you which: powercfg /a, powercfg /requests and powercfg /lastwake. First confirm neither timeout is set to Never, then run them.

The same checks help with the opposite problem, a laptop that sleeps or locks too soon. Menu names below are from 24H2 and 25H2; older builds say Screen and sleep.

What happensRun firstGo to
Never sleeps, or the screen stays onTimeouts not Never, then powercfg /requestsWon’t sleep
Wakes or turns on by itselfpowercfg /lastwakeWon’t stay asleep
Sleeps, locks or hibernates too soonTimeout settingsToo soon
Hibernate missingpowercfg /aHibernate

Step 1: Run powercfg /a to See Which Sleep Your PC Uses

When Windows 11 won’t sleep, start here: right-click Start, open Terminal and run powercfg /a (no admin needed). It lists the sleep states your PC supports and why the others are unavailable, per Microsoft’s powercfg reference.

A Modern Standby laptop lists Standby (S0 Low Power Idle) and says S3 is “disabled when S0 low power idle is supported”. A classic PC lists Standby (S3).

Modern Standby (S0)

The PC idles at very low power, like a phone, and can run maintenance when plugged in. A fan spinning up now and then doesn’t always mean Windows 11 won’t sleep.

Classic sleep (S3)

Your session stays in memory while most hardware powers down. Hybrid sleep exists only on these PCs.

Hibernate

Windows saves your session to hiberfil.sys (by default about 40% of your RAM’s size) and powers off. Modern Standby laptops can have it too.

Skip registry hacks that force S3

Search “Windows 11 won’t sleep” and you’ll find registry edits that force S3 back on a Modern Standby laptop. Skip them: Microsoft says switching between S3 and Modern Standby can’t be done in the BIOS and needs a complete reinstall of Windows.

Step 2: powercfg /requests Shows Why Windows 11 Won’t Sleep

In Terminal (Admin), from the same right-click menu, run powercfg /requests. It lists each app [PROCESS], service [SERVICE] or driver [DRIVER] keeping the screen on or blocking sleep:

  • DISPLAY keeps the screen on, typically for video.
  • SYSTEM blocks idle sleep. If Windows 11 won’t sleep but the screen goes dark, look here.
  • EXECUTION keeps an app running. On Modern Standby, requests can delay sleep up to 5 minutes on battery and indefinitely on AC power.

Common reasons Windows 11 won’t sleep include a browser playing video, an audio driver reporting “An audio stream is currently in use”, a game launcher, or a file share another PC has open.

Windows 11 won’t sleep automatically but sleeps from Start?

Then a power request is the likely cause. Sleeping from Start > Power, the power button or the lid ends power requests on both S3 and Modern Standby PCs (S3 Away Mode requests aside); only the idle timer is blocked by them.

Ignore one stubborn app

If one app is why Windows 11 won’t sleep but you need it open, override its request. Microsoft’s example:
powercfg /requestsoverride process wmplayer.exe display system
For a process, use only its .exe name, not the full path. For a driver, use the device name before the parentheses, in double quotes.

Only DISPLAY, SYSTEM and AWAYMODE can be overridden. To remove an override, rerun the command without the request types; powercfg /requestsoverride alone lists yours.

Checking power requests in an admin terminal when Windows 11 won't sleep

Step 3: Windows 11 Won’t Sleep for Long? Find What Woke It

Right after an unexpected wake, run these in the admin terminal:

  • powercfg /lastwake shows what woke the PC from its last sleep.
  • powercfg /waketimers lists timers that can wake it; its Reason line names the task or service that set each timer.
  • powercfg /devicequery wake_armed lists the devices allowed to wake it.

For several nights of history, filter Event Viewer > Windows Logs > System by source Power-Troubleshooter (Event ID 1); each entry names a Wake Source.

On Modern Standby, /lastwake can report a wake history count of 0, so run powercfg /sleepstudy. Its report covers 3 days (up to 28 with /duration) with each standby session’s drain and exit reason; open it from the path the command prints.

Fix: Windows 11 Won’t Sleep or Won’t Turn Off the Display

1

Check the timeouts

Open Settings > System > Power & battery (Power on some desktops) > Screen, sleep, & hibernate timeouts, or Win + R, ms-settings:powersleep. Set Turn my screen off after and Make my device sleep after for battery and plugged in. A timeout set to Never is the simplest reason Windows 11 won’t sleep.

2

Clear the requests

Close or override what /requests listed. If it’s empty and Windows 11 won’t sleep on the timer, suspect input.

3

Unplug extras

Test with only a keyboard and mouse, then re-add controllers, webcams and hubs. A jittery mouse can be why Windows 11 won’t sleep: every twitch resets the idle timer.

4

Restore the plan

Control Panel > Power Options > Change plan settings > Restore default settings for this plan.

5

Clean boot, update

Do a clean boot (steps below), then update Windows, the chipset, graphics and network drivers, and the BIOS.

For a clean boot, run msconfig, tick Services > Hide all Microsoft services, click Disable all, disable everything in Task Manager > Startup apps and restart. Before a BIOS update, keep a laptop plugged in and, if BitLocker is on, save your recovery key.

Laptop stays awake with the lid closed?

If Windows 11 won’t sleep when you shut the lid, open Control Panel > Power Options > Choose what closing the lid does. Set When I close the lid to Sleep in both columns, and the power button too. Using it closed with an external monitor? Leave Plugged in on Do nothing.

Hybrid sleep and Fast Startup

Toggling these rarely helps when Windows 11 won’t sleep. Hybrid sleep exists only on S3 PCs, and Fast Startup is a kind of shutdown, so turning it off doesn’t change how the PC sleeps.

If Windows 11 won’t sleep after all this, the last resort is Settings > System > Recovery > Reset PC with Keep my files, which removes installed apps. Back up first, and see our fixes for a reset that fails.

Fix: Windows 11 Won’t Stay Asleep or Turns On by Itself

If Windows 11 won’t sleep through the night, match the fix to what Step 3 found:

  • Wake timers. Open Control Panel > Power Options > Change plan settings > Change advanced power settings > Sleep > Allow wake timers. For a third-party task, Important Wake Timers Only is enough. For UpdateOrchestrator or another Windows Update task, choose Disable and schedule pending restarts in Settings > Windows Update; on Modern Standby, brief update scans with the screen off are normal.
  • Automatic Maintenance. In Control Panel > System and Security > Security and Maintenance, expand Maintenance, click Change maintenance settings and clear Allow scheduled maintenance to wake up my computer at the scheduled time.
  • Mouse or keyboard. Right-click Start > Device Manager, open the device under Mice and other pointing devices or Keyboards, and on Power Management clear Allow this device to wake the computer. Or use the exact name /devicequery printed:
    powercfg /devicedisablewake "HID-compliant mouse"
    /deviceenablewake undoes it.
Don’t untick wake on the network adapter

Clearing Allow this device to wake the computer on the network adapter disables Wake-on-LAN from sleep and hibernate. Leave it on and tick Only allow a magic packet to wake the computer on the adapter’s Power Management tab, if your adapter offers it, so ordinary network traffic can’t wake the PC.

Desktop PC that woke up by itself at night, with a network cable and mouse that can wake it

Starts from a full shutdown, not sleep? See the firmware settings in our guide to a PC that turns itself back on.

Fix: Laptop Goes to Sleep, Locks or Hibernates Too Soon

Microsoft has shortened the default timeouts, per its Windows 11 power settings page. If you never changed yours, these explain a laptop that sleeps so fast:

PC typeBattery: screen / sleepPlugged in: screen / sleep
Modern Standby3 / 3 min5 / 5 min
Classic S33 / 10 min5 / 15 min

Raise them using step 1 of the fix above.

Screen turns off a minute after locking

By design, the monitor turns off after 60 seconds on the lock screen. To change this VIDEOCONLOCK value (in seconds), run as admin:
powercfg /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 300
powercfg /setactive SCHEME_CURRENT
Use /setdcvalueindex for battery.

How to fix a laptop locking itself

Usually the screen turned off and Windows asked for a sign-in on wake. Change If you’ve been away, when should Windows require you to sign in again? in Settings > Accounts > Sign-in options, and check Dynamic lock there, which locks an idle PC when your paired phone’s Bluetooth signal drops.

Also clear On resume, display logon screen in the screen saver settings. With a presence sensor, turn off Automatically turn off my screen when I leave on the Power & battery page. On a work or school PC, a policy may force the lock.

Why is my laptop hibernating?

Check the hibernate timeout first: Screen, sleep, & hibernate timeouts if your PC shows one, or Sleep > Hibernate after in advanced power settings. On battery, a Modern Standby laptop can also hibernate once standby drain passes a budget (5% per 12 hours by default; PC makers can change it) or too little charge is left for about 20 minutes of screen-on use. Also check Battery > Critical battery action.

Fix: Windows 11 Won’t Hibernate or Hibernate Is Missing

If powercfg /a doesn’t list Hibernate, run powercfg /hibernate on as admin. If it’s on but still unavailable, the hiberfile may be the reduced type, which only supports Fast Startup:
powercfg /hibernate /type full
That grows hiberfil.sys to 40% of RAM by default; Microsoft doesn’t recommend it on devices with under 32 GB of storage.

To show it in Start > Power:

  1. Open Control Panel > System and Security > Power Options > Choose what the power buttons do.
  2. Click Change settings that are currently unavailable.
  3. Under Shutdown settings, tick Hibernate and click Save changes.
Don’t delete hiberfil.sys

Hibernate, hybrid sleep and Fast Startup, the default way Windows shuts down, all use it. If you use none of them, run powercfg /hibernate off as admin instead; it turns all three off and removes the file cleanly. Microsoft doesn’t recommend disabling Fast Startup, though.

Frequently Asked Questions

Why is my PC not going to sleep when /requests is empty?

Check that neither timeout is Never and unplug extras, since any input resets the idle timer. If Windows 11 won’t sleep after that, try a clean boot.

Can I switch my laptop from Modern Standby back to S3?

Not as a setting. Microsoft says it can’t be done in the BIOS and needs a full Windows reinstall, and even then only if your firmware offers S3, which most current laptops don’t.

Why is my PC turning on by itself at night?

Usually a maintenance or update wake timer, or an armed network adapter or mouse; powercfg /waketimers and /lastwake show which.

Recap: Three Commands, Then One Fix

When Windows 11 won’t sleep, let powercfg explain why: /a for your sleep type, /requests for what holds it awake, and /lastwake or SleepStudy for what wakes it. Fix only that, and leave Wake-on-LAN and hiberfil.sys alone unless you have a reason.

More Windows fixes are in our computer guides.

Leave a comment

Your email address will not be published.