how can I use the shutdown command to hibernate the computer in X hours?
Problem
I'd like to hibernate my windows 7 pc in 10 hours after a download is finished. When I execute this: All I get is the shutdown help text. Doesn't matter if I'm in admin or normal for the cmd prompt. Is there something I'm missing? I've tried only with the same results. Same with instead of . So either a) it isn't working or b) it has a funny way of telling me about it. Do the power management settings interfere with this command? Update: The switch shuts the computer down (not hibernate). is a valid switch. Here's a screenshot of my command:
Error Output
shutdown -h -t 36000
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: how can I use the shutdown command to hibernate the computer in X hours?
The switch is used to shut down the computer on Linux, not Windows. The correct command to shut down a Windows computer after 7 hours is: Windows will show a dialog box with a countdown until the time the computer will shut down. But, you want to hibernate, not shutdown, and unfortunately, the and the switch don't work together. As a workaround, you can use the command to schedule to run at a certain time. For example, it is 3:00pm in my time zone at present, so 10 hours later would be 1:00am. …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix