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:
Post a Comment