Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am sysprepping Windows Server 2012 Standard to be used as a VM template. I want to preserve drivers installed by VMWare Tools such that the mouse won't lag in new installations. If I just run a normal sysprep /oobe /generalize, the drivers will get lost. The mouse will lag. Repairing the VMWare Tools installation fixes the issue.

In Windows Server 2008 R2 I solved this issue by telling sysprep to preserve plug and play drivers, but I have no idea how to do this when sysprepping 2012.

share|improve this question

1 Answer 1

You can persist device drivers when you run the Sysprep command together with the /generalize option. To do this, specify the PersistAllDeviceInstalls setting in the Microsoft-Windows-PnPSysprep component. During the specialize configuration pass, Plug and Play scans the computer for devices, and then installs device drivers for the detected devices. By default, the computer removes these device drivers from the system when you generalize the system. If you set the Microsoft-Windows-PnPSysprep\PersistAllDeviceInstalls setting to true in an answer file, Sysprep doesn't remove the detected device drivers.

Source

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.