Jump to content
Sign in to follow this  
ryan461

Run compiled script at startup/before logon

Recommended Posts

ryan461

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?

Share this post


Link to post
Share on other sites
ryan461

Edit: the registry entry and startup folder don't have a vpn before logon setup. Must of mistaken that for something else before.

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.