XenMobile Server

Custom XML device policy

You can create custom XML policies in XenMobile to customize the following features on supported Windows devices:

  • Provisioning, which includes configuring the device, and enabling or disabling features
  • Device configuration, which includes allowing users to change settings and device parameters
  • Software upgrades, which include providing new software or bug fixes to be loaded onto the device, including apps and system software
  • Fault management, which includes receiving error and status reports from the device


When creating your XML content, use the \% character with caution. The \% character is an XML reserved character, used only to escape XML special characters. To use \% in a name, encode it as \%25.

For Windows devices: You create your custom XML configuration by using the Open Mobile Alliance Device Management (OMA DM) API in Windows. Creating custom XML with the OMA DM API is beyond the scope of this topic. For more information about using the OMA DM API, see OMA Device Management on the Microsoft Developer Network site.


For Windows 10 RS2 Phone: After a Custom XML policy or Restrictions policy that disables Internet Explorer deploys to the phone, the browser stays enabled. To work around this issue, restart the phone. This issue is a third-party issue.

To add or configure this policy, go to Configure > Device Policies. For more information, see Device policies.

Windows Desktop/Tablet settings

  • XML content: Type, or cut and paste, the custom XML code you want to add to the policy.

    After you click Next, XenMobile checks the XML content syntax. Any syntax errors appear below the content box. Fix any errors before you continue.

    If there are no syntax errors, the Custom XML Policy assignment page appears.

Custom XML device policy