PersistAllDeviceInstalls setting indicates whether all plug and play devices on the destination computer remain installed during the generalize configuration pass.
To speed up the deployment of a group of computers that have identical hardware configurations, you can instruct Windows Setup to maintain the driver settings from the reference computer when you capture a Windows image. When you apply the image to identical destination computers, the drivers are correctly configured.
To instruct Windows Setup to maintain the driver settings, prepare the computer for image capture by generalizing the computer with an answer file that includes the Microsoft-Windows-PnpSysPrep\
The hardware must be connected to identical locations and must use the same drivers, and the drivers must have a consistent, unique naming scheme. If the hardware is not identical, severe system problems may result.
To avoid driver conflicts, each device should have driver files associated with it that include unique service names, registry key values, and binary filenames.
Avoid using the
PersistAllDeviceInstalls setting when the hardware and the hardware configuration on the reference computer are not identical to the destination computers. Even seemingly minor changes to the hardware or hardware configuration can cause severe or easily overlooked problems.
For more information on maintaining driver configurations when capturing a Windows image, see this Microsoft website.
Specifies that plug and play devices remain installed on the destination computer during the generalize configuration pass. The devices then do not need to be reinstalled during the specialize configuration pass.
Specifies that plug and play devices are uninstalled during the generalize configuration pass. If the devices are on the computer during the next specialize configuration pass, they are reinstalled.
This is the default value.
Valid Configuration Passes
Microsoft-Windows-PnpSysprep | PersistAllDeviceInstalls
For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-PnpSysprep.
The following XML output specifies that device drivers remain be installed on the destination computer during the generalize configuration pass.
Maintain Driver Configurations When Capturing a Windows Image