shutdown.exe parameters


Recommended Posts

I'm trying to run an automatic shutdown that will hibernate the system after counting down to 2 minutes. shutdown.exe in Vista supprts /h !

I tried this:

shutdown /h /t 120

and got the list of switches from an invalid parameter.

I tried various combinations such as shutdown /t 120 /h and got the same thing

shutdown /h works the syetm hibernates instantly

shutdown /r /t 120 works -a prompt appears that counts down to 0 from 2:00 and then the system restarts

Nothing indicates that these switches are incompatible.

Why isn't this working?

Link to comment
https://www.neowin.net/forum/topic/575066-shutdownexe-parameters/
Share on other sites

  Angel Blue01 said:
I'm trying to run an automatic shutdown that will hibernate the system after counting down to 2 minutes. shutdown.exe in Vista supprts /h !

I tried this:

shutdown /h /t 120

and got the list of switches from an invalid parameter.

I tried various combinations such as shutdown /t 120 /h and got the same thing

shutdown /h works the syetm hibernates instantly

shutdown /r /t 120 works -a prompt appears that counts down to 0 from 2:00 and then the system restarts

Nothing indicates that these switches are incompatible.

Why isn't this working?

I believe /t can only be used on a shutdown or restart, not a hibernate/standby

Get this program http://www.winutility.com/qsd/ and then maybe use it with a scheduled task, or .bat file with a delay command of sorts... switches for it are on that page.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.