8 Replies Latest reply on Jul 23, 2010 3:40 PM by Bill Robinson

    How to wildcard a Registry Value Part?

    Vinnie Lima

      Hi,

       

      Trying to create a component template which checks all windows servers if they have a Teamed NIC.  The way I'd like to do this is to check to see for the presence of a Registry Value "TeamType" under any subtree of "HKEY_LOCAL_MACHINE\system\currentcontrolset\control\class"

       

      How can I only discover devices which contain the registry key?  The subdirectory below the reg path listed above will vary but will always be 2 subdirectories deep, e.g.:

       

      HKEY_LOCAL_MACHINE\system\currentcontrolset\control\class\{8950354958}\0009

       

      or

       

      HKEY_LOCAL_MACHINE\system\currentcontrolset\control\class\{7890758937593}\0002

       

       

      The registry value is always "TeamType"

       

      Thanks,

      Vinnie