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?
Microsoft ApplicationsWindows Server 2003

Avatar of undefined
Last Comment
khyer123

8/22/2022 - Mon
Cro0707

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
r-k

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Cro0707

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!
khyer123

ASKER
Task Scheduler worked like a charm. Thanks!!!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck