Find Windows product Key

Open the Terminal and type one of the Following:

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

Or:

sudo hexdump -s 56 -e ‚“MSDM key: “ /29 „%s\n“‚ /sys/firmware/acpi/tables/MSDM

Or:

sudo cat /sys/firmware/acpi/tables/MSDM | tail -c 32 | xargs -0 echo