Delete a Windows Service without the EXE

Vaccano picture Vaccano · Dec 16, 2010 · Viewed 22k times · Source

I have a windows service running on a server (that I would rather not reboot if I can).

The EXE for this service is gone (beyond recovery) and I don't have a copy (it was a debugging version that has since been updated).

Is there anyway to remove this service from the services list without the exe that ran it?

Answer

Matt Davis picture Matt Davis · Dec 16, 2010

Have you tried sc <server> delete [service name] from the command line?

A more comprehensive answer can be found here.