How to Recover your Windows Product Key


If you are planning to reinstall Windows but you can’t find your product key, this article will show you where and how you can find your product key.

The key could be:

  • Printed on a Certificate of Authenticity sticker
  • Stored in the Windows Registry
  • Embedded in the PC’s UEFI firmware

Note that on the off chance that you are presently running Windows 10 and wish to reinstall the working framework, you needn’t bother with your item key. After the reinstall, Windows 10 will recognize that it has been reinstalled on a formerly initiated framework and will consequently reactivate.


Printed on a Certificate of Authenticity Sticker

On the off chance that your PC accompanied Windows 7 or before, at that point your item key will be imprinted on a COA sticker. This sticker checks that the PC accompanied a certified duplicate of Windows. You should look at your PC to discover the sticker. On PCs, it’s as a rule on the base side. On work areas, it could be on the back, sides, or top. It looks something like this:

Embedded in the PC’s UEFI firmware

In the event that you have a more up to date PC that accompanied Windows 8 or Windows 10, at that point your item key likely won’t be on a sticker. Rather, PC producers presently install the key directly into the PC’s UEFI firmware. In contrast to the COA sticker, the installed key can’t be smeared off, taken or eradicated (without any problem).

If you want to extract the UEFI key, the process is simple. Open the Start menu, type powershell and then run the program.

Next sort the accompanying order in the PowerShell window and hit Enter.

(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

You will be given the key in the window.

Stored in the Windows Registry

On the off chance that your item key isn’t implanted in the firmware or you’re feeling the loss of your COA sticker, you’re not up the creek without a paddle as long as you haven’t designed your PC. You can in any case recuperate the key since Windows stores it in the library. Here is the secret:

1. Open a new Notepad window

2. Copy and paste the following text into the window

Set WshShell = CreateObject(“WScript.Shell”)

MsgBox ConvertToKey(WshShell.RegRead(“HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId”))

Capacity ConvertToKey(Key)

Const KeyOffset = 52

I = 28



Mutt = 0

x = 14


Mutt = Cur * 256

Mutt = Key(x + KeyOffset) + Cur

Key(x + KeyOffset) = (Cur \ 24) And 255

Mutt = Cur Mod 24

x = x – 1

Circle While x >= 0

I = I – 1

KeyOutput = Mid(Chars, Cur + 1, 1) and KeyOutput

On the off chance that (((29 – I) Mod 6) = 0) And (I <> – 1) Then

I = I – 1

KeyOutput = “- ” and KeyOutput

End If

Circle While I >= 0

ConvertToKey = KeyOutput

End Function

3. Click File > Save As and save the file to your desktop as productkey.vbs. It’s important to include the .vbs extension because this is a Windows Scripting Host file.

4. Close Notepad and double-click the file. Wait a few seconds, and then you will be presented with a popup displaying your product key:

Leave a Reply