Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Sysprep reset powrr plan settings

21 Jul 2015   #1

windows 7 64 bit enterprice
Sysprep reset powrr plan settings

when i deploy win 7 ovf file on to a laptop the sysprep is resets my customize power plan ( never turen off). Is there a way to prevent it from reset the power settings??


Michel v

My System SpecsSystem Spec
21 Jul 2015   #2

Microsoft Community Contributor Award Recipient


Hi Michel, welcome to the Seven Forums.

An OOBE boot after the Sysprep is run always setups Windows in an Out-Of-Box-Experience, hence the name OOBE. This means that all settings are set to Windows defaults, including the power plan as well as Windows theme, colors and so on.

If you want your customizations to be kept you have to use the Generalize switch with the Sysprep command. It keeps all customizations done in Audit Mode. Please notice that Generalize also removes all hardware drivers if you have not set PersistAllDeviceInstalls to be TRUE in answer file.

Sysprep command to keep the customizations when the answer file is saved as unattend.xml in C:\Windows\System32\Sysprep folder:

%windir%\system32\sysprep\sysprep.exe /generalize /oobe
The same command when the answer file is saved on another location or has been named other than unattend.xml:

%windir%\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:X:\AnswerFile.xml
(Replace X:\AnswerFile.xml with full path of and name of your answer file.)

Use the PersistAllDeviceInstalls in answer file to keep hardware drivers if wanted when the Generalize switch is used with Sysprep command:

<settings pass="generalize"> 
      <component name="Microsoft-Windows-PnpSysprep"> 
My System SpecsSystem Spec
23 Jul 2015   #3

windows 7 64 bit enterprice


I have tryed it and it doesnt work. my problem is the power plan in the ovf does not match the laptop power plan. becuse as u know the power plan in the laptop have the " when u close the lid..." Is there a way to handle this issue??

Michel V
My System SpecsSystem Spec


 Sysprep reset powrr plan settings

Thread Tools

Similar help and support threads
Thread Forum
Power Plan Settings - Change
How to Change Power Plan Settings in Windows 7 This will show you how to change the settings for the power plan that you have selected to reflect how you want your Windows 7 computer to manage power usage. Here's How: 1. Open the Start Menu, and type powercfg.cpl in the search...
Edit Plan Settings interuptions
Hello, Looking for some help on a laptop problem. Whenever I go on the internet and try to go on a webpage the window for "Edit Plan Settings" (power) comes up. The options in the boxs have reset themselves to the factory defaults (Screen brightness, screen dim etc) This means I am unable...
General Discussion
Power plan - do not keep settings!
Hi, I'm running Win7Pro 64bit in a Tecra R840 laptop. My power planning regarding LCD brightness is 40% if running on batery and 100% if plugged in. The problem is that, for some reason, I can't keep these settings and Windows (?) change it to 40% on batery and plugged in. Example: I...
Performance & Maintenance
If I run Sysprep on Hp Elite 8200 OEM does the product key reset
Hello Need help deploying 70 HP Elite 8200 convertable mini towers with Windows 7 Pro. I took one of the desktops with the OEM image and added other applications to the image. I ran Sysprep/generalize/oobe and then captured the image using symantec recovery 2011. I then loaded the image to...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:55.
Twitter Facebook Google+