28,659 questions
OMA Client provisioning XML on Windows 11
Hariharan Iyer
1
Reputation point
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
Sign in to answer