I've just set up a test machine running Server 2008 R2 Enterprise with the Hyper-V role installed to learn about Hyper-V. I have created a virtual machine (Server 2008 R2) and sysprepped it go generalize it. This worked fine. I exported the image. So far so good.
What I want to do is import the image twice so I can have multiple copies of the generalized image running as VMs. When I try to do this I get an error because the VHD has the same name as the VHD already on the system. I know I can't just rename the VHD because the configuration file won't work if I do that.
What is the best way to import a sysprepped image more than once? Do I change the directory where Hyper-V looks for VMs in Hyper-V settings? If I do that will there be problems using the other VMS? Is there a better way? Sorry if this is dumb question, but this is all new to me. Thanks, Bruce
Get a copy of SCVMM and install that. Then what your trying to do, is convert that vhd/ image to a template and then deploy from template.
This will then give you the automatic you want. A different approach, possibly to start with, is to make a copy of the VHD per VM you want to deploy and attach it to a newly configured guest.
Joe
After everything that has happened during the month of Jan 07, I do believe that pigs fly backwards!
Bruce, save the generalised VHD somewhere safe. Create new VMs, in their own dedicated subfolders, and choose the option to attach VHD later. Then copy the generalised VHD into each VM's subfolder. Edit the properties of the VM and attach the VHD. Power up the VM.
Thanks for the quick response guys! I think I'll try Aidan's suggestions first. I want to get a little more comfortable with Hyper-V before tackeling SCVMM. Thanks again, Bruce