0

Now my program is running as a service and registered in service manager under Windows Server 2008 R2.

When I uninstall my program from 'Programs and Features' in control panel, meanwhile keep the service manager window is opened. After this program is uninstalled totally, My program service shown Disable status in service manager. How that happened?

I know if the service manager window is shutdown when I uninstall my program, this issue can NOT be happened, so I guess this is a window service issue. Am I right?

  • Does the service magically disappear if you reboot after uninstalling? – CoreTech Jul 12 '14 at 7:24
  • @CoreTech yes, after rebooting the service manager window, my service can disappear. – zangw Jul 14 '14 at 1:31
0

Whenever Windows is unable to completely uninstall a service, it will be marked as disabled and discarded at the next reboot. I am not sure what can cause uninstallation to go this route, but I have seen it happen when the Event Log Viewer is open. I recommend that you ensure that all applications related to windows services are closed when you uninstall.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.