Skip to main content

The specified service has been marked for deletion

While trying to install eventlog-to-syslog on WindowsXP, one has to register evtsys.exe as a service ("Eventlog to Syslog"). Playing around with that a bit, this happened when trying to uninstall the service:

> sc stop evtsys
> sc delete evtsys
The specified service has been marked for deletion.
Why yes indeed, it had been marked for deletion - but the services.msc window was still open and the service could not be uninstalled properly the first time (sigh....). Closing the services.msc window might help; sometimes removing all the leftovers in the registry does the trick. But sometimes only a reboot will resolve this - as usual :-\