You have at least three options.
(你至少有三个选择。)
I have presented them in order of usage preference. (我按照使用偏好的顺序展示了它们。)
Method 1 - You can use the SC tool (Sc.exe) included in the Resource Kit.
(方法1 - 您可以使用Resource Kit中包含的SC工具 (Sc.exe)。)
(included with Windows 7/8) ((包含在Windows 7/8中))
Open a Command Prompt and enter
(打开命令提示符并输入)
sc delete <service-name>
Tool help snippet follows:
(工具帮助代码段如下:)
DESCRIPTION:
SC is a command line program used for communicating with the
NT Service Controller and services.
delete----------Deletes a service (from the registry).
Method 2 - use delserv
(方法2 - 使用delserv)
Download and use delserv command line utility.
(下载并使用delserv命令行实用程序。)
This is a legacy tool developed for Windows 2000. In current Window XP boxes this was superseded by sc described in method 1. (这是为Windows 2000开发的传统工具。在当前的Window XP框中,这被方法1中描述的sc取代。)
Method 3 - manually delete registry entries (Note that this backfires in Windows 7/8)
(方法3 - 手动删除注册表项(请注意,这在Windows 7/8中适用))
Windows services are registered under the following registry key.
(Windows服务在以下注册表项下注册。)
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
Search for the sub-key with the service name under referred key and delete it.
(在引用键下搜索具有服务名称的子键并将其删除。)
(and you might need to restart to remove completely the service from the Services list) ((您可能需要重新启动才能从“服务”列表中完全删除该服务))
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…