Find Your Windows 10 digital License/Product Key

Windows 10 is a versatile operating system that can be installed on almost any device: ranging from a desktop computer, to a tablet or a laptop.

It is important for your own safety that you have a valid and activated Windows 10 copy installed on your workstation. To check the product key status on your Windows 10 machine, you can go to Settings, select Update & Security and go to the Activation page. It should show something like the image below.

The Activation page in Windows Settings

As you can see from the image, I run Windows 10 Pro and it’s activation status reads:

Windows is activated with a digital license linked to your Microsoft account

But what is my Windows 10 product key? How to find out the currently installed license key of my Windows 10 installation? Where to find Windows 10 key? Maybe you want to backup the Windows 10 key just in case?

It turns out there is no easy answer to find this out. There is an option to change the product key in the Settings, but there is no such thing to show the active Windows 10 product key.

Microsoft’s website lists the following information about finding the Windows product key for Windows 10:

Where to find your product key depends on how you got your copy of Windows:
From an authorized retailer. The product key is on a label or card inside the box that Windows came in. For more info, contact your hardware manufacturer. 
A new PC running Windows. The product key is preinstalled on your PC, included with the packaging the PC came in, or included on the Certificate of Authenticity (COA) attached to the PC. For more info, contact your hardware manufacturer. 
A digital copy from a Microsoft website. The product key is in the confirmation email you received after buying your digital copy of Windows. If you bought Windows 10, you’ll receive a digital license instead of a product key. You can use the digital license for activation. For more info, see Activation in Windows 10 or contact Microsoft Support
Free upgrade to Windows 10. If you upgraded to Windows 10 for free from Windows 7 or Windows 8.1, you should have a digital license instead of a product key. For more info about digital licenses in Windows 10, see Activation in Windows 10 or contact Microsoft Support.

Excerpt from Microsoft support page

From the above information provided by Microsoft, for me it was still hard to know what exactly my 25 characters product key was that was currently being used on my legit Windows installation.

To uncover the current product key, you will need to create a vbs script. Go ahead and create an empty .vbs document on your desktop, for example: key.vbs. Open the empty file in Notepad and past the following text:

Set WshShell = CreateObject("WScript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))

Function ConvertToKey(Key)
Const KeyOffset = 52
i = 28
Chars = "BCDFGHJKMPQRTVWXY2346789"
Do
Cur = 0
x = 14
Do
Cur = Cur * 256
Cur = Key(x + KeyOffset) + Cur
Key(x + KeyOffset) = (Cur \ 24) And 255
Cur = Cur Mod 24
x = x -1
Loop While x >= 0
i = i -1
KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput
If (((29 - i) Mod 6) = 0) And (i <> -1) Then
i = i -1
KeyOutput = "-" & KeyOutput
End If
Loop While i >= 0
ConvertToKey = KeyOutput
End Function

Save it as key.vbs and double click that file. Et voila, a small new window should open and display your product key! This should work also for Windows 10 Home, Windows 10 Pro, Windows 10 Education and Windows 10 Enterprise editions.

Your current Windows 10 (Pro) key

 

Author Bio

Thank you for your interest in my blog! On this miniblog, I write mostly short (technical) blog posts that might interest other people. Read more about me or feel free to contact me.

 

Leave a Reply

Your email address will not be published. Required fields are marked *