Force deletion of Windows service

Solution 1:

The only way to remove such services is registry editing.

go to regedit and find

"HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services"

open the key which has your service name. That means the service name

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AdobeFlashPlayerUpdateSvc 

is for Adobe Flash player update service. You can see it in the corresponding displayname on the right panel of regedit.

Delete the key in the left panel and you are done. Also delete the files corresponding to it.

Make sure you are not deleting any wrong system services or else you will end up in trouble starting your machine.

Solution 2:

Using sc.exe delete srvname will postpone the service deletion if it's: 1) running or 2) the "services" management console is open. Making sure the service is stopped and closing the "services" console deletes the service immediately (Windows 10 Pro 10.0.18363).