If you are a fan of tweaking your system and disabling services, you might find that over time your Windows Services list becomes large and unwieldy. It’s easy enough to delete a Windows service using the Command Prompt.

如果您喜欢调整系统并禁用服务,则可能会发现Windows服务列表随着时间的推移变得庞大而笨拙。 使用命令提示符删除Windows服务非常容易。

A big warning, though. When you delete a service, it’s gone—and services can be a real pain to get back. We really don’t recommend deleting services at all, unless you’re dealing with a very particular situation like cleaning up after a program uninstalled improperly or rooting out a malware infestation. Typically, just disabling a service is plenty, especially if all you’re really trying to do is tweak your system performance (which probably won’t work as well as you might hope, anyway).  That said, if you do need to delete a service, you just need to find the actual name of that service and then issue a single command from the Command Prompt.

不过,这是一个很大的警告。 删除服务后,该服务就消失了,而恢复服务可能真是痛苦。 确实,我们根本不建议删除服务,除非您要处理的是非常特殊的情况,例如在程序卸载不当后进行清理或根除恶意软件的侵扰。 通常,仅禁用一项服务就足够了,尤其是如果您真正想做的只是调整系统性能(无论如何,它可能无法如您所希望的那样工作)。 也就是说,如果确实需要删除服务,则只需找到该服务的实际名称,然后从命令提示符处发出单个命令即可。

The techniques we’re covering here should work in pretty much any version of Windows—from XP all the way up through 10.

我们这里介绍的技术几乎可以在所有Windows版本中使用,从XP一直到10。

第一步:查找您要删除的服务的名称 (Step One: Find the Name of the Service You Want to Delete)

The first thing you’ll need to do is identify the full name of the service you want to delete. In our example, we’re using the RetailDemo service—a curious thing that activates a hidden command for changing Windows into a retail service mode (and pretty much erasing all personal docs and resetting your PC to it’s default state), so it’s actually a good example of a service you might not want around.

您需要做的第一件事是确定要删除的服务的全名。 在我们的示例中,我们使用的是RetailDemo服务,这很奇怪,它激活了一个隐藏命令,用于将Windows更改为零售服务模式(并且几乎擦除了所有个人文档并将您的PC重置为默认状态),因此实际上是您可能不想要的服务的一个很好的例子。

Hit Start, type “services” into the search box, and then click the “Services” result.

单击开始,在搜索框中键入“服务”,然后单击“服务”结果。

In the “Services” window, scroll down and find the service you’re after. Right-click the service and choose the “Properties” command.

在“服务”窗口中,向下滚动并找到所需的服务。 右键单击该服务,然后选择“属性”命令。

In the service’s properties window, copy (or write down) the text to the right of the “Service name” entry.

在服务的属性窗口中,复制(或写下)“服务名称”条目右侧的文本。

When you have the service’s name, you can go ahead and close the properties window and the “Services” window.

有了服务的名称后,就可以继续并关闭属性窗口和“服务”窗口。

第二步:删除服务 (Step Two: Delete the Service)

Now that you have the name of the service you want to delete, you’ll need to open the Command Prompt with administrative privileges to do the deleting.

现在您已经有了要删除的服务的名称,您将需要使用管理权限打开命令提示符来进行删除。

Click Start, and then type “cmd” into the search box. Right-click the “Command Prompt” result, and then choose the “Run as administrator” command.

单击开始,然后在搜索框中键入“ cmd”。 右键单击“命令提示符”结果,然后选择“以管理员身份运行”命令。

At the Command Prompt, you’ll use the following syntax:

在命令提示符处,将使用以下语法:

sc delete ServiceName

So, to delete the “RetailDemo” service we’re using in our example, we’d type the following text, and then hit Enter:

因此,要删除我们在示例中使用的“ RetailDemo”服务,我们将键入以下文本,然后按Enter:

sc delete RetailDemo

Note: If the service you’re deleting has any spaces in the name, you’ll have to enclose the name in quotes when you type the command.

注意:如果要删除的服务的名称中有空格,则在键入命令时必须将名称用引号引起来。

Now, if you use the F5 key to refresh your Services list, you’ll see that the service is gone.

现在,如果您使用F5键刷新“服务”列表,您将看到该服务已消失。



Deleting a service in Windows is pretty easy, but we’d again like to caution you to think long and hard before deleting a service, because it’s very difficult to get them back once they’re gone.

