Copying a VM

I have a management console on a Windows 7 VM. I need to create on for a new site. The software is exactly the same, just needs a IP change and a few configuration changes to create on for a new site. Can I copy the VM I have an reconfigure it for the new site. It will set on the same Host. I know how to import and export the VMs but not sure what I need to do for the domain to see it as a new PC. Please advise. We use Windows Server 2012 R2 standard and Hyper-V.

New creating VMs so any recommend links would be appreciated as well.

Regards,
DJ
abbeadminAsked:
Who is Participating?
 
Russ SuterCommented:
I've done something like this many times. Here's what you can do.

1. Shut down the VM that you want to duplicate.
2. If you have multiple checkpoints, it helps at this point to merge all the VHD files into a single one.
3. Copy the VHD (or VHDX) file.
4. Set up a new VM, choose the VHD as your startup disk
5. Boot the new VM and change your settings.

One caveat. If your existing VM is part of a domain you should remove it from the domain before copying and then re-add it after. Failing to do that will end up breaking the trust relationship between the VM and the domain controller.
0
 
abbeadminAuthor Commented:
Thanks for the quick response. I learned the caveat the hard way. I will give it a try and let you know if I have any questions are issues.


Regards,
DJ
0
 
abbeadminAuthor Commented:
Can I rename the VH file when I copy?

Regards,
DJ
0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
Russ SuterCommented:
Of course, You can rename it to anything you like.
0
 
abbeadminAuthor Commented:
Thanks! I have created the new one. Thanks for your help. One question, I make an extra copy of the VHD file, so can I use copies of it to make new VMs?

I don't see a reason it won't but I'm new at this so figure I should ask.

Regards,
DJ
0
 
Russ SuterCommented:
I do that all the time. Have you tried creating a VM with a new installation of an operating system on it and then wait for it to download and install all of the updates? It takes hours. Instead, I have a single VM that already has the updates installed. It takes about 10 minutes to copy the VHD and another 2 to create the VM and attach it. It's a major time saver.
0
 
abbeadminAuthor Commented:
I will do that next. Thanks again for all your help.

I plan to move some of the VMs around soon so you be seeing a lot of me. Have a great day!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.