Keeping drivers after running sysprep

Sysprep Windows Windows 8.1

When building an image that is to be used on multiple machines of the same type, it’s useful to keep the drivers after running SYSPREP.

To do this run the following prior to SYSPREP

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Settings\sppnp
Select Edit – New DWORD value
Name the new value PersistAllDeviceInstalls
Set to a value of 1 and click OK