How to disable sleep mode via CMD?
Fresh3 days ago
Mar 15, 2026129311 viewsConfidence Score0%
0%
Problem
With only the command prompt, is it possible to disable sleep mode when closing the lid of a laptop?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to disable sleep mode via CMD?
Low Risk
The command you are looking for is powercfg. Open a command prompt and type This will create a text file (poweroptions.txt) with all the GUIDs for the power settings. Open the poweroptions.txt file and find the GUID for the current power scheme. Thi…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix