Checks to see if a Windows service is configured to ‘automatically restart’ in case of service failure (service properties, Recovery tab). Use in a two-state monitor targeting a Windows operating system class. Script accepts one parameter – the name (not display name) of the Windows service.
Works with OpsMgr 2007 or Essentials 2007 / 2010. For help in implementing,see this tutorial: