Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

无法卸载服务 #58

Open
shikkoku opened this issue Jun 26, 2017 · 5 comments
Open

无法卸载服务 #58

shikkoku opened this issue Jun 26, 2017 · 5 comments

Comments

@shikkoku
Copy link

shikkoku commented Jun 26, 2017

运行Choose后选3

显示
`Fatal Error:
OpenService() Error in Uninstall service.
Is service exist? (GetLastError():2)
Please contact the application's support team for more information.

[Debug Message]
C:\WINDOWS\hoststools.exe
D:\Downloads\Tools\HostsTool\tool.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.`

之前使用11选项安装了启动项,未安装服务。但是没有相应的删除启动项的选项?

@ghost
Copy link

ghost commented Jun 29, 2017

呃 未安装服务的话 那程式还会继续运行吗

@shikkoku
Copy link
Author

呃 未安装服务的话 那程式还会继续运行吗
服务和启动项是两个程序。

@ghost
Copy link

ghost commented Jul 3, 2017

(感觉您是点击了隐藏启动方式是吗...我那个没做卸载

@tilv37
Copy link

tilv37 commented Jul 4, 2017

有没有手工卸载方法呢?

@ghost
Copy link

ghost commented Jul 5, 2017

https://github.com/HostsTools/Windows/blob/master/tool.cpp#L347
只要删除对应的注册表键值就好了
找一下 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run 下面
或者全注册表搜索 hoststool-windows

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants