Wednesday, November 5, 2008

如何刪除xp服務(Uninstall XP Services)

小弟最近刪除電腦檔案,用正常的Uninstall方式,但發現在管理電腦的服務還有餘孽,每次用電腦都話有問題,找了一段時間,原來Windows XP已有自帶刪除不用的服務(Service)的工具,就是"SC"。

SC這工具要在Command Prompt下使用,即是在打指令環境下運作,對好多朋友是有一定難度,如果你在MSDOS年代用電腦就無難度。

方法如下
建立服務:
在開始->執行,打入cmd
sc create <服務名稱>
重啟電腦


刪除服務:
在開始->執行,打入cmd
sc delete <服務名稱>
重啟電腦


以下是英文原文
Create or Delete A Service in Windows XP
Services are added from the Command Prompt. You need to know the actual service name as opposed to what Microsoft calls the Display Name. For example, if you wanted to create or delete the Help and Support service, the name used at the Command Prompt would be "helpsvc" rather than the Display Name of "Help and Support". The actual service name can be obtained by typing services.msc in Run on the Start Menu and then double clicking the Display Name of the service. Once you know the name;
To Create A Service
•Start | Run and type cmd in the Open: line. Click OK.
•Type: sc create
•Reboot the system


To Delete A Service
•Start | Run and type cmd in the Open: line. Click OK.
•Type: sc delete
•Reboot the system


If you prefer to work in the registry rather than through the command prompt to delete services;
•Click Start | Run and type regedit in the Open: line. Click OK.
•Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
•Scroll down the left pane, locate the service name, right click it and select Delete.
•Reboot the system

Source:http://www.theeldergeek.com/add_a_service_in_windows_xp.htm

No comments: