Extract Windows 8/10 Key

To extract the Microsoft Windows 8 or 10 key from the PC's BIOS, the following command on a linux system can be used:

sudo hexdump -s 56 -e '"MSDM key: " /29 "$s\n"' /sys/firmware/acpi/tables/MSDM

sudo tail -c +56 /sys/firmware/acpi/tables/MSDM