Jump to content

Hyper-V VM Starter Template?


jayarr

Recommended Posts

Hello,

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?

Thanks.

Link to comment
Share on other sites


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).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...