What if Task Manager cannot end the process?

Source: Internet
Author: User
Tags current time

method One, to end a process with system permissions

The fundamental idea of this approach is to run Task Manager Taskmgr.exe with the privileges of system and to end any process with system permissions. To use the AT command. The specific methods are as follows:

1. Enter the command line interface by using cmd in the start → run window.

2. Enter the time/t to get the current time, if it is 16:03.

3. Enter the at 16:05/interactive taskmgr.exe command so that you can start running Task Manager after 2 minutes (Figure 1).

4. In the task manager that runs with the AT command, we gain system privileges and can end processes that cannot be ended.

  Method two, using the Taskkill command to end the process

The idea of this method is that in the CMD mode, first of all, in a way to get the end of a process identifier (that is, the PID number), and then use the Taskkill command based on the PID number to end the process. The specific methods are as follows:

First, the PID number of the related process is found by tasklist.

The syntax format is: TASKLIST/SVC

You can also display the process number from the Task Manager window, which is foolproof when the Taskkill command shows the correct response.

The way to get process numbering in Task Manager is: Open the System Task Manager window, click Select Columns under the View menu item, and in the box that pops up, select the PID (process marker) option and click OK (Figure 2). When you return to the System Process list page, you can see the PID for the virus process or the specific process you want to end (Figure 3). Write it down.

The next step is to turn off the process by taskkill the PID command. Assuming that the Exploror.exe PID for the above method is 1888, the command to end the process is:

Taskkill 1888

You can also end a process with a process name, in the following syntax:

TASKKILL/IM Process name/F

The process numbering method is easier to identify than the process name and is not easily mistaken, so it is preferred.

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.