Everything I can find online works something like the code here https://gist.github.com/Spaceghost/877110. This does not work on Windows 10 20H2. The code runs but produces an erroneous result.
I need to know:
- where in the registry am I supposed to get the product key from in binary?
- how do I decode it (preferably but not necessarily in python)?
Source: Windows Questions