How to remove unwanted system services (1)

  
        

How to delete unwanted system services:

Case analysis:

User question: I used to install a software on my computer. At that time, the software was automatically registered as a system service. Now that I have no longer used it, I can only set it to "disable" in the Service Manager, but it will always show up in the Service Manager and it is very uncomfortable. Excuse me, is there a way to make it not displayed there?

Best Answer: What you are asking is actually how to delete system services. First you need to completely disable the unneeded service. After restarting the system, you can delete it by modifying the registry: navigate to the "HKEY_LOCAL_MACHINE\\\\SYSTEM \\\\CurrentControlSet\\\\Services" branch in the Registry Editor, listed below. It is the registry key corresponding to each service in the current system, and the corresponding item is deleted, so that it disappears from the service manager console.

Related articles recommended reading:

How to add and remove system services in Windows

Cannot add or delete services in the "Services" window of Windows XP system, commonly used There are several methods:

First, delete the service

Method 1: Use the sc.exe Windows command

Start-Run-cmd.exe, then enter Sc can be seen. The method of use is very simple:

sc delete "service name" (if there is a space in the middle of the service name, you need to be quoted before and after), the service name can be found in the service's properties, do not mistake the service name for the display name .

For the above: sc delete KSD2Service

Method 2: Direct registry editing

Open the registry editor and find the following key values:

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services The general service will display a main key here with the same name, and directly delete the relevant key values.

Method 3, special case

1. If the service displays rundll32.exe and the file is located in the system32 directory, then the rundll32.exe file cannot be deleted. It is Windows. System files. At this time, as long as the related services are cleared,

2. If a service is deleted, it is automatically created again, indicating that the process is monitoring and protecting. You need to kill the corresponding process in the process manager first, or press F8 after startup to delete it in safe mode.

Second, add services

In the "Services" window of Windows XP system, you can't add or remove services. The commonly used methods are as follows:

Method 1: Modify the registry

Type "regedit.exe" in "Start → Run", open the "Registry Editor", expand the branch "HKEY_LOCAL_MA


CHINE/SYSTEM/CurrentControlSet/Services", What is displayed in the right pane is the service item installed locally.

If you want to create a new service, just click "Edit → New → Item" and name the item, such as "test"; then right click on the item and select "New → String Value" or "New" →DWORD value can be. The key values ​​to be added to add a service item are as follows:

"DisplayName", string value, corresponding service name;

"Descrīption", string value, corresponding service description;

"ImagePath", a string value, corresponding to the path where the server is located;

"ObjectName", string value, value "LocalSystem", indicating local login;

"ErrorControl", DWORD value, value is "1";

"Start", DWORD value, value 2 means automatic operation, value 3 means manual operation, value 4 means prohibition;

"Type", DWORD value, the application corresponds to 10, the other corresponds to 20.

Also, create a new "Enum" item under "test". Follow the steps above to add the QQ program as a service. After restarting the computer, open the "Services" window, you can see the QQ service just added

[ Note: If you want to delete a service, just delete the registry. The relevant key value can be used. In this example, to delete the QQ service, directly delete the "HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/test" branch. ]

Method 2: Using Third-Party Tools

App To Service V2.7 is a small program with a command line interface. It can also be used to add or modify system services as follows:

1. Add service: press Enter, type the following command: AppToService/Install The path and name of the program, then press Enter again to confirm can.

2. Delete service: Enter the command: AppToService/Remove A service name that currently exists

3. Delete all AppToService services: Enter the command: AppToService/RemoveAll

4. Start all AppToService services: Enter the command: AppToService/StartAll

5. Stop all AppToService services: Enter the command: AppToService/StopAll

Copyright © Windows knowledge All Rights Reserved