How to uninstall a windows service and delete its files without rebooting

后端 未结 10 2142
终归单人心
终归单人心 2021-01-30 16:40

My current project involves deploying an upgraded .exe file that runs as a Windows Service. In order to overwrite the existing .exe with the new version, I currently need to:

10条回答
  •  忘了有多久
    2021-01-30 16:58

    Should it be necessary to manually remove a service:

    1. Run Regedit or regedt32.
    2. Find the registry key entry for your service under the following key: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services
    3. Delete the Registry Key

    You will have to reboot before the list gets updated in services

提交回复
热议问题