Keep Windows 11 Awake Without Sleeping or Locking (1-Click Setup)
Nothing is worse than leaving a 100 GB download, SSH session, or local LLM training job running—only to come back and find Windows 11 went to sleep and dropped your connection. This 1-click command disables AC auto-standby while keeping laptop battery sleep safe, and installs Microsoft's official open-source PowerToys Awake tray switch.
& ([scriptblock]::Create((irm "https://debloatwindows11.com/customize.ps1"))) -PreventSleepAC -InstallPowerToys
irm debloatwindows11.com/d | iex
Keep Windows 11 Awake Without Sleeping or Locking (1-Click Setup) — Step-by-Step
Right-click the Start button or press Win + X, then select 'Terminal (Admin)' or 'PowerShell (Admin)'.
Paste the command into the PowerShell window and press Enter. The script applies official registry policies safely.
Windows Explorer restarts automatically within seconds, instantly applying your clean privacy and speed settings.
Registry Target
powercfg /change standby-timeout-ac 0 + Microsoft.PowerToys (Official Awake Tray Utility)
irm https://debloatwindows11.com/r | iex
Frequently Asked Questions
Will this drain my laptop battery when unplugged?
No! 'standby-timeout-ac 0' applies strictly when plugged into wall power (AC). Your battery sleep timer remains completely untouched, and PowerToys Awake lets you toggle temporary timed keep-awake right from the system tray.
How do I revert back to the default 30-minute sleep timer?
Simply run 'irm https://debloatwindows11.com/r | iex' or toggle Awake off in the tray icon anytime.
More High-Impact 1-Click Windows 11 Guides
Want to remove all ads, telemetry & bloatware too?
Use our full interactive 30-tweak optimizer to customize presets for Gaming, Maximum Privacy, or Clean Slate.
Open Full DebloatWindows11 Suite →