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

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/

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/279713.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

缩点(有向图的强连通分量)学习笔记

缩点(有向图的强连通分量)学习笔记 1.什么是强连通分量?: 有向图强连通分量:在有向图G中,如果两个顶点vi,vj间(vi>vj)有一条从vi到vj的有向路径,同时还有一条从vj到vi的有向路径,则称两个顶点强连通(strongly conne…

mysql多表联合删除

文件一:01.txt文件二:02.txt登录mysql选择数据库表user结构表user_depart结构导入数据到表user导入数据到表user_depart联合删除查看删除后user表的数据查看删除后user_depart表的数据本文转自 Lee_吉 51CTO博客,原文链接:http://blog.51cto.…

Jenkins 随笔

window是 随笔 修改端口 &#xff1a; <arguments>-Xrs -Xmx256m -Dhudson.lifecyclehudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort8181 --webroot"%BASE%\war"</arguments> 然后重启服务&#xff08;服务…

centos 初学者_初学者:如何在Outlook 2013中创建和管理任务

centos 初学者If you’re one of those people who has a whiteboard or notepad with an ever-evolving to-do list, or your desk and monitors are adorned with Post-its reminding you of important events, then this the article for you. 如果您是拥有不断发展的待办事…

C语言基础(五)

一、字符串相关函数 1.gets()(输入字符串) 格式&#xff1a;gets(字符串)&#xff1b; (1)区别&#xff1a;gets(str)与scanf(“%s”,str) gets(str)允许输入的字符串含有空格 scanf(“%s”,str)不允许含有空格 注意&#xff1a;由于以上无法知道字符串大小&#xff0c;很容易导…

新服务器安装和配置zabbix的playbook

公司的金山区云服务器是由我负责的&#xff0c;每一次新购买了金山区的服务器都要把这些新服务器添加到zabbix监控里&#xff0c;于是我就编写了一个ansible的playbook&#xff0c;这样以后就可以在执行playbook的时候“带薪拉屎”了。 ansible主机准备&#xff1a; 1&#xff…

15个变态的Google面试题以及答案

在当前经济形势不景气的情况下&#xff0c;谷歌招聘新员工是一件令人振奋的事&#xff0c;特别是对那些在当前金融风暴中渴望找到安全港的年轻经理们和软件开发商们来说是个好消息。   不过&#xff0c;也不要高兴太早&#xff0c;谷歌在招聘新员工时&#xff0c;更加青睐名牌…

小程序禁用ios 左右滑动_如何在使用应用程序时禁用iOS控制中心

小程序禁用ios 左右滑动The Control Center has proven to be a thoughtful and welcome addition to iOS, but it can be annoying sometimes if you’re playing a game or using an app, and you accidentally open it. Here’s how you can disable it in such situations.…

repomd.xml错误14 not found

用Centos7最小化安装了系统&#xff0c;想练练手&#xff0c;可以到换了“搜狐”的YUM源&#xff0c;系统总报错更新错误说找不到repomd.xml。 然后就一直搜解决问题&#xff0c;能用到的都用到了&#xff0c;网上提到的都用到了。浪费了好几个小时没解决。正当无语的时候&…

浅谈javascript递归(白话版)

递归 递归是一种解决问题的方法&#xff0c;通常我们可以理解成函数调用自身&#xff1b; 什么递归&#xff1f;递归怎么写&#xff1f; 首先直接调用自身的方法和函数&#xff0c;他是一个递归&#xff0c;我们看代码&#xff1a; 复制代码 var recursiveFun function(params…

超链接禁用_如何在Microsoft Word中禁用超链接

超链接禁用When you type a web or email address in Word, you may notice that the program automatically formats it as a live hyperlink. This is a setting in Word’s AutoFormat feature that is on by default but can be easily turned off. 当您在Word中键入网站或…

ssh面试题总结

题目1&#xff1a;Hibernate工作原理及为什么要用&#xff1f; 原理&#xff1a; hibernate&#xff0c;通过对jdbc进行封装&#xff0c;对 java类和 关系数据库进行mapping&#xff0c;实现了对关系数据库的面向对象方式的操作&#xff0c;改变了传统的jdbc sql操作数据的方式…

SaltStack的salt-ssh使用及LAMP状态设计部署

SaltStack的salt-ssh使用及LAMP状态设计部署 1、salt-ssh的使用 官方文档&#xff1a;https://docs.saltstack.com/en/2016.11/topics/ssh/index.html &#xff08;1&#xff09;安装salt-ssh [rootlinux-node1 ~]# yum install -y salt-ssh&#xff08;2&#xff09;配置salt-…

程序员笔记(知识)管理的一点经验

记笔记这件事&#xff0c;也许在很多人看来&#xff0c;再普通、简单不过了——从小老师就教育我们要这么做。不同的人有不同的方式&#xff0c;我们最终的目的&#xff0c;还是希望不要停留在只是记录这一层面上&#xff0c;而是将它们转变为我们的知识。作为一个程序员&#…

xbox可以录视频声音吗_什么是Xbox Live Gold,它值得吗?

xbox可以录视频声音吗If you have an Xbox One or Xbox 360, Microsoft’s Xbox Live Gold service is required to play multiplayer games online. A subscription costs $10 per month or $60 per year. Xbox Live Gold also includes additional benefits, like free games…

windows - mysql

Windows:(mysql)操作:0.下载安装mysql www.mysql.org downloads community 5.7.21 下载5.6 Microsoft Windows 解压到C: C:\mysql-5.6.39-winx64 C:\mysql-5.6.39-winx64\bin bin/mysql 客户端 bin/mysqld 服务端 设置环境变量: …

显示器选三星还是飞利浦_如何为飞利浦色相灯设置计时器

显示器选三星还是飞利浦Maybe you want to turn off your Philips Hue lights after a certain amount of time has passed, or have them blink as a reminder. Whatever your needs, here’s how to set a timer for your Philips Hue lights to have them automatically tur…

PIE SDK与OpenCV结合说明文档

1.功能简介 OpenCV是基于BSD许可&#xff08;开源&#xff09;发行的跨平台计算机视觉库&#xff0c;可以运行在Linux、Windows、Android和Mac OS操作系统上。它轻量级而且高效——由一系列 C 函数和少量 C 类构成&#xff0c;同时提供了Python、Ruby、MATLAB等语言的接口&…

js的栈堆与浅拷贝、深拷贝的理解

一&#xff1a;什么是堆栈&#xff1f; 我们都知道&#xff1a;在计算机领域中&#xff0c;堆栈是两种数据结构&#xff0c;它们只能在一端(称为栈顶(top))对数据项进行插入和删除。 堆&#xff1a;队列优先,先进先出&#xff1b;由操作系统自动分配释放 &#xff0c;存放函数的…

python面向对象基础语言进阶

在此感谢前辈们的指导&#xff1a;http://python.jobbole.com/80955/ https://www.cnblogs.com/wupeiqi/p/4766801.htmlhttps://www.cnblogs.com/paomaliuju/p/5122761.html https://www.cnblogs.com/goser/articles/7097728.html http://www.cnblogs.com/alex3714/articles/52…