RegistryDiscoveryType Complex Type

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The RegistryDiscoveryType complex type, in Configuration Manager, defines discovery information for settings discovered from the Windows registry.

<xs:complexType name="RegistryDiscoveryType">
    <xs:complexContent>
        <xs:extension
            base="DiscoverySourceType"
        >
            <xs:sequence>
                <xs:element name="Key"
                    type="RegistryKeyPathType"
                 />
                <xs:choice>
                                    <xs:element name="ValueName"
                                       type="RegistryValueNameType"
                                      />
                    <xs:element name="ValuePattern"
                        type="RegistryNameFilterType"
                     />
                </xs:choice>
            </xs:sequence>
            <xs:attribute name="Hive"
                type="RegistryHiveType"
                use="required"
             />
            <xs:attribute name="Depth"
                type="SearchDepthType"
                use="optional"
             />
            <xs:attribute name="Is64Bit"
                type="boolean"
                use="required"
             />
            <xs:attribute name="IsPerUser"
                type="boolean"
                use="optional"
             />
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Child Elements

Element Type Description

Key

RegistryKeyPathType

The path to the key in the registry, excluding the hive information, that is the base of the search.

This path can contain environment variables.

ValueName

RegistryValueNameType

The name of the registry value under the registry key given by the Key element above.

Attributes

Name Type Description

Depth

SearchDepthType

The registry hive to search in.

Hive

RegistryHiveType

The search scope to use:

"Base" is the exact registry key as defined by the given registry path. This is the default if no depth is specified.

"OneLevel" means to match against the immediate registry keys under the one specified in the path.

"Subtree" means to match against all registry keys under the registry key pointed to by the path.

Is64Bit

Boolean

If true, only the native location is searched for the matching registry key.

If false, both the native and redirected locations are searched.

See Also

Concepts

Authoring Desired Configuration Management Configuration Baselines and Configuration Items