End the process with a command provided by Windows

Source: Internet
Author: User

General processes can be closed through the Windows Task Manager, but if a suspicious process cannot be closed in the Task Manager (especially the processes called by viruses cannot be closed directly from the task manager.
In this case, you can use the tool that comes with windows to forcibly close the process. Be sure not to kill the system core process in the process:

1. For Windows XP and later systems, you can use the following command:

Taskkill/PID processid/F/T
(Note: The parameter/F indicates "Force terminate process", and the parameter/T indicates "Terminate the specified process and the sub-process started by it ")

For example, to end a process with process number 1100, enter taskkill/PID 1100/F/T.

 

2. For Windows and later systems, you can use the following command:

Ntsd-C q-P PID
(Note: The-p parameter indicates that the PID is followed by the process, and the-C q parameter indicates that the DEBUG command to exit ntsd is executed)

Because ntsd automatically obtains the debug permission, ntsd can kill most processes (except the three core processes required to call the ntsd command .)

# Operating System

Related Article

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.