Windows export a power profile

Intro

In business, it happens regularly when we make Windows images for MDT / WDS, that we want to save the power profile so that we can import it across the fleet.

Certain business application does not support standby when the user does not disconnect from it.

On Windows, the powercfg command line tool allows you to export and import the power modes.

On the reference computer, open a command prompt with administrator.

Displays the list of power modes

powercfg /list

Result :

Modes de gestion de l’alimentation existants (* Actif)
-----------------------------------
GUID du mode de gestion de l’alimentation : 381b4222-f694-41f0-9685-ff5bb260df2e  (Utilisation normale) *
GUID du mode de gestion de l’alimentation : 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  (Performances élevées)
GUID du mode de gestion de l’alimentation : a1841308-3541-4fab-bc81-f71556f20b4a  (Économie d'énergie)

Export a power plan

powercfg -EXPORT C:nom-de-fichier.pow {GUID}

This command exports the mode to identify the GUID in a file.

Example :

powercfg -EXPORT c:profil-alim.pow 381b4222-f694-41f0-9685-ff5bb260df2e

Import a power plan

powercfg -EXPORT C:nom-de-fichier.pow

Change the default power mode

powercfg -SETACTIVE {GUID}

Example :

powercfg -SETACTIVE 9e8a06b8-19fa-430d-ba57-34c08fee489e


Comments are not currently available for this post.