OMA Client provisioning XML on Windows 11

Hariharan Iyer 1 Reputation point
2022-05-31T15:26:36.383+00:00

Hello folks,

I know that Windows 11 supports OMA-DM, but I was wondering if it supports OMA-CP as well. To whit, I created an OMA-CP _setup.xml as follows

<wap-provisioningdoc>
<characteristic type="Policy">
    <characteristic type="Config">
        <characteristic type="Update">
            <parm name="ActiveHoursStart" datatype="integer" value=9/>
            <parm name="ActiveHoursEnd" datatype="integer" value=23/>
        </characteristic>
    </characteristic>
</characteristic>
</wap-provisioningdoc>

I then created a cab file of this with makecab, and tried to install the cab with Add-WindowsPackage cmdlet. It fails with the following error:

WARNING: Add-WindowsPackage failed. Error code = 0x80070002

I'm not sure if this is a problem with my XML, or this kind of cab installation is not supported on Windows 11 at all.

Any help with this will be appreciated!

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.