Soru

Zorluk: KolayMicrosoft Command-Line Tools

A helpdesk technician needs to forcefully end a frozen process named `app_service.exe` using the Windows Command Prompt. Which TWO of the following parameters must be included with the `taskkill` command to terminate this process by its executable name? (Select TWO.)

  1. /fCevap
  2. /im app_service.exeCevap
  3. C
    -9
  4. D
    /scannow

Cevap

The correct parameters to include with the `taskkill` command are `/f` to force termination and `/im app_service.exe` to specify the target image name.
To forcefully end a process by its image name using `taskkill`, the `/f` parameter is required to force the termination of the unresponsive application, and the `/im` parameter is required to specify the target process's image name (`app_service.exe`). Combining these into `taskkill /f /im app_service.exe` achieves the desired outcome.

Adım Adım Çözüm

1
Identify the required command-line tool for ending processes in Windows.
The utility `taskkill` is used to end running tasks and processes.
Windows provides `taskkill` for terminating tasks via PID or image name.
2
Select the switch to target the process by its executable name.
Use `/im` followed by the executable file name (`app_service.exe`).
The `/im` parameter specifies the image name of the process.
3
Select the switch required to forcefully terminate a frozen process.
Include the `/f` switch.
Unresponsive or frozen processes require forceful termination to close.

Anahtar Kavram

Windows Taskkill Utility Switches
Tahmini Süre:45s
Bu soruyu puanla