Hyper-V Program Manager
I got asked this question a couple of weeks ago – and I did not know the answer. After a bit of investigation – I now know the answer – and thought I would take the time to share it with the world (if you do not know what Sysprep is – go and read this first). The short answer is:
Everything just works.
The long answer is as follows:
Prior to Window Server 2008 R2 (namely in Windows Server 2008) you could run into a couple of problems. In Windows Server 2008 R2 we have implemented a Sysprep provider to ensure that everything goes smoothly. This provider does work during two of the phases of Sysprep:
The generalize phase of Sysprep is where an installed version of Windows is prepared to be duplicated – and all installation specific information is removed. During this phase Hyper-V makes a couple of key changes:
The specialize phase is run after the system image has been deployed to a new computer. Hyper-V makes the following change as part of this phase:
If you plan on turning a hyper-v VM to a "boot from VCD", you also need to sysprep it.
I have deployed WDS running perfectly without problems several months ago.
We can deploy images of Windows 7 and Windows Server 2008.
The issue is:
I have a computer, with windows server 2008 R2 in the host with Hyper-V enabled (obviously the virtualization techonology vt-x and DPE Data Execution Prevention features of BIOS are enabled). In Hyper-V I setup an .vhd. The host and the virtual machine runs perfectly.
I execute sysprep and I follow the standard steps of WDS to capture and deploy the image by network.
Now, there are two scenarios related to the configuration of the BIOS of the target machine.
If the vt-x feature of the target machine is disable, the image is deployed without problems, but when I run the virtual machine using the hyper-v it (the virtual machine) crashes (obviously) because the vt-x is disable. If I shutdown and turn on the feature, the OS of the host doesn't boot.
If the vt-x feature of the target machine is enabled, the images doesn't deployed correctly.
do you know, how can I fix that issue?
The target computers are HP 8100, and the BIOS version is 786H1 v01.05, firmware: 126.96.36.1995, management mode: AMT.
Thanks in advanced.