Question

Difficulty: EasyMicrosoft Command-Line Tools

A technician is troubleshooting a Windows workstation experiencing performance issues due to a frozen background process. The technician opens an elevated Command Prompt to locate the Process ID (PID) of the non-responsive program and terminate it directly from the command line. Which of the following command-line tools will accomplish these tasks? (Select TWO.)

  1. tasklistAnswer
  2. taskkillAnswer
  3. C
    top
  4. D
    resmon

Answer

The technician must use the command-line tools tasklist to identify the Process ID (PID) of the running process, and taskkill to stop or forcefully terminate the process.
The correct command-line tools are tasklist and taskkill. The tasklist command displays a detailed list of active application tasks and system services along with their respective PIDs. The taskkill utility allows technicians to terminate processes directly using command-line parameters such as process name (/IM) or Process ID (/PID).

Step-by-Step Solution

1
Execute the tasklist command in the Windows Command Prompt.
Obtain a tabular view of active application images, session names, and numerical Process IDs (PIDs).
Identifying the target application's PID is required prior to targeted process termination.
2
Execute the taskkill command specifying the identified PID (e.g., taskkill /PID <number> /F).
The specified unresponsive process is terminated successfully.
The taskkill command communicates with the operating system kernel to stop execution of the target process.

Key Concept

Windows Command-Line Process Inspection and Termination Utilities
Rate this question