How to Install a Virtual Machine Inside a Virtual Machine (Hyper-V)
It is possible to install a virtual machine inside another. In other words, you can install a virtual machine inside a virtual machine.
We have this running in test labs for a long time and it works fine!
What you need
VMware Workstation. We tried it using version 8 and 10.
Steps
First, you need to create a VM but make sure it doesn’t start automatically.
Then add the following lines to the VMX file (the config file VMware Workstation creates for the VM):
hypervisor.cpuid.v0 = "FALSE" vhv.enable = "TRUE" mce.enable = "TRUE"
To make sure the virtual machine runs well, add plenty of RAM and disk space. Ideally you wouldn’t want to create a VMDK where the files are split; use a single VMDK (monolithic disk) instead.
Boot up the VM and install Windows.
What can be done with this?
You could use your VMware Workstation VM to host Hyper-V Server 2012 or Windows Server 2012 / R2 with Hyper-V role and install VMs into it.
It’s a great way to test out operating systems before you make your decision to install on a physical server.
We haven’t tested if ESXi would install inside a VM; it would be interesting to find out if it works, too.
Using VMware Workstation’s network isolation features you could have several of these VMs on isolated private networks and test out certain features of Windows, way before you invest in expensive hardware. Naturally performance and timing isn’t the same as on physical servers.
However if your workstation / test server is very powerful, the results aren’t too bad at all!
Hint: Backing up VMware Workstation virtual machines is easy using BackupChain. BackupChain offers Granular Backup and Granular Restore for VMDK as well. You can back up individual VM files from the host with just one license and one install on the host.
Try our server backup software which also offers a component to automatically backup Hyper-V and other services.
Backup Software Overview
Server Backup SoftwareDownload BackupChain
Cloud Backup
Backup VMware Workstation
Backup FTP
Backup VirtualBox
Backup File Server
Hyper-V Backup
Backup Hyper-VPopular
- Hyper-V Links, Guides, Tutorials & Comparisons
- Veeam Alternative
- How to Back up Cluster Shared Volumes
- DriveMaker: Map FTP, SFTP, S3 Site to a Drive Letter (Freeware)
Resources
- Free Hyper-V Server
- Remote Desktop Services Blog
- SCDPM Blog
- SCOM Blog
- V4 Articles
- Knowledge Base
- FAQ
- Archive 2024
- Archive 2022
- Archive 2021
- Archive 2020
- Archive 2018
- Archive 2017
- Archive 2016
- Archive 2015
- Archive 2014
- Archive 2013
- Hyper-V Scripts in PowerShell
- FastNeuron
- BackupChain (Greek)
- BackupChain (Deutsch)
- BackupChain (Spanish)
- BackupChain (French)
- BackupChain (Dutch)
- BackupChain (Italian)
Backup Software List
BackupChain
Veeam
Unitrends
Symantec Backup Exec
BackupAssist
Acronis
Zetta
Altaro
Windows Server Backup
Microsoft DPM
Ahsay
CommVault
IBM
Other Backup How-To Guides
- How to fix: 0x800423f4, The writer experienced a non-transient error. If the backup process is retried, the error is likely to reoccur
- What is Hyper-V and What Operating Systems are Supported?
- Fixed vs. Dynamic VHD and VHDX Performance
- VMware Scheduled Snapshot Creation in a Task, Fully Automated
- How to Convert VMware ESX VM to Hyper-V
- Start a Hyper-V VM from the Command Line — How to
- The Pitfalls of Hyper-V Passthrough Disks and Why You Shouldn’t Use Them
- What’s New In Windows Server 2012 and R2?
- Hyper-V Backup Pulls Windows Server 2012 into Saved State
- Hyper-V CSV backup: What needs to be considered for VM backups?
- Get All VHDX for All VMs with this PowerShell Script
- How to Fix VolSnap 28 Error “The shadow copy could not be created…
- Fix for Error 0x80780049, Backup ID 517
- How to Install Hyper-V, Step-by-Step Without Headaches
- How to fix: Selected writer ‘Microsoft Hyper-V VSS Writer’ is in failed state, VSS_WS_FAILED_AT_PREPARE_SNAPSHOT
- Windows Server 2019 ISO Free Download + Hyper-V Server 2019
- 9 Editions of Windows Server 2012 Compared At a Glance
- 11 Things to Know About Hyper-V Snapshots / Checkpoints
- How to Fix: VM cannot be backed up …file groups reported during OnIdentify
- Windows Server 2012 R2 and Windows 8.1 Backup Software