Jump to content

Run compiled script at startup/before logon


Recommended Posts

My autoIt script connects and authenticates a vpn client. I'd like it to run on startup, but not when a user logs into the machine. I have tried adding a regwrite in the script for it to run at start. This works, but it also runs when a user logs in. There is the same effect when putting the executable in the startup folder. I've tried creating a service for it with sc.exe. It runs into a timeout error when trying to start and crashes the OS.

Any ideas?

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