如何在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.pswp.cn/news/279713.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/279713.shtml
英文地址,請注明出處:http://en.pswp.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…