I had a windows service installed on my computer. I deleted it with
sc delete myservice
Then I recreated it with
sc create collector binpath = "path of service"
but service is not listed under services in control panel.
I tried to recreate the service and got:
[SC] CreateService FAILED 1073:
The specified service already exists.
I am trying to delete the service and getting:
[SC] OpenService FAILED 1060:
The specified service does not exist as an installed service.
What is causing the problem and how do I solve it?
Try using installutil instead, this fixed similar problem for me.