Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete a Windows Service without the EXE

Tags:

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?

like image 709
Vaccano Avatar asked Dec 16 '10 18:12

Vaccano


People also ask

How do I remove unwanted services in Windows 10?

Deleting these services may cause your system to become unstable. Select System Configuration > go to the Services tab. Select and put a check mark on "Hide all Microsoft services" > Click Disable all. Go to Startup tab > Open Task Manager > Disable all the unnecessary services running there.


2 Answers

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

A more comprehensive answer can be found here.

like image 79
Matt Davis Avatar answered Oct 06 '22 08:10

Matt Davis


Try:

sc delete servicename 
like image 41
barti_ddu Avatar answered Oct 06 '22 08:10

barti_ddu