Run Windows 10 in Virtual Box with a valid activated license

From Luniwiki
Jump to: navigation, search

Download the iso file

From https://www.microsoft.com/en-us/software-recovery you can download the last MediaCreationTool to create an iso file.

Retrieve your license

Create the Windows 10 virtual machine without starting it. And copy the digital license file to the root folder of your virtual machine.

root@kali:~/VirtualBox VMs/Windows10# cat /sys/firmware/acpi/tables/MSDM > msdm.bin

Asign the product key to virtual machine

root@kali:~/VirtualBox VMs/Windows10# VBoxManage setextradata "Windows10" "VBoxInternal/Devices/acpi/0/Config/CustomTable" "/root/VirtualBox VMs/Windows10/msdm.bin"

Install the OS normally.

Remove Hardware error for Windows 11

You will encounter an error in the hardware check step. But don't worry you can bypass the hardware checks through the command prompts.

Type regedit in the command prompt and press enter.

navigate to HKEY_LOCAL_MACHINE\SYSTEM\SETUP, right-click on the Setup key and select New > Key.

Name it LabConfig and press enter.

Now right-click on the LabConfig key and select New > DWORD (32-bit) value and create a value named BypassSecureBootCheck, and set its data to 00000001. Now create BypassTPMCheck and the same data value of 00000001.

Once you configure those values under the LabConfig key, close the Registry Editor, and then close the Command Prompt window and proceed with the installation.

References

Daniel Simao 14:41, 25 January 2020 (EST)