在Windows中删除服务非常容易,但是我们再次提醒您在删除服务之前要三思而行,因为一旦它们消失,很难将它们找回。

翻译自: https://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/

如何在Windows 7、8、10,Vista或XP中删除Windows服务相关推荐

  1. Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.17763. 缺失丢失

    cmake的时候缺少 Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.17763. The C compiler i ...

  2. xp好还是vista好_为Windows 7家庭版和Vista创建XP模式

    xp好还是vista好 One of the cool features in Windows 7 is XP Mode. However, it's only available for Windo ...

  3. Windows系统中删除MySQL服务

    HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Control/MySQL, HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Contr ...

  4. Mac双系统中删除Windows系统教程

    您必须使用"启动转换助理"来移除搭载 Intel 芯片的 Mac 上的 Windows 或使用"启动转换助理"创建的分区. [警告]请勿使用任何其他实用工具来移 ...

  5. 如何在iPhone上共享视频之前从视频中删除音频

    Sometimes, you'd like to share a video with others, but the accompanying audio track is distracting ...

  6. 在Windows Server 2008上安装和配置Web和FTP服务

    1.1 安装和配置Web和FTP服务 本节目标: ? 安装Web服务和FTP服务 ? 配置Web站点标识 ? 配置DNS服务器支持Web网站域名解析 ? 配置Web服务器安全 ? Web网站的远程管理 ...

  7. 将网络驱动器从XP映射到Windows 7

    We've received a lot of questions about mapping a drive from XP to Windows 7 to access data easily. ...

  8. 计算机网络XP系统电路,Windows XP操作系统与计算机网络基础

    互联网这个全球性的信息网络已经在政治.经济等方面起着越来越重要的作用.信息网络系统面临入侵攻击的威胁,而操作系统和应用服务程序的漏洞正是攻击者实施攻击的基础.下面是学习啦小编跟大家分享的是Window ...

  9. 删除计算机的用户凭据,windows凭据怎么填写? 电脑添加删除Windows凭据的技巧

    windows凭证的作用: 系统的凭据管理器其实是一个系统组件,能够帮助完成本地访问时的认证工作. 日常工作学习中,我们会经常使用电脑.有时候我们会频繁登录某个服务器,每次都要输入用户们和密码,显得很 ...

最新文章

  1. php 读取php.ini,php7 读取php.ini[4]
  2. mysql数据库入门教程(1):数据库的相关概念,存储特点,软件安装教程,数据库启动,服务端登录退出
  3. TXSQL企业级特性揭秘:加密与审计
  4. 什么是长期存储在计算机外存上的有结构,数据库是长期存储在计算机主存内
  5. JavaScript变量和作用域
  6. 7安装sql cent os server_Cent OS 7 编译安装 My SQL 5.7
  7. Jenkins系列之二——centos 6.9 + JenKins 安装
  8. 2008安装完了找不到_7206BEP.进口轴承_玉溪SKF轴承安装指南
  9. 在实际项目中,如何选择合适的机器学习模型?
  10. 案例学习BlazeDS+Spring之七InSync05新增联系人
  11. android源码下载过程的一些注意事项,windows下载android源码
  12. 数学常用公式及规律、结论(二)
  13. android 拍照 比例,Android全屏摄像头 – 同时保持摄像头选择的比例
  14. IT部门域事件与业务分析
  15. 跟着迪哥学python电子书pdf-跟着迪哥学Python数据分析与机器学习实战
  16. TeamViewer——一款强大的远程控制工具
  17. linux该专接本还是工作_专升本还是继续工作?
  18. python机械臂仿真_机械臂 python
  19. Bmob后端云的基本使用
  20. PS一分钟打造手机渐变壁纸

热门文章

  1. python编程第四版_清华编程教授强力推荐《Python编程》,指导你如何学习python
  2. python显示小数点后几位数_python窗口编程-3:数位处理(整数)
  3. 两个分数化简比怎么化_我学《分数的意义》心得
  4. IllegalArgumentException:argument type mismatch
  5. Java网络编程2---Socket-TCP编程
  6. 曾以为只能拿8K,22届学弟字节校招心路历程
  7. JS中创建函数的几种方式
  8. [Docker]Docker快速上手学习笔记
  9. 聊聊storm的PartialKeyGrouping
  10. Edge 浏览器被爆存在 XSS 绕过漏洞