Discover Forefront Identity Manager Service

Microsoft.Forefront.IdentityManager.2010.Service.Discovery (Discovery)

This discovery uses the Windows Registry to see if the FIM Service is installed.

Knowledge Base article:

Summary

This discovery uses the Windows Registry to see if the FIM Service is installed.

Element properties:

TargetMicrosoft.Windows.Computer
EnabledTrue
Frequency43200
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.Forefront.IdentityManager.2010.Service.Discovery" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Forefront.IdentityManager.2010.Service">
<Property TypeID="Microsoft.Forefront.IdentityManager.2010.Service" PropertyID="DatabaseName"/>
<Property TypeID="Microsoft.Forefront.IdentityManager.2010.Service" PropertyID="DatabaseServer"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>DatabaseName</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\FIMService\DatabaseName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>DatabaseServer</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\FIMService\DatabaseServer</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ProductID</AttributeName>
<Path>SOFTWARE\Microsoft\Forefront Identity Manager\2010\Service\Registration\ProductID</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>43200</Frequency>
<ClassId>$MPElement[Name="Microsoft.Forefront.IdentityManager.2010.Service"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Forefront.IdentityManager.2010.Service"]/DatabaseName$</Name>
<Value>$Data/Values/DatabaseName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Forefront.IdentityManager.2010.Service"]/DatabaseServer$</Name>
<Value>$Data/Values/DatabaseServer$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/ProductID</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>.+</Pattern>
</RegExExpression>
</Expression>
</DataSource>
</Discovery>