How to Remove Invalid Windows Services
Method 1: Start with the Windows command sc.exe -- run -- cmd.exe, and then enter sc query to see it. The method of use is very simple: sc delete "service name" (if there is a space in the service name, you need to add quotation marks) as for the above: sc delete KSD2Service
Method 2: Edit the registry directly (not recommended) Open the registry editor , find the following key value: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services General service will display a main key here with the same name, just delete the relevant key value directly.
Special circumstances:
1. If the service displays rundll32.exe, and this file is located in the system32 directory, then the rundll32.exe file cannot be deleted, it is a Windows system file. At this time, you only need to clear the related services.
2. If a service is deleted and it is automatically established immediately, it means that there is a process monitoring and protecting in the background. You need to kill the corresponding process in the process manager first, or press F8 after startup to delete it in safe mode.