Skip to main content

Stuck Service Detection

Summary

This document describes a remote PowerShell monitor that detects stuck services in a state other than Running or Stopped.

Details

Suggested "Limit to": Windows Machines
Suggested Alert Style: Once
Suggested Alert Template: ~Autofix - Remove Stuck Services

Insert the details of the monitor in the table below.

Check ActionServer AddressCheck TypeCheck ValueComparatorIntervalResult
System127.0.0.1Run FileSee BelowMissing900Blank

Check Value:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command "Get-Service | Where-Object {$_.Status -ne 'Running' -and $_.Status -match 'ing'} | Select-Object -ExpandProperty Name -ErrorAction SilentlyContinue"

Dependencies

Stuck Service Action

Target

Windows Machine