Jump to content

How to run a program as a Service


tain

Recommended Posts

  • 6 years later...

srvany.exe worked for me. A few things... I specifically had to use instsrv.exe and not the builtin sc.exe command to get it to register properly. Also, I downloaded the Resource Kit directly from microsoft and then extracting only the two utilities by first extracting it to a temp location and then installing the msi into a directory.

rktools.exe /T:C:\Temp\rktools /C
msiexec  /qn /i rktools.msi RKTOOLS="C:\Temp\rktools\Tools
Link to comment
Share on other sites

Just for the record, nowadays I would rather use NSSM:

NSSM - the Non-Sucking Service Manager

http://nssm.cc/

as it worked for me nicely more than once :yes:

jaclaz

Wow highly interesting! Does NSSM work in XP and Se7en Jaclaz?

EDIT- Never mind: "... nssm should work under Windows 2000 or later. Specifically, Windows 7 and Windows 8 are supported. 32-bit and 64-bit binaries are included in the download ..."

Edited by TELVM
Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...