“Automatic” vs “Automatic (Delayed start)”

When installing Windows services there are two options for automatically starting a Windows service on Windows startup. One is Automatic, and the other is Automatic (Delayed start). What is the difference between these two in detail? For example, if you’re creating the installer with wixtoolset, the ServiceConfig element has the DelayedAutoStart attribute. How will that … Read more

How to solve “The specified service has been marked for deletion” error

I try to remove a Windows Service with sc delete <service name>, and encounter the following error: [SC] DeleteService FAILED 1072: The specified service has been marked for deletion. What I’ve already done: Stopped the service, obviously. The sc queryex “<service name>” gives the following result: SERVICE_NAME: Stub service TYPE : 10 WIN32_OWN_PROCESS STATE : … Read more