The specified service has been marked for deletion

Purpose

You received a "The specified service has been marked for deletion" error while using PDQ Deploy or PDQ Inventory. 

Background

A previous instance of the runner on the target computer could not be deleted.

This is typically caused by the service crashing and locks still being held in the service manager database.

Resolution

Sometimes the locks will clear themselves, otherwise, it will be necessary to reboot the computer to allow the service to be deleted.

Still have a question or want to share what you have learned? Visit our Community Discord to get help and collaborate with others.