New
#1
Shutdown command hibernate with timer not working
This question already has answers here:
Hibernate computer with a timeout from command line on Windows 7 (12 answers)
how can I use the shutdown command to hibernate the computer in X hours? [duplicate] (3 answers)
Your post has been associated with similar questions. If these questions don’t resolve your question, ask a new one.
Closed 1 min ago.
(Private feedback for you)
I'm trying to hibernate my PC after a number of seconds (as I can't see a command to sleep, which would be best).
These work:
shutdown /h
shutdown /s /t 5
However, this one doesn't:
shutdown /h /t 5
Which should hibernate after 5 seconds, all I get is:
C:\WINDOWS\system32>shutdown /h /t 5
Usage: shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f]
[/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]
No args Display help. This is the same as typing /?.
/? Display help. This is the same as not typing any options.
/i Display the graphical user interface (GUI).
This must be the first option.
/l Log off. This cannot be used with /m or /d options.
...and so on
Any help much appreciated
Note: Paul Black gave me a fantastic script to sleep my PC, I'd just like to know why shutdown /s /t 5 is not working.
Paul gave his neat script here:
Any command to sleep PC after x seconds?