Clone a Hyper-V VM
- First step build the VM to your liking
- Make a cup of tea
- Run sysprep i.e. c:\windows\system32\sysprep\sysprep /generalize /oobe /shutdown
- Rename the VM in Hyper-V Manager i.e baseline
- Export the VM from Hyper-V Manager
- Don’t forget to drink the cup of tea
- Rename the VM back to it’s original name
- Copy the exported directory. I’m using Hyper-V Server R2 so Robocopy is easiest i.e. “robocopy /E d:\Baseline d:\VM\NewVM”
- Rename the VHD file and update the name in config.xml and in the EXP file
- Import the Cloned VM in Hyper-V Manager
- Rename the Cloned VM and run through the mini-setup
- Your Done!
- 2010
- 03/30
- CATEGORY
- Work
- TAGS
- Hyper-v
No comments yet.