如何在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.…

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. 如果您是拥有不断发展的待办事…

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

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

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

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

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

超链接禁用_如何在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:Hibernate工作原理及为什么要用? 原理: hibernate,通过对jdbc进行封装,对 java类和 关系数据库进行mapping,实现了对关系数据库的面向对象方式的操作,改变了传统的jdbc sql操作数据的方式…

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…

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

显示器选三星还是飞利浦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许可(开源)发行的跨平台计算机视觉库,可以运行在Linux、Windows、Android和Mac OS操作系统上。它轻量级而且高效——由一系列 C 函数和少量 C 类构成,同时提供了Python、Ruby、MATLAB等语言的接口&…

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

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

ea 备份码是什么_EA的原始访问是什么,值得吗?

ea 备份码是什么EA’s Origin Access gives you access to more than 70 games, discounts, and new EA games before they’re released for a monthly (or yearly) subscription fee. But is it really worth it? EA的Origin Access可让您访问70多种游戏,打折游戏…

JS框架_(JQuery.js)纯css3进度条动画

百度云盘  传送门  密码&#xff1a;wirc 进度条动画效果&#xff1a; <!DOCTYPE html> <html lang"zh"> <head><meta charset"UTF-8"><meta http-equiv"X-UA-Compatible" content"IEedge,chrome1">…

如何在Android主屏幕上添加热点快捷方式

Portable Wi-Fi hotspots on your Android phone are great, because hotel Wi-Fi usually isn’t, but toggling that hotspot on and off is a pain. Here are several easy ways to add a hotspot widget to your home screen. 您的Android手机上的便携式Wi-Fi热点很棒&…

SQLI DUMB SERIES-16

&#xff08;1&#xff09;无论怎么输入&#xff0c;都没有回显&#xff0c;但当输入 admin")#时&#xff0c;显示登录成功。若通过其他方法获取数据库的用户名&#xff0c;可通过这个方法登录成功。 &#xff08;2&#xff09;获取其他信息可用考虑时间延迟注入。方法同1…

如何在YouTube视频上禁用注释

YouTube has that betcha-can’t-watch-just-one appeal to it, which is why YouTube’s annoyances become so pronounced the more you use it. Many of these features, such as annotations can be permanently disabled, making for a more enjoyable viewing experience…

快速实现一个Http回调组件

2019独角兽企业重金招聘Python工程师标准>>> 快速实现一个Http回调组件 一、前情回顾 ​ 我们平时在使用一些库的时候&#xff0c;会遇到一些看起来很舒服的写法&#xff0c;用起来感觉很简单&#xff0c;而且写法也很优雅&#xff0c;比如OkHttp&#xff0c;或者是…

MyBatis缓存通俗易懂

1.1 mybatis缓存介绍 如下图&#xff0c;是mybatis一级缓存和二级缓存的区别图解&#xff1a; Mybatis一级缓存的作用域是同一个SqlSession&#xff0c;在同一个sqlSession中两次执行相同的sql语句&#xff0c;第一次执行完毕会将数据库中查询的数据写到缓存&#xff08;内…