Windows Provisioning to configure power settings


  • I want to create a provisioning package (PPKG) to modify certain power settings. I read through the MSDN documentations and understand that I need to manually create an "Answer file" XML in order to generate the PPKG via WICD commandline. However there is no information regarding the needed schema for this "Answer file" at all. There is 1 single example for Sleep settings in the documentation here:

    Where can I find the other XML required tags and schema for the other setting subgroups? I tried using the tags of what the Sleep example used, but getting errors from WICD, saying I'm missing required child node. So clearly there is some additional XML tag/field. In particular I'm looking at the "Processor" setting subgroup.  Thanks

    Wednesday, March 29, 2017 7:24 PM

All replies

  • Hi Andrew,

    No, there is no other XML tag and schema.

    Check the following node and compare it with your own XML file

    <?xml version="1.0" encoding="utf-8"?> 
      <PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0"> 
        <ID>{7e5c6cb3-bd16-4c1a-aacb-98c9151d5f20}</ID>  <!-- ID needs to be be unique GUID for the package --> 
      <Settings xmlns="urn:schemas-microsoft-com:windows-provisioning"> 
                        <Default SchemeAlias="Balanced"> 
                          <!-- Duration of time after sleep that the system automatically wakes and 
                               enters hibernate in seconds --> 
                              <AcValue>1800</AcValue> <!-- 30 minutes --> 
                              <DcValue>1800</DcValue> <!-- 30 minutes --> 
                         <Default SchemeAlias="Balanced"> 
                           <!-- Enables/Disables only WiFi connection during standby --> 

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Thursday, March 30, 2017 7:26 AM
  • @Karen_Hu, I got that, it's in the same link I posted. The power settings I want to change definitely require additional tags, as error messages from WICD indicated. I did trial-and-error and managed to create an XML for the power settings I need, that can be built as PPKG on WICD commandline without error/complain. But the PPKG provisioning package still failed to install on target system with error code 0x800700b7. With the lack of XML documentation and any useful error log, it's really impossible to use this new Provisioning framework unless the settings you need are in the WICD GUI.
    Thursday, March 30, 2017 4:26 PM
  • Andrew,

    The power settings are not visible in the Windows ICD UI. All available groups are as below:

    Policy\Settings which includes the following subgroups:











    If you need other tabs, no way.

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Tuesday, April 4, 2017 7:17 AM