I have a dual boot windows 8 and Ubuntu on my Laptop.
Is it possible to read the Windows licence key under ubuntu? (I guess it is hidden in the Windows registry somehow)
I have a dual boot windows 8 and Ubuntu on my Laptop.
Is it possible to read the Windows licence key under ubuntu? (I guess it is hidden in the Windows registry somehow)
I found it here. The key seems to be stored in the ACPI-firmware:
Which gave me the following results:
(I replaced the product key with
#
)pipe into
| tail -n1
if you need only the key as output.If your HD is broken and need to install on a new HD or just want to know the key without an HD, this may help you:
after that, search in your HOME folder the .txt file you just created. Press F3 to search within the file the word "MSDM" and bingo!
If you do not have
acpmdump
yet, time to install it usingIt worked on my Live pendrive of Ubuntu 14.04 LTS on Positivo notebook. The key was of a Windows 8 Single-language.
Got another one to add on to the last command that helped me:
I'm not sure if the string is definitely at the end, but that's how I extracted the key itself.
A slight refinement on the accepted answer. This will only print the key: