This posts walks you through how to create VMs from the Win2K8R2 vhds you can download from here. If you are an SCVMM / Hyper-V expert, you can skip this section.
Launch the downloaded exe
C:\vmimages>"Windows Server 2008 R2 Enterprise Evaluation (Full Edition).exe"
Extract the image to your MSSCVMMLibrary and make two copies (one for the TFS and another for the test machine)
c:\ProgramData\Virtual Machine Manager Library Files\VHDs>dir Volume in drive C has no label. Volume Serial Number is 2EA8-7235 Directory of c:\ProgramData\Virtual Machine Manager Library Files\VHDs 11/21/2009 07:07 AM <DIR> . 11/21/2009 07:07 AM <DIR> .. 10/30/2008 12:39 PM 125,440 Blank Disk - Large.vhd 10/30/2008 12:39 PM 35,328 Blank Disk - Small.vhd 08/10/2009 07:11 AM 6,939,326,464 TestW2KR2.vhd 08/10/2009 07:11 AM 6,939,326,464 TFSW2K8R2.vhd
Go to the “Library” tab in the SCVMM admin console (bottom left), click on the library server and select refresh. This will bring the vhd’s you copied just now to the library immediately. (The library by default gets refreshed once an hour).
Go to the “Virtual Machines” tab (bottom left) in the SCVMM admin console and select “New virtual machine” (top right). Select the “TestW2K8R2.vhd”
Give the VM a name
Change RAM to 1GB, and Connect it to network
Select the right OS flavor
and “select start after deploying it to the host”.
Follow the same steps for the TFS VM also, but change the RAM to 2048MB and deploy it. Do not select the “start after deploying it to host” – as both will have the same names and will create collision.
These vhds are created by a process called “sysprep”, and when you start the VMs they go through the “specialization” process to create unique machine SIDs, plug-n-play detection, activation resets etc. Once the 1st VM is up, connect to the VM and logon. The web page from where you downloaded the VHDs has the password.
To logon to the machine, use the following credentials: Username: administrator, password: Pass@word1 (Administrator account)
Change the machine name, join it to a domain, enable remote desktop on it, activate windows, add a domain account as administrator on the box, download and install the latest patches and reboot.
Launch the TFS VM now, and go through the same motions described above.