The very first thing that I did when I got my new Thinkpad in a few months ago was of course, format the hard drive and put Ubuntu on it without hesitation.
However, I am now working on a project that requires me to run Windows for Visual Studio. Since I refuse to run Windows as my host, I went ahead and spun up a Windows 10 virtual machine in VirtualBox but I still had to activate it. Like most machines bought within the last few years, they come with a Windows 10 license as an “entitlement”.
So to transfer my entitlement license from the Thinkpad was fairly easy. In your Linux terminal, simply type:
sudo cat /sys/firmware/acpi/tables/MSDM and it will display your Windows 10 license key in plain text that you can then plug into your virtual machine so it can activate.