PersistAllDeviceInstalls
set to true. For more information about Sysprep-related Windows unattend components, see the Unattended Windows Setup Reference for Microsoft-Windows-PnpSysprep.SkipRearm
answer file setting to reset the Windows Product Activation clock when running Sysprep. If you are using a volume licensing key or a retail product key, you don't have to use SkipRearm
because Windows is automatically activated.Sysprep /generalize
requires that all apps are provisioned for all users; however, when you update an app from the Microsoft Store, that app becomes tied to the logged in user account. The following error appears in the Sysprep log files (located at %WINDIR%System32SysprepPanther):<package name> was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
%WINDIR%system32sysprepsysprep.exe
to open the System Preparation Window. You can also use the Sysprep
command together with the /generalize, /shutdown, and /oobe options. See Sysprep command-line options to see available options./mode:vm
option with the Sysprep command-line.Generalize
setting. Set Mode
to OOBE or Audit, and set ForceShutdownNow
to true.Reseal
setting to the oobeSystem configuration pass. Set Mode
to Audit.