Link to home
Start Free TrialLog in
Avatar of khyer123
khyer123

asked on

How do I run a program on Win2k3 startup -before- any users login?

I would like to have a program (simple telnet server) run on startup in my windows 2003 server.  I tried putting entries in the registry (run key) but the server did not run these programs until a user logged in.  I need the program to run even if the server is sitting at the login screen after a reboot.  I already tried registering the program as a service but I keep getting a 1053 error (Start Service Timeout) when I try and start the service (this also shows in the system event logs).  I updated the .NET framework and saw the same problem.  I then set the service to run the program I wanted if the service failed.  This did not work either.

How can I get a program to run on startup, before any users even login?
Avatar of Cro0707
Cro0707
Flag of Croatia image

The best way is to run this program as a service, as you already know. Try again, maybe this link can help you:

http://www.geekadmin.com/?p=27
http://www.application-as-service.com/

Adio!
ASKER CERTIFIED SOLUTION
Avatar of r-k
r-k

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Maybe you can use c:\windows\system32\autoexec.nt or \config.nt to run programs while windows boot up.

I didn't try it, but this is also idea that you can try.

Adio!
Avatar of khyer123
khyer123

ASKER

Task Scheduler worked like a charm. Thanks!!!