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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.