Sign in to follow this  
Followers 0
Moonwaltz

no shutdown

4 posts in this topic

I finally have my script working but I would like to add one more thing. when the script is running a certain proccess I would like the user to not be able to reboot or shutdown the machine. one particular proccess I'm calling could have devistating effects if the users shut down or reboot before it is complete.

Any hint's suggestions or starting points would be wounderful.

Share this post


Link to post
Share on other sites



You could always use BlockInput. This would work as long as the user does not use CTRL-ALT-DEL



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

blockinput won't work because they have to continue to be able to work till the script prompts them to reboot.

Sorry I should have included that in the original post.

Edited by Moonwaltz

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  
Followers 0