DebloatWindows11 .com
PowerShell Utility
Native powercfg + Official Microsoft PowerToys Awake

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.

PowerShell (Administrator)
0% Kernel Mods · 100% Safe
PS C:\> & ([scriptblock]::Create((irm "https://debloatwindows11.com/customize.ps1"))) -PreventSleepAC -InstallPowerToys
Press Win + X ➔ Open Terminal (Admin) ➔ Paste & Hit Enter. Full suite: irm debloatwindows11.com/d | iex

Keep Windows 11 Awake Without Sleeping or Locking (1-Click Setup) — Step-by-Step

01
1. Open Terminal as Administrator

Right-click the Start button or press Win + X, then select 'Terminal (Admin)' or 'PowerShell (Admin)'.

02
2. Paste & Run 1-Click Command

Paste the command into the PowerShell window and press Enter. The script applies official registry policies safely.

03
3. Immediate Effect

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)

AC Standby Timeout = 0 (Never Sleep on Plugged Power) + 1-Click Tray Keep-Awake Toggle
100% Reversible Anytime: Changed your mind? An automatic System Restore Point is created. Plus, you can restore all modern defaults at any time:
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 →
Copied to Clipboard
⌄ SPONSORED