Create A Clonable Windows Image

1 minute read

Description:

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, separate windows licenses must be purchased on production usage. This is only for the local test environment and temporary usage.

To Resolve:

  1. Create a new VirtualBox VM for Windows 2008 R2 or Windows 7

  2. 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.

  3. Go to any online UUID generation website and create a new UUID.

  4. 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

  1. The *.vbox file should have the newly added hardware UUID.

  2. 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.

References:

“Practical Programming and Architecture”

Comments