I own an XPS 9370 (the windows version). I recently installed Ubuntu 18.04 and wiped out windows from my SSD(for college reasons). Since my XPS comes with a serial key for win 10 pro, which is there in the bios, how can I possibly retrieve the key?
2Windows will automatically retrieve the key, if that’s what you want to do.– Daniel BSep 16, 2019 at 13:57
You don't need to ever retrieve the key.
If you reinstall Windows on that machine it will still be valid & will read it itself from the machine.
If you want to install on another machine, the license is not portable, so the key is no use to you.
sudo cat /sys/firmware/acpi/tables/MSDM
sudo xxd /sys/firmware/acpi/tables/MSDM
Basically, it should be in your MSDM table. But if you re-install windows (if you have not changed the hardware) it should automatically activate. Also Windows keys can now be tied to the Microsoft account. If you have done so, when you reinstall windows, just sign into your Microsoft account, and you should be good to go.