Get Windows license key from your hardware in Linux
If you are running on hardware that originally came with a licensed Microsoft Windows operating system, you should check to see if you can get the license key from your hardware.
sudo hexdump -s 56 -e '"MSDM key: " /29 "%s\n"' /sys/firmware/acpi/tables/MSDM
MSDM key: 12345-09876-ABCDE-FGHIJ-ZYXWV (obscured, of course)
Or another way:
sudo cat /sys/firmware/acpi/tables/MSDM | strings
I never came across this tidbit until today! Apparently it is well-known throughout the Internet.
Comments