Reputation: 129
i use this command for shutdown :
shutdown.exe -s -t 00
and this command work successfully
but force shudown does not work :
shutdown.exe –s –f –t 00
also i'm using windows 10 ..
what's the problem?
(i use this commands in my java application)
Upvotes: 0
Views: 1979
Reputation: 23774
When I am in my Window this command works perfectly:
shutdown /f /p
/p for shutdown
/f for forcing
Upvotes: 0
Reputation:
Try running the following command:
shutdown –s –f –t 00
where 00
is the waiting time (in seconds) before your computer forces shutdown. The allowed range for the waiting time is 0 - 315360000
seconds (0 seconds - 10 years), with a default of 30
seconds.
Upvotes: 1