💻 Software
Sleeping a computer via batch file in Windows 7
Fresh5 days ago
Mar 15, 202663870 viewsConfidence Score0%
0%
Problem
I want to make a batch file that will sleep my computer after a period of time. The closest thing I have found is placing it in standby, but seems to work differently than the sleep button on my keyboard (longer bootup, doesn't wake on mouse click). Any ideas? Would it be easier in Python or C#? Th…
Error Output
Rundll32.exe powrprof.dll,SetSuspendState
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Sleeping a computer via batch file in Windows 7
Low Risk
Simply command Does system hibernate, but if you write this: And turn off hibernation with command: Now your system will go asleep, and will wake up on mouse move if selected a device for it (scroll down to learn how). Batch a timer: Where 1200 is s…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix