Tips

How to Find Your Windows 10 Product Key 2020

With each iteration of Windows, Microsoft makes it easier for you to activate your install of the operating system. There may be times, though, that the activation process does not go quite right. Or, you could purchase a new machine and wish to transfer your licensed copy of Windows over to it. In either case, you will need to know where to find your product activation key.

From the Microsoft Store

If you bought your copy of Windows directly from the Microsoft Store, the company stores a copy of your product key in your account. To find it here, log into your Microsoft Store account. Head to “Downloads,” followed by “Product Keys” and then click “Subscription Page.” Finally, click the ”Digital Content” tab, where you will find your product key.

From a Physical Package

If you happened to buy an actual box with a physical disk inside of it that contained your Windows 10 install, there will be a small business card in the back of the box that has your product key written on it. Do not just leave this in the box… even if you plan to save the box. Store the card in a safe place and consider saving the key itself in an encrypted digital file.

From the Windows OS

Still cannot locate that key? No problem! We can find it right inside of Windows itself. Click your ”Start” button and type ”Notepad” to open that application. Now, copy and paste this exact text to Notepad:

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

How to Find Your Windows 10 Product Key

With each iteration of Windows, Microsoft makes it easier for you to activate your install of the operating system. There may be times, though, that the activation process does not go quite right. Or, you could purchase a new machine and wish to transfer your licensed copy of Windows over to it. In either case, you will need to know where to find your product activation key.


From the Microsoft Store

If you bought your copy of Windows directly from the Microsoft Store, the company stores a copy of your product key in your account. To find it here, log into your Microsoft Store account. Head to “Downloads,” followed by “Product Keys” and then click “Subscription Page.” Finally, click the ”Digital Content” tab, where you will find your product key.


From a Physical Package

If you happened to buy an actual box with a physical disk inside of it that contained your Windows 10 install, there will be a small business card in the back of the box that has your product key written on it. Do not just leave this in the box… even if you plan to save the box. Store the card in a safe place and consider saving the key itself in an encrypted digital file, as well.


On a PreBuilt Computer

When you buy a computer from a store such as WalMart, it will come with Windows preinstalled. Finding your product key on these machines is extremely simple: it will be located on a sticker which is usually found somewhere on the computer – usually the back or bottom. I recommend taking a photo of it to keep. These stickers can wear off pretty quickly and the number becomes impossible to read.


From the Windows OS

Still cannot locate that key? No problem! We can find it right inside of Windows itself. Click your ”Start” button and type ”Notepad” to open that application. Now, copy and paste this exact text to Notepad:

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

At the top of Notepad, click ”File” and then ”Save AS” – do not simply save it. Change the file type at the bottom of the save window to ”All File Types” and then name it ProductKey.vbs – the .VBS extension is the important part. The actual file name does not matter, and neither does the location you choose to save this text.

As soon as you have saved the file, double-click on it and a small box with your Windows product key in it will pop up. Write it down or take a photo of it for safekeeping and you’re finished.

There you have it: easy ways to grab your current licensed Windows product key.

What other questions can I help you with? Are you having trouble finding things that are driving you up the wall? Let me know!

BlogWolf

Recent Posts

How Shopify Platform Identification Works in Modern Tech Stack Analysis

Every online store leaves clues. Some are tiny. Some are loud. A Shopify store is…

11 hours ago

Why Businesses Are Switching to Cloud WordPress Hosting Solutions

Businesses of all sizes are rethinking how they host their WordPress websites. As traffic patterns…

12 hours ago

What Is an AI Lead Scoring Model in Real Estate CRM and How Does It Work?

In real estate, speed matters, but speed without judgment can waste time and weaken client…

3 days ago

How Will Recent eSIM News Impact Mobile Connectivity in the Future?

Mobile connectivity is entering a new phase as eSIM adoption accelerates across smartphones, tablets, laptops,…

4 days ago

What Is a Free eSIM and How Does It Work?

Mobile connectivity has changed quickly as smartphones, tablets, and wearables have moved away from physical…

5 days ago

Top AI Translation Platforms with Built-In Style Guide Controls (2026)

AI translation has moved far beyond “paste text, get another language.” In 2026, the best…

5 days ago