1
0
Is there a command for Windows to try the normal shutdown, and if not success, force shutdown automatically after 1 minute?
I tried:
shutdown -f -s -t 60
But I got a terminal printing infinitely:
C:\Users\Wellington\Desktop>shutdown -f -s -t 60
C:\Users\Wellington\Desktop>shutdown -f -s -t 60
C:\Users\Wellington\Desktop>shutdown -f -s -t 60
And I'm not sure if this will try the normal shutdown first...
Your command looks correct and should work as you intend, except if Windows itself is somehow stuck. Try running the sfc /scannow command. Does Windows shut down correctly when you do it thru the Start menu?
– harrymc – 2014-10-15T06:09:30.3471If you change that command from shutdown (could be a batch file somewhere in your path named shutdown.cmd doing something weird) to shutdown.exe does the problem repro? – Mark Allen – 2014-10-17T18:55:48.387