Please note.
This is not my work but I figured some people might find it useful.
Author: Vivek Gite
Most modern desktop and laptop comes with Windows 8 or 10 keys embedded in BIOS. Thinkpad, Dell, and many other BIOS vendors expose these keys to Linux, too, along with tons of data. So one can find and retrieve Windows 10/11 or Windows 8 key using Linux. The key helps to activate the Windows version without any input from users.