Saturday, August 12, 2017

Keep installed drivers after running SYSPREP


I need to keep installed drivers on an OS even after running SYSPREP, how do I do this?


There may be scenarios where its critical drivers are not removed from an OS instance when SYSPREP is executed. To do this run the following prior to SYSPREP
  • Run regedit and move to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Settings\sppnp 
  • Select Edit - New DWORD value 
  • Enter a name of PersistAllDeviceInstalls 
  • Set to a value of 1 and click OK