As there is no Delete option available in Services MMC, it was becoming a nightmare to re-install it. Some how I found SC.EXE which is a command line program to communicate with Service Control Manager and Services.
There are many available options but what interested me is you can Create, Start, Stop, Delete a service with a Command Line.
Creating a Service:
sc.exe create PayCalcService binPath= "C:\Program Files\PaymentCalculation\paycalc.exe" DisplayName= "PaymentCalculationService"Starting a Service:
sc.exe start PaymentCalculationService
Stopping a Service:
sc.exe stop PaymentCalculationService
Deleting a Service:
sc.exe delete PaymentCalculationService
Hope this helps for similar problems...
very nice and stright forward solution. Thanx
ReplyDeleteI hoped this could help but if the service is allready marked for deletion there is no way around of restarting the server
ReplyDeleteTo the comment above August 30, 2012:
ReplyDeleteSometimes just closing the services console and reopening rather than refreshing completes the uninstall / delete process, I think the console puts a lock on it or caches it.
I just found this article, and your method for deletion worked perfectly. Thanks!
ReplyDeleteClosing Server Manager allowed the service to be completely removed. When I re-opened Server Manager - the service no longer showed up in the list of installed services.
ReplyDeletepruradsdan_wo Jen Campbell https://www.telotraigodeusa.com/profile/CricketLGGStyloH634FirmwareAndroid511epub/profile
ReplyDeletesoabulkstarer
Really helpful - just needed a quick and clear explanation and you provided it - thank you!
ReplyDelete