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?
- Services console (services.msc)Answer
- BTask Scheduler (taskschd.msc)
- CComponent Services (dcomcnfg.exe)
- DPerformance Monitor (perfmon.msc)
Answer
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.
Step-by-Step Solution
Key Concept
Windows Services Recovery configuration settings