Abolfazl74
Abolfazl74

Reputation: 129

Windows Force shutdown command not work

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

Answers (3)

Armin Mokri
Armin Mokri

Reputation: 1

Try running the following command:

shutdown –s -f –t 0

Upvotes: 0

Shakiba Moshiri
Shakiba Moshiri

Reputation: 23774

When I am in my Window this command works perfectly:
shutdown /f /p

/p for shutdown
/f for forcing

Upvotes: 0

user5404864
user5404864

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

Related Questions