茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1664714 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_60D_00054.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

微軟帝國 : [轉貼]如何刪除 Windows 系統中不必要的服務

發表者 討論內容
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15766
[轉貼]如何刪除 Windows 系統中不必要的服務

如何刪除Windows系統中不必要的服務

如果在卸載移除與反安裝不使用的程式後,發現系統服務仍然存有遺留的服務時,可以透過微軟提供的sc.exe來移除不需要的服務項目。

適用於Windows xp、Windows Vista、Windows 7、Windows Server 2003、Windows Server 2003 R2、Windows Server 2008、Windows Server 2008 R2。

 

先開啟服務(Services.msc)找出要刪除的服務名稱,假設要移除SQL Server(MSSQLSERVER)服務。

須移除的服務範例.png

點選SQL Server(MSSQLSERVER)服務再按滑鼠右鍵。

點選須移除的服務再按滑鼠右鍵.png

按滑鼠右鍵等選單出現時點選Properties,可以看到Service name: MSSQLSERVER,而MSSQLSERVER就是我們要移除的真正服務名稱。


按滑鼠右鍵選properties.png  

接著開啟命令提示字元Command Prom輸入下列指令後執行Enter

sc delete MSSQLSERVER

CommandPrompt中下sc指令.png

若服務名稱有空白,則須要使用成對雙引號把服務名稱包起來後再執行Enter,範例如下:

sc delete "UnNeed Service Name"

刪除名稱有空白的服務.png


原文出處:如何刪除Windows系統中不必要的服務 @ K'隨手記 :: 痞客邦 ::
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15766
[轉貼]How to Delete a Windows Service in Windows 7, 8, 10, Vista, or XP

How to Delete a Windows Service in Windows 7, 8, 10, Vista, or XP

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.

RELATED: Should You Disable Windows Services to Speed Up Your PC?


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.

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.

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.


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:

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.



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.


原文出處:How to Delete a Windows Service in Windows 7, 8, 10, Vista, or XP
前一個主題 | 下一個主題 | 頁首 | | |



Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|