删除Windows服务? [英] Remove windows service ?

查看:94
本文介绍了删除Windows服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的

我已经在Vista业务下开发了Windows服务.然后在我的机器上注册并测试它是否可以正常启动.然后,我更改服务名称并重新编译服务,而无需更改exe文件的名称.

I have developped a windows service under Vista business. Then register it on my machine and test that it start properly. Then I change teh name of my service and recompile my service without changing the name of the exe file.

我犯的错误是我在安装新服务之前忘记卸载以前的服务.因此,现在我处于一种垃圾服务的状况,无法再删除它.

the mistake that I have made is that I forgot to uninstall the previous service before installing the new one. So now I ma in a situation that I have a garbage service that I cannot removed anymore.

有手动删除该服务的方法吗?

Is there a manuall way to remove that service ?

致谢

serge

推荐答案

您应该能够从HKLM \ SYSTEM \ CurrentControlSet \ Services \中手动删除服务详细信息,然后删除任何其他文件/registry与服务相关的密钥.
You should be able to manually remove the service details from HKLM\SYSTEM\CurrentControlSet\Services\ and then delete any other files/registry keys related to the service.


这篇关于删除Windows服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