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

GMFU Meaning: What It Stands for and How to Use It

In today’s fast-paced digital world, new slang terms and abbreviations are constantly emerging, especially on…

4 hours ago

How to Pause Location Sharing on Life360

Life360 is a popular location-sharing app that enables families and close friends to stay connected…

11 hours ago

How to Identify Fake Websites: Complete 2025 Guide

In the modern digital landscape, navigating the internet safely has become more crucial than ever.…

14 hours ago

How to Install RPG Maker VX Ace RTP on JoiPlay for Android

RPG Maker VX Ace is a powerful and user-friendly game development tool allowing players to…

16 hours ago

How to Delete a Folder Using Command Prompt in Windows

Deleting a folder might sound scary—but it’s really not. Especially with the Command Prompt in…

24 hours ago

How to Convert a Picture to PDF on iPhone

Ever snapped a great photo with your iPhone and thought, “This needs to be a…

1 day ago