Windows licences are like gold dust – valuable but volatile. Fortunately, the OEM keys or product keys acquired when purchasing the device are usually stored in the BIOS (UEFI only). The Windows product keys can also be read very easily under Linux. For example, if you want to install a virtual machine with Windows guest and do not have the Windows licence key at hand.
The Windows product key stored in the BIOS can be found in the ACPI tables under MSDM
~$ sudo xxd /sys/firmware/acpi/tables/MSDM
00000000: 4d53 444d 5500 0000 035d 4c45 4e4f 564f MSDMU....]LENOVO
00000010: 4342 2d30 3120 2020 0100 0000 4143 5049 CB-01 ....ACPI
00000020: 0000 0400 0100 0000 0000 0000 0100 0000 ................
00000030: 0000 0000 1000 0000 9632 3945 472d 4e32 ........HERE-CAN
00000040: 6e3b 512d 4a2b 3a51 542d 33b3 3433 2d4b YOUR-WINDOWS-KEY
00000050: 5632 59b3 4436 13d4 1678 4598 2112 3278 BE- FOUND
For all those who are now thinking: „He must have forgotten to change the hex values, I’ll steal his key“ I can only say: „He didn’t“.
----- Comments -----
---
Danke sehr, ganz unkompliziert. Besser gehts nicht!!!
---
Auch von mir herzlichen Dank! Auch wenn du diesen Blog bereits vergessen haben solltest ;D
---
Vergessen habe ich ihn noch nicht … eher verdrängt :)
---
Bei mir stehen bei 040 nur nullen
---
1A Tipp! Vielen herzlichen Dank. Gruß André
---
Hi Philipp, viele, vielen, vielen Dank! Ich befinde mich gerade in einer xubuntu live session, um den Key einer vom automatischen Update zerstoerten Windows 10 installation (urspruenglich 8.1) auszulesen. Da bin ich auf Deine Anleitung gestossen. Hat super funktioniert. Das Notebook ist uebrigens ein Dell Inspiron 15 3000 Series, falls es irgend jemand interessiert.
GOD bless, Holli
---
wonderbra! einfacher gehts net. vielen dank für die info :-D