How to completely delete system service items

Source: Internet
Author: User

 How to completely delete system service items

Start -- run -- msconfig press ENTER

You can find

To delete a service item, open the Registry ("START" -- "run" -- "Regedit") and enable HKEY_LOCAL_MACHINE \ SYSTEM \ controlset001 \ Services in sequence, delete the service items you want to delete from the registry,

We recommend that you use the auxiliary software to manage your registry project (such as 360 security guard and the Windows optimization master you mentioned) instead of using the Registry Editor.

How to completely delete system service items

If the SC delete command is used and the service name contains spaces, enclose them in double quotation marks before the service name, for example, SC Delete "Adobe lm service ", in addition, the services subkey is generally not allowed to be deleted, but you can delete the subkeys under it. However, if the Sub-keys are not included in the system itself, you can delete them, especially for viruses.
Generally, the virus process must be deleted after it is completed. Otherwise, the deletion may be rejected. However, if the system comes with services, do not delete them without authorization.


1. delete a service

Method 1: Use the Windows Command SC .exe

RUN --cmd.exe at the beginning, and enter SC to view it. The method is simple:

SC Delete" service name "(if there is a space in the middle of the service name, quotation marks are required ), the service name can be found in the Service Attributes. Do not mistaken the service name for the display name.

for example, for the above: SC Delete ksd2service

Method 2: directly edit the Registry

Open the Registry Editor and find the following key values:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services the General Service will display a master key with the same name here, You can directly Delete the relevant key value.

Method 3. Special Cases

Hosts file, which is a Windows system file. In this case, you only need to clear the relevant services.

2. If a service is automatically created after it is deleted, it indicates that there are processes in the background to monitor and protect it. You must first kill the corresponding process in the Process Manager, or press F8 after it is started to delete it in safe mode.

2. Add a service

You cannot add or delete a service in the Windows XP "services" window. You can use the following methods:

Method 1: Modify the Registry

Run "register regedit.exe" at the beginning of "login", open "Registry Editor", and expand the branch "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services". The service items installed on the local machine are displayed in the right pane.

If you want to create a service, you only need to click "Edit> New> item" and name it, for example, "test". Then, right-click the item, select "New> string value" or "New> DWORD Value. To add a service project, you must add the following key values:

"Displayname", string value, corresponding service name;

"Descr resume ption", string value, corresponding to the service description;

"ImagePath", string value, should serveProgramPath;

"Objectname", string value, value: "LocalSystem", indicates local login;

"Errorcontrol", DWORD value, value: "1 ";

"Start", DWORD value, value 2 indicates automatic operation, value 3 indicates manual operation, value 4 indicates prohibited;

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

Create an "Enum" item under "test. Follow these steps to add the QQ program as a service. After restarting the computer, open the "service" window and you will see the QQ service you just added.

To delete a service, you only need to delete the key value in the Registry. In this example, You need to delete the QQ service and directly Delete the "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ test" branch.

Method 2: Use third-party tools

APP to service v2.7 is a small program with a command line interface. It is:Http://www.skycn.com/soft/6397.html. It can also be used to add or delete system services. The specific method is as follows:

1. Add a service

Press enter and type the following command: apptoservice/install program path and name, and then press enter again to confirm.

2. delete a service

Enter the command: apptoservice/remove an existing service name

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

Note: here, the apptoservice refers to all services added through apptoservice, not the original services of the system.


To delete a service, you must first understand what the service is and be sure to delete it. So let's take a look at what the service is.

Windows Service, also known as Windows Service, is the foundation of Windows operating system and Windows network. It is part of the core of the system and supports various windows operations. Such as DNS clients, printers, Windows Update Services, scheduled tasks, Windows Time Services, and alarms. If you cannot properly manage these services
Will affect the normal operation of the machine

A service can be a win32executable program, and a worker is a process formed by running a. dll through rundll32.exe. (The original service is only a fewCodeBut Windows is a bunch of Code-. +)

However, it is different from a common application, such as word. When you open work, there will be an interface, and related processes will appear in the task manager, however, the Service neither has a user interface nor has its progress (for system services, there is no process with the same name as the service in the task manager, but the process svchost is a bit special, however, it is not in the scope of this article.
Rundll32to run the service in the task manager can only see rundll32.exe but not the actual DLL name ). In addition, it cannot run the corresponding. exe program directly and repeatedly. How does one control a service in windows?

Windows Services are managed by a more advanced services.exe Service, which is responsible for starting, stopping, running, and pausing services. The most common operation is to complete related operations through the Windows Service MMC interface.

How can I delete a software installed on a computer that is automatically registered as a system service (especially some rogue software) during installation ??

Method 1:

First, you need to completely disable unnecessary services. After restarting the system, you can modify the Registry to delete it: locate the "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services" branch in the registry, it lists the registry key values of each service in the current system. You can delete the corresponding project to remove it from the Service Manager Console.

Method 2:

Use the Windows Command SC .exe.

Start-> Run-> cmd.exe, and then enter SC to see it.

Easy to use: Delete "service name" (if there is a space in the middle of the service name, you need to quote it)

Special Cases

Hosts file because it is a Windows system file. In this case, you only need to clear the program running rundll32.

2. If a service is automatically created after it is deleted, it indicates that there are processes in the background to monitor and protect it. You must first kill the corresponding process in the Process Manager, or press F8 after it is started to delete it in safe mode.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.