Alright, quick tip! Let’s say you want to get the Windows 10 license key from your machine and you’re running Linux. Simply open a terminal and run the following command.

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

Done!