Share via


Registry Configuration Service Provider Examples for OMA DM

4/8/2010

The following example can be used as a template to configure settings for the Registry configuration service provider. It shows the input and output XML, respectively, for adding information to the registry.

<Add>
  <CmdID>5001</CmdID>
   <Item>
     <Target><LocURI>./Vendor/MSFT/Registry/HKCU/Software/test_regvalue</LocURI></Target>
     <Meta>
       <Format xmlns="syncml:metinf">int</Format>
     </Meta>
     <Data>100</Data>
   </Item>
</Add>

The following example shows the output XML.

<Status>
  <CmdID>2</CmdID> 
  <MsgRef>1</MsgRef> 
  <CmdRef>5001</CmdRef> 
  <Cmd>Add</Cmd> 
  <Data>200</Data> 
</Status>

One provisioning XML file typically contains configuration information for multiple configuration service providers. To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.

For more information about changing the registry, see Changing Registry Settings by Using the Registry Configuration Service Provider and Querying Registry Settings by Using the Registry Configuration Service Provider.

See Also

Reference

Registry Configuration Service Provider

Concepts

Update or Add Settings to the Device