Soru

Zorluk: Çok zorWindows Administrative and System Management Tools

A systems administrator is configuring a critical line-of-business daemon operating as a background process on a Windows 11 Workstation. The organization requires that if the service process crashes, the operating system must automatically attempt to restart the service on the first failure, execute a custom PowerShell remediation script on the second failure, and trigger a computer reboot on any subsequent failures. Which administrative tool should the administrator use to configure these tiered failure response actions?

  1. Services console (services.msc)Cevap
  2. B
    Task Scheduler (taskschd.msc)
  3. C
    Component Services (dcomcnfg.exe)
  4. D
    Performance Monitor (perfmon.msc)

Cevap

The Services console (services.msc) is the correct tool because its Recovery tab provides native configuration for multi-stage service failure responses, such as restarting the service, running an external program or script, or restarting the computer.
The Services console (services.msc) includes a Recovery tab in the properties window of any installed service. This tab allows administrators to specify independent actions for the first failure, second failure, and subsequent failures, including restarting the service, running an external program or script, or initiating a system reboot.

Adım Adım Çözüm

1
Identify the target system component and requirement
The requirement specifies configuring automated recovery actions for a Windows background service based on crash frequency (first, second, and subsequent failures).
Windows service lifecycle and failure recovery policies are managed directly by the Service Control Manager.
2
Evaluate candidate Windows administrative utilities
The Services console (services.msc) contains the Recovery tab under service properties specifically tailored for configuring First failure, Second failure, and Subsequent failure responses (Restart the Service, Run a Program, Restart the Computer).
Other utilities like Task Scheduler or Performance Monitor serve different administrative functions and lack native service recovery policy controls.

Anahtar Kavram

Windows Services Recovery configuration settings
Bu soruyu puanla