Soru

Zorluk: OrtaMicrosoft Command-Line Tools

A system administrator is remotely troubleshooting a Windows 11 workstation where a custom line-of-business database process has frozen. The administrator opens an elevated Command Prompt and needs to identify the Process Identifier (PID) of the non-responsive executable (`dbengine.exe`) and then forcefully terminate it using that PID. Which of the following commands or command-line switches should the administrator execute to complete these tasks? (Select TWO.)

  1. tasklistCevap
  2. taskkill /pid <PID> /fCevap
  3. C
    kill -9 <PID>
  4. D
    taskkill /im <PID> /r

Cevap

The administrator should run 'tasklist' to locate the process identifier (PID) and 'taskkill /pid <PID> /f' to forcefully terminate the process using its PID.
To view running processes and discover their assigned Process Identifiers (PIDs) in Windows Command Prompt, the 'tasklist' utility is used. Once the PID is identified, 'taskkill /pid <PID> /f' is used to forcefully terminate the process by targeting its PID with the /pid parameter and forcing termination with the /f parameter.

Adım Adım Çözüm

1
Identify the running process PID
Obtain the numerical PID associated with dbengine.exe
Executing 'tasklist' outputs active system processes alongside their assigned PIDs.
2
Force terminate the frozen process by PID
The unresponsive application process is closed forcefully
'taskkill /pid <PID> /f' specifies the target process by PID and applies the force flag (/f) to stop unresponsive applications.

Anahtar Kavram

Windows Process Management Utilities (tasklist and taskkill)
Bu soruyu puanla