Jump to content
Sign in to follow this  
Zachlr

How to execute a program on Windows Standby

Recommended Posts

Zachlr

Hi,

I'm looking for a way to log off the user before/when the computer is put into standby mode. I want the computer to simulate being shutdown by logging off (closing all applications) and going into standby mode. This would be easy if I used a program to put the computer into standby mode as well, but I have set the power button to standby mode, and I want the user to be logged off before it goes into standby mode. I don't care if it uses an AutoIt script or the shutdown -l command, or any other way of doing it. As I said, I'm just trying to simulate a shutdown without actually shutting down.

Thanks,

Zach

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.