• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

Add a second virtual machine from an existing one

Hi Experts.  I have a Windows 2008 R2 server running Hyper-V.  On that server is a virtual machine (Windows XP) that I do a lot of testing on.  I would like to create a second virtual machine without having to build it from scratch.  How can I "copy" the existing virtual machine and make a second one out of it?  Thanks for your help.
0
samiam41
Asked:
samiam41
  • 3
  • 3
1 Solution
 
Svet PaperovIT ManagerCommented:
You can do that by coping and renaming the VHD file. Then you can create a new VM by attaching the new VHD. When you boot the new VM for a first time you can run Sysinternal NewSID http://technet.microsoft.com/en-us/library/bb897418.aspx to reset the computer SID.

There are other methods too: export/import or using parent disk but that one is the easiest.
0
 
samiam41Author Commented:
Thanks for the quick yet detailed response.  I copied the VHD file, renamed it slightly and created a new VM while attaching it to the renamed VHD file.  I went to download NewSID but found this message:

Note: NewSID has been retired and is no longer available for download. Please see Mark Russinovich’s blog post

After reading more about SID's, it doesn't appear that I need to modify the SID (which completely blows my mind).  

I realize that the news that it’s okay to have duplicate machine SIDs comes as a surprise to many, especially since changing SIDs on imaged systems has been a fundamental principle of image deployment since Windows NT’s inception. This blog post debunks the myth with facts by first describing the machine SID, explaining how Windows uses SIDs, and then showing that - with one exception - Windows never exposes a machine SID outside its computer,

I'm starting up the new (imaged) VM now and will post back.
0
 
samiam41Author Commented:
Can I use a AVHD (snap-shot of a VHD) as a VHD for another VM?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Svet PaperovIT ManagerCommented:
No, you can't. AVHD is linked to VHD. If you have snapshots you need to do export/import in order to create a copy.
0
 
Svet PaperovIT ManagerCommented:
There is also another method suitable for testing purposes: using differencing disk. You need to read the help in order to understand how it works.
0
 
samiam41Author Commented:
Thanks for the help!

regards,
Aaron
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now