[Recommended] how to delete windows Services

Source: Internet
Author: User

1. What is Windows service?


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 these services cannot be properly managed, the normal operation of the machine will be affected.
First, a service is a win32executable program, and then rundll32.exe runs a. dll process.
Unlike common applications, if you open WORD, there is an interface, but the service has no user interface. It is also unable to run the corresponding. exe program through double-attacks. 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.

 

 

Ii. How to delete Windows Services

Nowadays, rogue software is increasingly registering itself as a service. In the Hijackthis scan log, services in non-Windows systems are generally listed as 023, as shown in the following section:
O23-unknown-Service: BKMARKS [provides a data security protection mechanism for the transmission protocol to effectively maintain the security and integrity of data transmission.] -C: \ WINDOWS \ SYSTEM32 \ RUNDLL. EXE
O23-unknown-Service: ewido anti-spyware 4.0 guard [ewido anti-spyware 4.0 guard]-D: \ Program Files \ ewido anti-spyware 4.0 \ guard.exe
O23-unknown-service: ksd2service [ksd2service]-c: \ windows \ system32 \ svch0st.exe
In these cases, the software deletes the relevant .exe file so that it cannot run any more, or directly clears the service itself so that it will not start again when the computer restarts.
There are two ways to delete:

 

Method 1: Use the Windows Command SC .exe.


Start -- .exe and enter SC. The method is simple:
SC Delete "service name"(Note: if there is a space in the middle of the service name, it must be enclosed in quotation marks)
For example:SC delete KSD2Service

 

 

Method 2: directly edit the Registry (not recommended)

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.
Note: You can also modify many attributes, such as the path (ImagePath), which cannot be changed in the control panel.
Iii. 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.
 

 

 

 

 

 

InstallSome software, such as Apache, Oracle, mysql, etc,

But there are still these projects in Services, and how to make these useless Service What about bottom-test deletion?

You can delete or edit the entry in the registry!

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ mysql

 

 

 

 

 

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.