Jump to content

Running AutoIT EXEs with Locked screens - FAQ


Recommended Posts

I just finished reading the FAQ regarding:

Why doesn't my script work on a locked workstation?
 

One thing that I didn't see mentioned was to run the AUTOIT on a separate machine (either real or virtual) and RDP into the second machine.

One can achieve security in such a setup by locking the local machine while AUTOIT continues to run on the remote machine.

The remote machine doesn't seem to lock if AUTOIT is doing sends and mouse moves.

Phil

Link to comment
Share on other sites

It is possible for AutoIt scripts to run on a locked PC. However any script that relies on a window having focus will fail as whilst a PC is locked no window can be the active window. If you can write your script to use functions such as ControlClick(), ControlSetText(), ControlSend() etc. Then you should be able to get it to work.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

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...