Installing/Uninstalling Services in Windows 7: “Error 1001. The specified service has been marked for deletion”

前端 未结 5 1591
广开言路
广开言路 2021-02-03 23:26

I am currently developing a Windows Service in .NET 4.0, Visual Studio 2010, Windows 7-32bit. I have an installer project that does the installation for me. When I install the s

5条回答
  •  自闭症患者
    2021-02-04 00:17

    Short Answer

    • Close Services.msc
    • Close Process Explorer

    Long Answer

    After running into this problem again, I went to task manager and started shutting down processes. I eventually found the culprit, it was an internal corporate application used for managing software distribution. I shut it down, and the services were finally gone.

    Update

    I also found that sometimes Process Explorer needs to be closed for deleted services to disappear.

提交回复
热议问题