Now in truth this will ALSO apply to any vendor device like the Dell Venue 8 Pro, HP ElitePad or ANY device running a 32bit or 64bit version of Windows.

One of the challenges you will encounter is when you go to re-image the device with your Corporate image and even with MDT.   The Power just NEVER feels right from a Stock vendor configuration.

That’s because not only will you no longer have the default optimized Power profile Dell, Lenovo, Acer, Asus or HP created.  But if they did any specialized tuning in the Registry all that gets restored back to a stock configuration.

Most of the time you might not notice and things work pretty well.    But I figured I’d share a little trick to make your lives easier.

First you have the Registry key which contains all the deep deep settings for the Power Configuration.

It’s located at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Power.    You can capture this in any number of fashions including PowerShell.

However I like creating a standard .REG file which you can view / edit.    To capture this key in Windows just launch a PowerShell or CMD prompt as Administrator and run

REG EXPORT HKLM\System\CurrentControlSet\Control\Power Power.REG

You can now copy this file called Power.REG off the machine in question to a backup source for reimaging.

Now the more interesting part.  Capturing all of the Power Profiles created by the vendor.   

The problem is the Process is VERY manual.    Presently you do the following


See the list of Names and GUIDS

Copy the GUID you want off the screen (Copy Paste)

Type in

PowerCFG /Export filename.pow (Paste in or manually type that big long GUID here)

Repeat until its all done or your eyes go blurry.

…. or you could just run this little PowerShell script and have it do the dirty work for you.   In actual code I code have done something pretty with Regular Expressions I suppose, but well… it works.   You can also build and improve from there.    But this will capture all of the Power Profiles and create a .Pow filename for each Profile.

$PowerList=(PowerCfg /List)
For($x=3; $x -lt $PowerList.count; $x++)
PowerCfg /Export “$PowerName.pow” $PowerGuid

You can then afterwards import the profiles individually using the following command on the destination machine.   Again the PowerShell prompt should be run as Administrator.

PowerCfg /Import filename.pow

…or if you like you can copy all of the profiles over to the reference computer and execute the following PowerShell Script to do all of your dirty work for you Smile

get-childitem *.pow | foreach { (PowerCfg /Import $_.Fullname) }

Hopefully this will save you extend your Battery life on your re-image devices Smile


The Energized Tech