If you are unable to activate Windows in the virtual machine, but you have the activation key in the BIOS, it can be extracted using the following command:
strings /sys/firmware/acpi/tables/MSDM
Navigation: asm . compilation . linux . windows . mac . back to start