looking for a way to force shutdown and restart of pc. Does anyon know how to do this for win 10?
thx
Hold DOWN Power switch for about 8 seconds or until the computer shuts down.
Then hit the Power switch to turn it back on.
sorry, meant to say via batch job as I am getting the following msg "you're about to be logged out. Windows will shutdown in less than a minute". I want to to shutdown with no wait and right away. shutdown.exe -r -f doest work.
The way I do it which is quick
Right click start
Scroll to Shut down and sign out
Then click >
Then Shut down
Mine take about 60-90 seconds
Don't think you will get it any quicker
Unless you do as other Poster has put
thx but there has to be away to do quickly via batch job. I hope someone knows.
May I ask why you need to brute force an instant shutdown/restart?
shutdown /r /t 0
I AM SICK OF SEEING "YOU'RE ABOUT TO BE LOGGED OUT. WINDOWS WILL SHUTDOWN IN LESS THAN A MINUTE". tHE COMMANDS SO FAR MENTIONED WILL NOT WORK. ANY OTHER IDEAS GUYS?
@f1, don't u mean u have a tri-boot? lol
The command I posted goes immediatelyto a plain blue screen with the word "Restarting" and initiates a restart on both my laptop (local) and my desktop when I am remotely connected to it. Substitute /s for the /r and it does an immediate shutdown. Don't know why it isn't working for you. I'll put it in a batch file and see if that makes a difference.
OK... so in a BAT file it is:
shutdown.exe /r /t 00