2

I retrieved my Windows 8 product key from the firmware but have no idea which version it's supposed to match. My Windows 8 cannot be booted into (hence the need to re-install in the first place)

How do I find out the correct version of Windows that my product key matches with?

1
  • What version came with the PC? There should also be a sticker which indicates which version.
    – Ramhound
    Commented Oct 17, 2015 at 4:39

1 Answer 1

2

Windows includes a DLL called pidgenx.dll which includes this function:

[DllImport("pidgenx.dll", EntryPoint = "PidGenX", CharSet = CharSet.Auto)]
static extern int PidGenX(string productKey, string pkeyPath, string mspid, int unknownUsage, IntPtr productID, IntPtr digitalProductID, IntPtr digitalProductID4);

For pkeyPath Windows setup passes a path to pkeyconfig.xrm-ms. In this file, the product key are defined and in the digitalProductID4 (last parameter), the Edition and Product key type (MSDN, Retail, Trial) is encoded.

The Ultimate PID Checker is one of several tools that call the function to decode the key.

enter image description here

Here you can see which edition the key belongs to.

2
  • The link is dead
    – Jerther
    Commented Aug 10, 2017 at 14:37
  • @Jerther I've added a link to the web archive with a cached version of the website Commented Aug 10, 2017 at 15:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .