Jump to content
Sign in to follow this  
Excalibur

Making An Autoit Executeable Run As A Windows Service

Recommended Posts

Excalibur

This is probably more a windows question then an AutoIt question, but you guys rock, so I hope you can Help. I wrote an AutoIt Script that I want to run as a windows service to accomplish certain tasks without any users being logged in specifically. I wrote a server program in Java, and I wrote an AutoIt script to launch and configure it. So I'd like it the be able to start and run immidately when the computer starts without anyone needing to login. Any help will be greatly appreciated.


Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post


Link to post
Share on other sites
ChrisL

This is probably more a windows question then an AutoIt question, but you guys rock, so I hope you can Help. I wrote an AutoIt Script that I want to run as a windows service to accomplish certain tasks without any users being logged in specifically. I wrote a server program in Java, and I wrote an AutoIt script to launch and configure it. So I'd like it the be able to start and run immidately when the computer starts without anyone needing to login. Any help will be greatly appreciated.

You need this http://support.microsoft.com/kb/q137890/

Share this post


Link to post
Share on other sites
Uten

Search the forum. It has quite many references on how to do this. I have found XYNTService found on www.codeproject.com very handy.

Share this post


Link to post
Share on other sites
keeskas

Search the forum. It has quite many references on how to do this. I have found XYNTService found on www.codeproject.com very handy.

search for nssm (it watches the exe and not itself)

nssm is a service helper which doesn't suck. srvany and other service helper ... With nssm you know that if a service says it's running, it really is. ...

Share this post


Link to post
Share on other sites
dandymcgee

PLEASE tell me why whenever I run an application, it opens the DOS or CMD.exe window, and immediately close before I can even read what it says. Do I have my CMD.exe configured wrong or something???


- Dan [Website]

Share this post


Link to post
Share on other sites
iceberg

hi,

try adding the "pause" or "sleep" function in your codes just after the DOS command codes. IN that way, you can see what the DOS window actually displays.


mouse not found....scroll any mouse to continue.

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.