Ending system processes with invincible commands

  

A process is an execution of a program on a computer. When you run a program, you start a process. Obviously, the program is dead (static) and the process is alive (dynamic). Processes can be divided into system processes and user processes. The process used to complete the various functions of the operating system is the system process, they are the operating system itself in the running state; the user process is all the processes started by you. A process is a unit in which an operating system allocates resources. Some processes can't be ended by the "Task Manager". What if I encounter a Trojan? We can force this process to end, see the tips below.

Only Windows, SMSS.EXE and CSRSS.EXE can't be killed in the Windows operating system. The first two are purely kernel-mode, and the last one is the Win32 subsystem, which is required by ntsd itself. Since 2000, ntsd is the user-mode debugging tool that comes with the system. The process attached by the debugger exits with the debugger, so it can be used to terminate the process at the command line. Using ntsd automatically gets debug permissions, which can kill most of the process. Ntsd will open a new debug window, which could not be controlled under the pure command line, but if it is just a simple command, such as exiting (q), it can be passed from the command line with the -c parameter. NtsdNtsd is also provided to software developers by convention. Only system developers use this command. For more information, see the help file included with NTSD. Usage: Open a cmd.exe window and type:

ntsd -c q -p PID

Change the last PID to the ID of the process you want to terminate. If you don't know the ID of the process, Task Manager - Process tab - View - Select Column - check the "PID (process identifier)" and you will see it.

There are two easy-to-use tools for tasklist and tskill. The tasklist can list all processes, and the corresponding information. Tskill can kill the process, the syntax is very simple: tskill program name!

Copyright © Windows knowledge All Rights Reserved