Specified service has been marked for deletion

Occasionally when a program is uninstalled, the associated service is not removed but marked for deletion and requires a reboot to complete the process. The message, Specified service has been marked for deletion, can occur if another process has an open handle to the service. For example, if the services console was open at the time of removal.


To delete the service without rebooting the machine, use the sc delete command to delete the service's entry from the registry.

sc delete [service name]

For example:

sc delete "Advanced Monitoring Agent"

sc delete Advanced Monitoring Agent

After you execute the deletion command, open the services console (Start/Run/services.msc) to confirm the service is removed.

For more information about the sc delete command, see the Microsoft documentation.

Please note that we are not responsible for the contents of external sites and any effect they may have on your system.