How to solve "The specified service has been marked for deletion" error
There may be several causes which lead to the service being stuck in “marked for deletion”.
-
Microsoft Management Console (MMC) is opened. To ensure all instances are closed, run
taskkill /F /IM mmc.exe
. -
Services console is opened. This is the same as the previous point, since Services console is hosted by MMC.
-
Event Viewer is opened. Again, this is the same as the first point.
-
The key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ exists.
-
SysInternals' Process Explorer is opened. Closing it should lead to automatic removal of the service.
作者:Olar Tan
出处:http://www.cnblogs.com/olartan
♪:没有做不到的 只有偷懒而错过的 ♪