Share via


Registry DDF File

4/8/2010

This topic shows the device description framework (DDF) file for the Registry configuration service provider. DDF files and the example in this topic are used only for OMA DM provisioning.

For more information about OMA DM provisioning, see OMA Device Management.

Note

When using OMA DM to add a registry key, a child registry value must also be added in the XML code.

Note

The first line of the DDF file is the namespace reference for Microsoft custom properties. For more information, see Managing Microsoft Custom Properties (OMA DM).

<MgmtTree xmlns:MSFT="https://schemas.microsoft.com/MobileDevice/DM">
  <VerDTD>1.2</VerDTD>
  <Node>
    <NodeName>Registry</NodeName>
    <Path>./Vendor/MSFT</Path>
    <DFProperties>
      <AccessType>
        <Get />
      </AccessType>
      <DFFormat>
        <node />
      </DFFormat>
      <Occurrence>
        <One />
      </Occurrence>
      <Scope>
        <Permanent />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>The root node of registry</Description>
    </DFProperties>
    <Node>
    <NodeName>HKCR</NodeName>
    <DFProperties>
        <AccessType>
          <Get />
        </AccessType>
        <DFFormat>
           <node />
        </DFFormat>
        <Occurrence>
          <One />
        </Occurrence>
        <Scope>
          <Permanent />
        </Scope>
        <MSFT:RWAccess>3</MSFT:RWAccess>
        <MSFT:MinValue></MSFT:MinValue>
        <MSFT:MaxValue></MSFT:MaxValue>
        <MSFT:MaxLength></MSFT:MaxLength>
        <Description>HK_CLASSES_ROOT portion of device registry.  HK_CLASSES_ROOT stores file type matchine and OLE configuration data.</Description>
    </DFProperties>
    <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
      </AccessType>
      <DFFormat>
        <node />
      </DFFormat>
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry key.  Registry keys can have 0 or more sub keys and 0 or more registry values.</Description>
    </DFProperties>
    <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
        <Replace />
      </AccessType>
      <DFFormat>
        <chr />
      </DFFormat>
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool,  date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
  <Node>
  <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
        <Replace />
      </AccessType>
      <DFFormat>
        <chr />
      </DFFormat>
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool, date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
  <Node>
  <NodeName>HKCU</NodeName>
    <DFProperties>
      <AccessType>
        <Get />
      </AccessType>
      <DFFormat>
        <node />
      </DFFormat>
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Permanent />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>HK_CURRENT_USER portion of device registry.  HK_CURRENT_USER stores user-specific data for the user currently logged in.</Description>
    </DFProperties>
    <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
      </AccessType>
      <DFFormat>
        <node />
      </DFFormat>
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry key.  Registry keys can have 0 or more sub keys and 0 or more registry values.</Description>
    </DFProperties>
    <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
        <Replace />
      </AccessType>
      <DFFormat />
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
        <MSFT:MinValue></MSFT:MinValue>
        <MSFT:MaxValue></MSFT:MaxValue>
        <MSFT:MaxLength></MSFT:MaxLength>
        <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool,  date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
  <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
        <Replace />
        </AccessType>
      <DFFormat />
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool,  date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
    <Node>
    <NodeName>HKLM</NodeName>
    <DFProperties>
      <AccessType>
        <Get />
      </AccessType>
      <DFFormat>
        <node />
      </DFFormat>
      <Occurrence>
        <One />
      </Occurrence>
      <Scope>
        <Permanent />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>HK_LOCAL_MACHINE portion of device registry.  HK_LOCAL_MACHINE stores machine specific data.</Description>
    </DFProperties>
    <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
      </AccessType>
      <DFFormat>
        <node />
      </DFFormat>
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry key.  Registry keys can have 0 or more sub keys and 0 or more registry values.</Description>
    </DFProperties>
    <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
        <Replace />
      </AccessType>
      <DFFormat />
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool,  date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
  <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
         <Get />
         <Delete />
         <Replace />
      </AccessType>
      <DFFormat />
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool,  date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
  <Node>
    <NodeName>HKU</NodeName>
    <DFProperties>
      <AccessType>
        <Get />
      </AccessType>
      <DFFormat>
         <node />
      </DFFormat>
      <Occurrence>
        <One />
      </Occurrence>
      <Scope>
        <Permanent />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>HK_USERS portion of device registry.  HK_USERS stores data that applies to all users.</Description>
    </DFProperties>
  <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
      </AccessType>
      <DFFormat>
        <node />
      </DFFormat>
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
         <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry key.  Registry keys can have 0 or more sub keys and 0 or more registry values.</Description>
    </DFProperties>
    <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
        <Replace />
      </AccessType>
      <DFFormat />
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
        <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool,  date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
  <Node>
    <NodeName></NodeName>
    <DFProperties>
      <AccessType>
        <Add />
        <Get />
        <Delete />
        <Replace />
      </AccessType>
      <DFFormat />
      <Occurrence>
        <ZeroOrMore />
      </Occurrence>
      <Scope>
       <Dynamic />
      </Scope>
      <MSFT:RWAccess>3</MSFT:RWAccess>
      <DFType>
        <MIME>text/plain</MIME>
      </DFType>
      <MSFT:MinValue></MSFT:MinValue>
      <MSFT:MaxValue></MSFT:MaxValue>
      <MSFT:MaxLength></MSFT:MaxLength>
      <Description>This node represents a registry value.  This node must be unique within the parent node (registry key) it is defined in.  This node may be of the following formats: chr, int, bin, bool,  date and time.</Description>
    </DFProperties>
    </Node>
  </Node>
  </Node>
</MgmtTree>

See Also

Reference

Registry Configuration Service Provider