Jump to content

How to execute a program on Windows Standby


Zachlr
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...