How to terminate one or more processes in Windows

Source: Internet
Author: User

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

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.