Remove unwanted services under Windows

Source: Internet
Author: User


Start "--" run "--" msconfig "enter

In the "services" can be found
To delete a service entry, open the registry ("Start"--"Run"-"regedit") and then turn on Hkey_local_machine\system\controlset001\services, Remove the service item you wish to delete from the registry.
It is recommended to use the auxiliary software to manage your registry entries (such as 360 security guard as well as the Windows optimizer you say) instead of using the Registry Editor
How to completely delete a system service item
With the SC Delete command, if there is a space in the service name, enclose the service name in half-width double quotation marks, such as SC delete "Adobe LM Service", and the services sub-key is generally not allowed to be deleted, but you can delete the relevant sub-keys under it. But if the non-system itself comes with services, you can delete, especially the virus class, usually to end the virus process after the deletion, otherwise it may be refused to delete, but if the system comes with the service, please do not delete it without permission.


First, delete the service
Method One: Use sc.exe this Windows command
Start-run--cmd.exe and enter SC to see it. The way to use it is simple:
SC Delete "service name" (if there is a space in the middle of the service name, it needs to be quoted), the service name can be found in the properties of the service, do not mistake the service name for the display name.
As for the above: SC delete ksd2service
Method Two: Edit the Registry directly
Open Registry Editor and locate the following key value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services General Service will show a key in the same name here, directly delete the relevant keys can be.
Method three, special situation
1, if the service display is rundll32.exe, and this file is located in the System32 directory, then you can not delete this rundll32.exe file, it is the Windows system files. Then just clear the relevant services.
2, if a service deleted immediately and automatically established, indicating that there is a process in the background monitoring, protection. You need to kill the corresponding process in the Process Manager first, or press F8 after startup to remove it in safe mode.
Second, add services
You cannot add or remove services in the Services window of a Windows XP system, and there are several common ways to do this:
Method 1: Modify the Registry
Type "Regedit.exe" in Start → run, open Registry Editor, expand the Branch "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services", The native installed service items are displayed in the right pane.
If you want to create a new service, simply click "edit → new → item" and name it, such as "test", then right-click on the item and select "New → string Value" or "New →dword value". Add a service item specific key values to add are as follows:
"DisplayName", string value, corresponding to the service name;
"Descrīption", string value, corresponding service description;
"ImagePath", string value, the path to which the program should be serviced;
"ObjectName", String value, value "LocalSystem", indicating local login;
"ErrorControl", DWORD value, Value "1";
"Start", a DWORD value of 2 for Autorun, a value of 3 for manual operation, and a value of 4 to prohibit;
"Type", DWORD value, application corresponds to 10, other corresponds to 20.
Also, create an Enum item under "Test". Follow the above steps to add the QQ program as a service, after restarting the computer, open the "Services" window, you can see just added QQ service
If you want to delete a service, just delete the key value of the registry, in this case, to delete the QQ service, delete the "hkey_local_machine\system\currentcontrolset\services\test" branch directly.
Method 2: Leverage third-party tools
APP to Service V2.7 is a small program with a command line interface, which is: http://www.skycn.com/soft/6397.html. It can also be used to add and revise system services, as follows:
1. Add a service
Press ENTER, type the following command: Apptoservice/install the path and name of the program, then enter again to confirm.
2. Delete a service
Input command: Apptoservice/remove A service name that currently exists
3. Delete all Apptoservice services
Input command: Apptoservice/removeall
4. Start All Apptoservice Services
Input command: Apptoservice/startall
5. Stop All Apptoservice Services
Input command: Apptoservice/stopall
Note: Here Apptoservice service refers to all the services added through Apptoservice, not the original service of the system.


To delete the service is to understand what the service is a thing, the enemy can delete the rest assured. So let's see what the service is all about.
The Windows service, also known as Windows Services, is the foundation of the Windows operating system and the Windows network and is part of the core of the system and supports various operations across Windows. Services such as DNS clients, print programs, Windows Update Services, scheduled tasks, Windows Time services, alarms, and so on, are related to whether the machine works correctly. If these services are not properly managed, they can affect the normal operation of the machine
A service can be a Win32 executable, or a process that is formed by running a. dll through rundll32.exe. (The original service is just some code, but Windows is a bunch of code-.+)
However, unlike a normal application, such as word, open work will have an interface in the Task Manager will also appear in the relevant process, but the service has no user interface or its process (for system services in the Task Manager is not the same as the service name of the process, But svchost this process is a bit special, but it is not in the scope of this article, for the service running through Rundll32 can only see Rundll32.exe in the Task manager and not see the actual DLL name). It is also not possible to run the corresponding. exe program directly by double-clicking it. And how does Windows control a service?
The services of Windows are managed by a higher level of services.exe, which manages and is responsible for initiating, stopping, running, pausing, and so on. Our most common operation is to do this through the Windows Service MMC interface.
Once installed on the computer software, the installation of the software automatically registered as a system service (especially some rogue software), then how to delete it??
Law One:
First, you need to disable the service that you do not need, and after rebooting the system you can delete it by modifying the registry: Locate the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services" branch in the registry, It lists the registry key values for each service in the current system, and deletes the corresponding items to make it disappear from the Service Manager console.
Law II:
With Sc.exe this Windows command
Start-and-run->cmd.exe, then enter SC to see it.
The way to use it is simple: delete "service name" (if there is a space in the middle of the service name, you need to quote it back and forth)
Special cases
1, if the service shows Rundll32.exe, and this file is located in the System32 directory, then you cannot delete this rundll32.exe file, because it is Windows system files. At this point, just clear the Rundll32 run the program is ready.
2, if a service deleted immediately and automatically established, indicating that there is a process in the background monitoring, protection. You need to kill the corresponding process in the Process Manager first, or press F8 after startup to remove it in safe mode.
Game Life Answer Adoption rate: 8.8%2009-12-23 22:10
Good: 2
Bad: 0
No need to delete, disable it.
Boring answer Adoption rate: 26.4%2009-12-23 22:10
Good: 0
Bad: 0
There are two ways to delete:


Method One: Use sc.exe this Windows command
Start-run--cmd.exe and enter SC to see it. The way to use it is simple:
SC Delete "service name" (if there is a space in the middle of the service name, it needs to be quoted before and after)
As for the above: SC delete ksd2service


Method Two: Edit the Registry directly
Open Registry Editor and locate the following key value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services General Service will show a key in the same name here, directly delete the relevant keys can be.


Iii. Special Circumstances


1, if the service display is rundll32.exe, and this file is located in the System32 directory, then you can not delete this rundll32.exe file, it is the Windows system files. Then just clear the relevant services.


2, if a service deleted immediately and automatically established, indicating that there is a process in the background monitoring, protection. You need to kill the corresponding process in the Process Manager first, or press F8 after startup to remove it in safe mode.



Remove unwanted services under Windows

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.