2012 R2 - How to create VM template using Sysprep new switches

If you create a standard VM images in your hypervisor (HyperV 2012, Vmware...) that VM can be used as a template for any other VM creation using this switch and causes Sysprep to skip the physical device recognition phase:



sysprep.exe /oobe /generalize /shutdown /mode:vm

The only additional options that apply to VM mode are /reboot, /shutdown, and /quit.

Here is relative Technet article: