Deleting Existing Services with sc.exe Command


How to use sc.exe command to delete an existing service?


If you want to delete a service created by yourself, or by a third party application, you can use the "delete" commanded offered by the sc.exe tool as shown in this tutorial.

Run sc.exe in a command window and do the following:

C:\>sc delete CalcService1
[SC] DeleteService SUCCESS

C:\>sc query CalcService1
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service

2007-01-01, 11225👍, 0💬