I'm using Windows 10 in VirtualBox for testing purpose, where my main OS is formatted to Ubuntu.

I noticed I can activate the Windows 10 with the key sealed in hardware, get the key with the follwing command

1
2
$ sudo tail -c +56 /sys/firmware/acpi/tables/MSDM
ABCDE-12345-FGHIJ-67890-KLMNO

Windows 10 activated in VirtualBox

References: