locked
Issue with Service Control Manager RRS feed

  • Question

  • Hi,

    I have created and started one service. After some time I found that service is in stopped state and when I tried to restart it, its unable to restart.

    Error is : 1067 the process terminated unexpectedly

    Initially I thought there maybe some problem with my service so I uninstalled it an reinstall agrain but the issue remains same. After so many tryouts I followed below steps:

    • Rename the older service executable as “dummy.exe“ (You can give any service name)
    • Run cmd as administrator
    • Register the new service with below command
    • sc create <service name> binpath= “<dummy.exe full path>“
    • Now start the service with command “sc start <service name>“
    • Service started successfully

    Now I am unable to figure out where is the actual problem. Is there any curruption possible in SCM database with older service name? Or is there any other issue possible.


    Monday, May 13, 2019 7:20 AM

Answers

All replies