Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

tain

How to run a program as a Service

Recommended Posts

axelabs    0

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

Share this post


Link to post
Share on other sites
TELVM    172

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

Share this post


Link to post
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.

×