I have a test environment involving multiple virtual domain controllers in Hyper-V. How do a make an image of a VM that will also work as a DC? When I export the virtual machine and make new ones off of that I get no bueno errors because the GUIDs are the same. I need to make multiple virtiual machines, preferably starting from a set point like the second reboot after WS2008R2 install.
Does anyone have any ideas?
Welcome to MSFN ForumRegister now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Hyper-V VM Starter Template?
Posted 05 January 2012 - 06:25 PM
Posted 05 January 2012 - 08:27 PM
You need to run sysprep on the parent VM (and don't install any roles beforehand - just install the OS, patch, and run sysprep). Once sysprep completes and shuts down the VM, you will now have your "parent" VHD you can use to create new VM copies or differencing disks off of. You can use dism from the command line to enable/install roles if you want to do it in an automated fashion later on, or you can simply use the GUI if it isn't a server core OS (but for DCs, I would strongly recommend considering server core, especially virtualized hosts).
Posted 05 January 2012 - 11:13 PM
Thanks. That is exactly what I needed.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users