Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
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.

Copy Code
<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.

Copy Code
<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 Providerand Querying Registry Settings by Using the Registry Configuration Service Provider.

See Also