I just started using Oracle’s VirtualBox for the first time this past weekend. Shortly after creating my first Virtual Machine with a Windows 7 guest, I created a clone just to test out this functionality. I was surprised to find out that within the clone, Windows 7 had to be re-activated. After doing some digging, I found a pretty simple way to create VMs so that the clones do not require a second activation. See the instructions after the break.
Warning: Following these steps may violate your license agreement with Microsoft. In many cases, you are only permitted to install a single copy of Windows on at most one machine. I believe this includes virtual machines. Please consult your sales representative to ensure you that are in compliance with your license agreement.
How to create a VirtualBox VM so that a clone does not require re-activation of Windows.
1. Create a new Virtual Machine for Windows 7. Do no install the operating system just yet!
2. Locate the vbox file of the VM you just created.
3. Open the file in a text editor and locate the “Machine uuid”. In the example below, see that the machine uuid is “02f110e7-369a-4bbc-bbe6-6f0b6864ccb6“.
6. Open the vbox file and verify that a new hardware “version 2” uuid was created:
You can now install Windows on your VM as normal. Once you activate Windows in your VM, you will be able to clone the VM and Windows will still be activated in the clone. Thus, you won’t have to perform a second windows activation.