Jump to content
Sign in to follow this  
mahaju

Detecting if a shutdown has been issued

Recommended Posts

mahaju

Is it possible to detect if the shutdown command has been issued, then cancel it using Autoit (or anything else for that matter) ?

Alternatively, is it possible to tweak the registry to make windows display a shutdown timer whenever the shutdown command gets issued, so that we get some to get it disabled?

Share this post


Link to post
Share on other sites
JLogan3o13

This question has been asked a couple of times in the past. You'll pick up a number of posts on the topic if you search shutdown. One that comes immediately to mind has an example from Jos - it deals with going into hibernate, but I believe the principle is the same.

Regarding changing the shutdown behavior, the only way I know to do so is to script the bahavior you want. You can then place the shortcut for your script on the start menu, so users click on that to shut down rather than the normal shut down button.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×