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:[B][COLOR="DarkRed"]X:\AnswerFile.xml[/COLOR][/B]
(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