Configure Power Settings Doesn't Apply the Power Plan
Use this page when you deploy a custom power plan (.pow file) with the
Configure Power Settings
PowerBrick and the power plan isn’t applied.
The power plan isn’t applied, but the job succeeds
Section titled “The power plan isn’t applied, but the job succeeds”Problem
Section titled “Problem”The Company App or script that deploys the .pow file ends without errors, but the power plan
from the file isn’t applied on the endpoint.
The .pow file isn’t on the device when the brick runs. The files under Source Files are on
the endpoint only after a Download Content brick has run. Without a Download Content brick
before Configure Power Settings, the .pow file isn’t on the device. The brick then uses its
own settings instead, and if they’re all Not Configured, nothing changes and the job still
succeeds.
Solution
Section titled “Solution”- Open the Company App or script, select Edit, and click Open PowerBrick Editor.
- Add a Download Content brick before Configure Power Settings in the Install sequence.
- Click Close, and save.
- Redeploy the app or script to the endpoints.
The .pow file is downloaded to $PackageRoot, and the brick imports it.
Power plan import fails with exit code 1603
Section titled “Power plan import fails with exit code 1603”Problem
Section titled “Problem”The deployment fails. The agent log shows:
SCRIPT ENDED WITH EXITCODE: 1603powercfg.exe /import returns exit code 1 with this error:
The value specified is malformed, or is not within the range of the target power setting.The exported .pow file is damaged, or it has a value that Windows rejects on import. Why an
export becomes damaged is not yet known.
Solution
Section titled “Solution”Don’t edit the .pow file by hand. Create a new one instead:
-
On a reference device, go to Control Panel → Power Options → Change plan settings → Change advanced power settings.
-
Set all the AC (plugged in) and DC (on battery) values you need.
-
Export the power plan to a new file:
powercfg /export "<path>.pow" <SchemeGUID> -
On a test device, check that the new file imports without errors:
powercfg /import "<path>.pow" <SchemeGUID> -
Replace the old file in
$PackageRootwith the new file, then deploy the PowerBrick again.
The power plan imports, and the deployment succeeds.