It happens sometime when we want to schedule shutdown or hibernate our Windows OS after a specific time of interval. If you are an advanced user, you must be aware of schedule shutdown option from a command line. But how to schedule hibernate? In this small tips & trick post, I am going to share you the way to do this from command prompt itself. Continue reading to know the trick.
You must be aware of the command “shutdown
” which you can invoke from a command prompt to logoff, shutdown, restart and even hibernate the system.
You can pass “/t xx
” as a command line parameter to the “shutdown
” command to schedule shutdown or restart operation after xx seconds. But what if one wants to hibernate the system after “xx
” seconds? The “shutdown /t xx /h
” will not help you out. To resolve this, there is an alternate way (we already know: everything in this technical world has workarounds) which uses the “ping
” and “shutdown
” commands altogether. Here is the trick for your reference: