syztemlord Posted December 31, 2010 Share Posted December 31, 2010 Hi, I'd like to start a service shortly after boot, I've tried the delayed start option in the service but I'd like to start it a little quicker than that. Here is my script: sleep (60000) Run ("net start intelliservice") Problem is, the service will not start. I think it's because there is no Admin rights? I can perform the command directly from an elevated command prompt so I know it works. Any ideas on how I can get it to start? Link to comment Share on other sites More sharing options...
Bert Posted December 31, 2010 Share Posted December 31, 2010 You need to install your app as a service. See the FAQ section in the forum on how to do it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Developers Jos Posted December 31, 2010 Developers Share Posted December 31, 2010 Try running it with ShellExecute() or Run(@comspec " /c net start intelliservice") Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now