In general, we tend to end a process by choosing the right key task bar-task Manager-right side of the process-the end of the way. But in fact, we can also use the command to do more options for this operation.
First of all
* Start Menu-Program-attachment-command prompt
* Right Key-run as Administrator
* Enter Tasklist, and the following list appears:
Image Name PID session Name Mem Usage
========================= ======== ================ ============
Saayaa.exe 26356 Console 39,352 K
Regedit.exe 24244 Console 9,768 K
Cmd.exe 18664 Console 2,380 K
Conhost.exe 2528 Console 7,852 K
Notepad.exe 17364 Console 7,892 K
Notepad.exe 24696 Console 22,028 K
Notepad.exe 25304 Console 5,852 K
Explorer.exe 2864 Console 72,232 K
Next, if we want to end all of a program's processes, for example, Notepad.exe, you can enter
Taskkill/im notepad.exe/f
If you only want to end a process of a program, you can enter the process PID to implement, such as:
Taskkill/pid 17364/f
Here the F indicates a forced end. Material
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.