Extracting your Windows Licence Key from Ubuntu
By Leo Gaggl
Turns out that working with PLC equipment you are still fully stuck to Windows. Which means I have to bite the bullet and get an up to date version of a Windows VM running on my machine.
Since I have already paid for my Windows license with my laptop (even though I have never used it) this came in really handy.
<pre class="wp-block-preformatted">sudo apt install acpica-tools
sudo acpidump -n MSDM
This command should dump the Windows key in the bottom right of the output.
You can download a recent Windows10 ISO image from Microsoft here: https://www.microsoft.com/en-us/software-download/windows10ISO/ and then install via you favourite virtualisation environment.