Sysprep reset powrr plan settings


  1. Posts : 8
    windows 7 64 bit enterprice
       #1

    Sysprep reset powrr plan settings


    Hi,
    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??

    Regards,

    Michel v
      My Computer


  2. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #2

    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:

    Code:
    %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:

    Code:
    %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:

    Code:
    <settings pass="generalize"> 
          <component name="Microsoft-Windows-PnpSysprep"> 
                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> 
          </component>
    </settings>
    Kari
      My Computer


  3. Posts : 8
    windows 7 64 bit enterprice
    Thread Starter
       #3

    Hi,

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 10:10.
Find Us