shutdown.exe parameters not working

  • Thread starter Thread starter Angel Blue01
  • Start date Start date
A

Angel Blue01

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'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?

Have you tried the same thing using a hyphen instead of a forward
slash?
 
It's probably not a valid parameter because the /t switch implies the /f
switch, which forces applications to close. That would put it at
cross-purposes, so to speak, with the hibernation function, which wants to
keep applications as they are.
 
Back
Top