Add a complete OOBE configuration to unattend.xml

ProtectYourPC=3 enforces the most privacy respecting options, without prompting the user during install.

The combination of HideOEMRegistrationScreen=true and NeworkLocation=Home with HideLocalAccountScreen=false and HideOnlineAccounts=false allows for local and online account creation but prevents scenarios where online account only authentication is made a hard requirement.

SkipUserOOBE and SkipMachineOOBE are documented as deprecated, but both must be set to false otherwise the install will complete automatically without creating any user accounts, of any kind.
pull/279/head
Martin Wimpress 3 years ago committed by Martin Wimpress
parent fac46863c3
commit 8cec043b1d
  1. 10
      quickget

@ -632,8 +632,18 @@ function unattended_windows() {
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>false</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>false</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>false</SkipUserOOBE>
<SkipMachineOOBE>false</SkipMachineOOBE>
<VMModeOptimizations>
<SkipWinREInitialization>true</SkipWinREInitialization>
</VMModeOptimizations>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">

Loading…
Cancel
Save