Discussion Locked

Installing a Program as an NT Service?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I go about installing a program I want to start automatically, regardless of wehter or not someone has logged onto the machine?

5 replies

by t.blommaers

I hope this helps you out.
Add the program to the following folder :
C:\WINDOWS\Start Menu\Programs\StartUp

by madman

As I said, I am looking for a way to add a program to the NT service List, so that the program will start regardless of wether or not some one has logged on to the machine. The Startup Folder only works when someone logs on.
Thanks anyway.

by syscokid

You can use the SRVANY.EXE program that comes with the Resource Kit. From the documentation:

You can use the Srvany utility to run Windows NT applications as services, with the following benefits.
 When applications are run as services,they are not closed during logoff, so users do not need to restart them each time they log on.
 Server applications can service requests even when no user is logged on.
 Applications can run and perform tasks specific to a logon account that is different from the user who is currently logged on.

This discussion is closed to new replies.