stopping windows closing down

  panhandle 14:01 24 Mar 08
Locked

Once I have clicked Start/Turn Off Computer/Turn Off and Windows starts to close, is there anyway of restarting without having to wait for it to close & reboot?

I often switch off and then realise [being over 60] I forgot something!

  pchelper001 14:05 24 Mar 08

not that i know of sorry...i have the same problem!

  brundle 14:23 24 Mar 08

create a text file in notepad containing the following command

%windir%\system32\shutdown.exe -s -t 60

Now save it as

shutdown.bat

- not as a text file. Put it in your documents folder. Create a desktop shortcut to the file. Use the shortcut to shutdown the machine, you will have 60 seconds to cancel the shutdown. Change the number to your preference.

  brundle 14:26 24 Mar 08

Oops..not quite...

Create a second file called

%windir%\system32\shutdown.exe -a

save it as

cancel_shutdown.bat

Create a shortcut to that one too, use /that/ to quit the shutdown procedure after clicking the first one.

  brundle 14:27 24 Mar 08

correction;

Create a second file containing this command - (not called this)

%windir%\system32\shutdown.exe -a

  panhandle 14:40 24 Mar 08

That works for me!!

This thread is now locked and can not be replied to.

Sony Xperia XZ Premium review: Hands-on with the new 4K HDR phone with Motion Eye camera and Snapdr5…

1995-2015: How technology has changed the world in 20 years

Best laptop for design and art 2017: we test Apple, Dell, HP, Lenovo and Microsoft's best models…

CarPlay tips & troubleshooting guide: CarPlay tips & troubleshooting guide: Get the most from…