Jump to content

How to pause script execution until a user has logged in


Recommended Posts

Hello,

I'm currently working on an automation script which executes a set of installers and then performs a reboot.

After rebooting the system, the script starts up (using a runOnce registry key).

Question: Is there a way to pause the script until a user has logged into the system (rather than waiting an arbitrary amount of time)?

The reason I ask is that certain AutoIt functions which I'm using after the reboot are failing, as no user is logged in.

Thank you,

Nelson

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