Link to home
Start Free TrialLog in
Avatar of pjordanna
pjordanna

asked on

how to add a service? 500 pts!

hi there - can anyone give me a link or description of how to add a .exe as a windows service? - many thanks....
Avatar of mikeleebrla
mikeleebrla
Flag of United States of America image

.exe is a program (ie runs at the client level)
a service is something different alltogether.  If a computer has a running "service" then it is effectively a "server" since it is listening for a client to access that service.  IE a listening  daemon to use unix terms.

Programs are run by users, services are usually set to run at startup (IE nobody has to be logged on for them to run)

That being said, what exacly are you trying to accomplish???  what is your ultimate goad???
goad=goal in the above post,,, sorry for the typo
ASKER CERTIFIED SOLUTION
Avatar of KaliKoder
KaliKoder
Flag of Canada image

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
Also,

There are numerous shareware utilities that would let you do that. I havent tried any other than one from NT resource kit. But, is one for example, they are shareware:

http://www.sharewareconnection.com/remote-service-installer.htm

http://www.starbal.net/

Avatar of ajsaasta
ajsaasta

KaliKoder's tip and link to MS article is what you need.

You will use the "instsvr.exe" to install (and remove) the service, that is, to create the registry entries needed for the service.

To control (start/stop) the service you will use (althouhg you'll not see it) the "srvany.exe" that starts/stops the actual .exe which this way is being run as a windows service.

Follow the instructions on Microsoft's article and that's it, i've done that dozens of times and worked every time (if I just remebered to modify the registry manually _as_mentioned_on_the_article_ ... ;-)

Cheers and points go to KaliKoder!
SOLUTION
Avatar of oBdA
oBdA

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
Avatar of pjordanna

ASKER

thanks guys great and comprehensive answer