Thursday, May 17, 2012

Using sysprep without removing drivers:


How to use sysprep without removing drivers:

Configure your answer file to persist the drivers by specifying the PersistAllDeviceInstalls setting in the Microsoft-Windows-PnPSysprep.

 
    true
 
Another way would be to configure the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Settings\sppnp set PersistAllDeviceInstalls to 1.

2 comments:

  1. In my case windows 8.1 you also need to set DoNotCleanUpNonPresentDevices = true with out this it doesn't work.
    It took me a few few hrs to figure it out since there is not reference to this anywhere..

    ReplyDelete
  2. From post above:
    https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-pnpsysprep-donotcleanupnonpresentdevices

    ReplyDelete