PersistAllDeviceInstalls

PersistAllDeviceInstalls indicates whether all Plug and Play devices are uninstalled during the generalize pass and then reinstalled during the specialize pass.

Typically, OEMs install the Windows reference image on computers that all use the same hardware. Because the hardware is the same on each computer, you can specify that Plug and Play information remains on the computer during the generalize pass. This eliminates the need to reinstall the information during the specialize pass. As a result, staged builds will typically take less time.

Values

true

Specifies that Plug and Play devices are not uninstalled during the generalize pass. The devices then do not need to be reinstalled during the specialize pass.

false

Specifies that Plug and Play devices are uninstalled during the generalize pass and then reinstalled during the specialize pass. This is the default value.

Valid Passes

generalize

Parent Hierarchy

Microsoft-Windows-PnpSysprep | PersistAllDeviceInstalls

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-PnpSysprep.

XML Example

The following XML output specifies that device drivers will not be uninstalled during the generalize pass.

<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>

See Also

Concepts

Microsoft-Windows-PnpSysprep