Partilhar via


RegistryKeyType 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 RegistryKeyType complex type, in Configuration Manager, is used to describe discovery information for retrieving instances of registry keys and associated information.

<xs:complexType name="RegistryKeyType">
  <xs:complexContent>
    <xs:extension
      base="PartType"
    >
      <xs:sequence>
        <xs:element name="Key"
          type="RegistryKeyPathType"
         />
        <xs:element
          ref="Permissions"
         />
         <xs:any
             processContents="skip"
             minOccurs="0"
             maxOccurs="unbounded"
             namespace="##other"
         />
      </xs:sequence>
      <xs:attribute name="Hive"
        type="RegistryHiveType"
        use="required"
       />
      <xs:attribute name="ValidatePermissions"
        type="boolean"
        use="required"
       />
      <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

Local path to a key in the Windows registry excluding the hive information.

Attributes

Name Type Description

Hive

RegistryHiveType

The registry Hive to be searched for the setting.

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.

ValidatePermissions

Boolean

Indicates whether to validate permissions on the registry key instances.

See Also

Concepts

Authoring Desired Configuration Management Configuration Baselines and Configuration Items