While creating VMs in Virtual Box is an easy task, Windows will want their money for each install you do. Follow these steps to bypass activation for VMs NOT TO BE USED IN PRODUCTION.
Disclaimer: I will use the same one in the article… Please do not use this for your production environment, seperate windows licenses must be purchased on production usage. This is only for the local test environment and temporary usage.
Create a new VirtualBox VM for Windows 2008 R2 or Windows 7
Before installing the Windows 2008 R2 or Windows 7 OS from ISO image, open the newly created *.vbox file with any text editor. Look for the machine UUID and copy the value without brackets.
Go to any online UUID generation website and create a new UUID.
Run the following command, where first UUID is the machine UUID, the second UUID is the one generated from one of the above website:
“C:Program FilesOracleVirtualBoxvboxmanage” modifyvm 69310832-0890-4f83-9e9f-72f978818f6c –hardwareuuid b93ff710-28ee-11e1-bfc2-0800200c9a66
The *.vbox file should have the newly added hardware UUID.
Now, start to install the Windows 2008 R2 or Windows 7 on the new VM. After installation complete, activate the windows. When clone based on the activated Windows VM, there is no need to reactivate again, because the same hardware UUID will be cloned into new Windows VM which the activation depend on.