There are two methods:
1. Termination by process name
This method is implemented through the taskkill command in the WINXP system. before using this method, you must first open the task manager and find the process you want to terminate, then, execute CMD in the "run" dialog box, and then execute "taskkill/im xxx" in the doscommand, where XXX is the process you want to terminate, note that the process name must be complete (that is, the extension must be included ).
To forcibly terminate multiple processes with the same name, run the following command:
Taskkill/f/fi "imagename EQ note *"
2. termination based on the process number
This method can be implemented only in Windows or later systems. The format is as follows:
Ntsd-C q-p pid is more powerful than taskkill. In addition to the system process. EXE, CSRSS. in addition to terminating the EXE process, it can basically deal with all other processes, but you must know the process number you want to kill before using it, the system process list page does not display a specific process number by default. You can first open the system task manager, and then click "Select column" under the "View" menu ", in the pop-up setting box, select the "PID (process identifier)" option, click "OK", and then open the task manager to view the PID of the process, the last thing to do is to execute the ntsd-C q-p process number (the PID mentioned above) at the DOS prompt to forcibly terminate the process !!!!
TheArticleReference: http://www.zbedu.net/jeast/003341.html