Jump to content
Sign in to follow this  

Zombie Service after Service Install as by Autoit3 FAQ

Recommended Posts


I'm on my way to write a watchdog program that has to watch for a certain service to be running.

The EXE is running fine. So I wanted to install it as a service using RunAsSvc.exe as specified in the sticky FAQ posting here.

The service does show up in the Services list in SERVICES.MSC, but it doesn't startup:

The Service "MMArrayWatchdog" on "Local Computer" cannot be started:

Error 3: The System cannot find the path given.

I specified the full path to my MMArrayWatchdog.EXE, no parameters, workingdir=Folder of this exe.

SC.EXE is telling that this service is not an installalled service.

When I delete the following Registry keys / values, in the SERVICES.MSC list just the startup type changes from "Automatic" to "" (no value):

"Description"="Ɯberwacht MailMarshal ArrayManager (Logfile, Warn Emails)"




How to get rid of this zombie service?

I've already tried SRVINST.EXE and SC.EXE. As SC reports that this isn't an installed service I'm wondering where is the list of installed services as presented by SERVICES.MSC, and how is it possible that SERVICES.MSC is presenting a list that is not consistent with "SC.EXE query"?

Windows 2003 Server R2 SP1.

Any suggestions appreciated, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post

Link to post
Share on other sites

:) I've found my mistake: ^_^

I copied RunAsSvc.exe to C:\Programme\MailMarshalWatchdogService\, but when I used this program I started it from a network :"> drive to which the service has no access.

Amazing: After correcting the value "ImagePath" in key [{08CECC71-A9B1-417d-AB3A-C57C4F854F53}2306714535] to reflect the local copy of RunAsSvc.exe ("C:\Programme\MailMarshalWatchdogService\RunAsSvc.exe" -s {08CECC71-A9B1-417d-AB3A-C57C4F854F53}2306714535) also SC.EXE recognizes this service as an installed service.

So it looks like that a service with broken path information is no longer recognized as an installed service by SC.EXE, as this program obviously is doing extra checks SERVICES.MSC is not doing.

Well, everything is working fine now :)

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...