Hi Chris Lovett,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Try adding the PersistAllDeviceInstalls
setting which ensures that Sysprep does not remove device drivers during the generalization process. You need to configure this in the unattend.xml
file.
The CopyProfile
feature allows user installed apps that you have installed into the default user profile. You need to add the CopyProfile
feature in the unattend.xml
file. Create the file and place it in a location where sysprep can read it. You need to give the path in the command prompt as Administrator and run the command sysprep /generalize /oobe /shutdown /unattend:C:\unattend.xml
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<CopyProfile>true</CopyProfile>
</component>
</settings>
</unattend>
If you have any further queries, please do let us know.