Hereās how you can turn off sleep and standby modes using the PowerCfg command on Windows 11:
Steps:
1. Open Command Prompt (Run as Administrator)
Press Win + S and search for “cmd”.
Right-click on “Command Prompt” and select Run as administrator.
2. Disable Sleep Mode
Run the following commands to disable sleep mode:
powercfg -change -standby-timeout-ac 0 powercfg -change -standby-timeout-dc 0
-standby-timeout-ac: Disables sleep mode when plugged into AC power.
-standby-timeout-dc: Disables sleep mode when on battery power.
0: Sets the timeout to 0, effectively disabling sleep mode.
3. Disable Hibernate (Standby) Mode
Run the following command to turn off hibernation:
powercfg -hibernate off
Restore Settings (Optional)
To re-enable sleep or standby modes, use these commands:
To enable sleep mode (e.g., set to 30 minutes):
powercfg -change -standby-timeout-ac 30 powercfg -change -standby-timeout-dc 30
To enable hibernation:
powercfg -hibernate on
Verify the Settings
Run this command to view the current power plan settings:
powercfg /query
Check if the changes have been applied successfully.
With these steps, you can manage sleep and standby modes on your Windows 11 system easily.