87920Views10Replies

Author Options:

How To Stop A Shutdown/Restart in Windows Answered

This is for when you accidentally or on purpose start a shutdown or restart. It will stop it immediately. I used it a couple days ago, having stumbled on it some day on the intertubes, and it saved me from having to restart.

Press the Windows key on your keyboard and R, or open it from the Start menu. Type shutdown -a and click OK/ press enter.

Discussions

The forums are retiring in 2021 and are now closed for new topics and comments.
0
PatrickM31
PatrickM31

5 years ago

Thank You soooooooooooo much! It said "shutdown in 2 minutes" Because I accidentally made a batch file that makes your computer shut down. It worked! My heart was beating so fast until i entered that command in the run thing.

0
LasVegas
LasVegas

13 years ago

Make it a bit easier and put that command in a shortcut on your desktop. You could use a Stop sign! :)

0
Danny
Danny

Reply 13 years ago

How would i do that?

0
LasVegas
LasVegas

Reply 13 years ago

1) Right-click -> New -> Shortcut
2) Location: shutdown -aNext
3) Name: Cancel ShutdownFinish

Unfortunately, it doesn't work too good. It works, but you have to try running it three or four times before it brings up a quit dialog and lets it run.

0
crapflinger
crapflinger

Reply 10 years ago

it would be better to put the shutdown command in a batch file, then change the icon on the batch file if you want.

0
NachoMahma
NachoMahma

Reply 10 years ago

. Why would that be any better? Looks like six of one, half a dozen of the other to me.

0
crapflinger
crapflinger

Reply 10 years ago

based on LasVegas's statement "Unfortunately, it doesn't work too good. It works, but you have to try running it three or four times before it brings up a quit dialog and lets it run." yes, it would work better since it would actually run the first time you double click the batch.

0
NachoMahma
NachoMahma

Reply 10 years ago

. Ah. Thanks for clearing that up.

0
uzziah0
uzziah0

10 years ago

Wow! This works great.

0
ll.13
ll.13

13 years ago

hmm. I found this after playing about with "shutdown in xx seconds" ;-) run>cmd.exe type shutdown and explore your way.