How to Find Your Lost Windows or Office Product Keys (2024)

Quick Links

  • Where Is Your Windows Product Key Stored in the Registry?

  • Where Can You Find Your Windows Product Key?

  • Find Product Key Stored in the UEFI on Windows 10 or Windows 11

  • Use NirSoft's ProduKey to Find Windows 10 or Windows 11 Product Key

  • Use ShowKeyPlus to Retrieve Product Key on Windows 10 or Windows 11

  • Use a Script to Recover Your Windows 10 or Windows 11 Product Key

  • Read the Product Key From the Certificate of Authenticity Sticker

Key Takeaways

The best way to recover a lost product key for Windows or an Office program is to use a third-party program, like Nirsoft's Produkey or ShowKeyPlus. You may also have a sticker attached to your PC or disk box with a product key written on it.

If you're planning on doing a reinstall of Windows but can't find your product key, you're in luck because it's stored in the Windows Registry. It's just not easy to find, and it's impossible to read without some help. Luckily, we're here to help.

Where Is Your Windows Product Key Stored in the Registry?

How to Find Your Lost Windows or Office Product Keys (1)

As you can see in the screenshot above, the product key is stored in the registry but is in a binary format that can't be read by humans unless you are some sort of Cylon. You aren't, are you?

We're not really sure why Microsoft went to great lengths to make it difficult to see the product keys for their software, especially since they are stored right in there in the registry and can be read by software, if not by humans. We can only assume that they don't want anybody to re-use a key from an old computer.

The great thing is that you can even recover a key, even from a computer that won't boot anymore. All you need is access to the disk drive from a working computer. Keep reading for more.

Where Can You Find Your Windows Product Key? How to Find Your Lost Windows or Office Product Keys (2)

The key you need will be in one of three places:

  • Stored in software on your PC: When you (or your PC manufacturer) installs Windows, Windows stores its product key in the registry. You can extract this product key, and — often — enter it when reinstalling Windows on your PC. Crucially, you'll need to grab it from your operating system before you begin reinstalling Windows or it could be deleted if you format your hard drive.
  • Printed on a sticker: Some PCs use a technology called "System Locked Pre-installation," or SLP. If your PC uses this, the product key on your PC — the one stored in the registry, and the one key-viewer applications display — will be different from the actual key your PC needs. The actual key is on a certificate of authenticity (COA) sticker on your PC or its power supply. The one in the registry and key-viewer application is a red herring. This system was common for Windows 7 PCs.
  • Embedded in your PC's UEFI firmware: Many newer PCs that come with Windows 8, Windows 10, or Windows 11 use a new method. The key for the version of Windows the PC comes with is stored in the computer's UEFI firmware or BIOS. You don't even need to know it —assuming you're installing the same edition of Windows the PC came with, it should automatically activate and work without you needing to enter a key. It'll all happen automatically.

Be sure to use the same version and edition of Windows the computer came with. In other words, if it came with Windows 11 Home Premium, you can't install Windows 11 Professional.

Find Product Key Stored in the UEFI on Windows 10 or Windows 11How to Find Your Lost Windows or Office Product Keys (3)

Let's start with the simplest situation. On newer Windows 10 and Windows 11 computers, the key isn't stored in software where it can be wiped, or on a sticker where it could be smudged off or removed. No one can glance at your computer's sticker to steal its product key. Instead, the key is stored in the computer's UEFI firmware or BIOS by the manufacturer.

You don't have to do anything special if you have this. You should just be able to reinstall the same edition of Windows the PC came with and it should just work without even asking you for a key. (Still, it may be best to find the product key using one of the below methods and write it down before reinstalling Windows — just in case.)

If you want to find the UEFI-embedded key and write it down, you can do so quite simply. Just open the Start menu, type "powershell" into the search bar, and run the Powershell application that comes up.

How to Find Your Lost Windows or Office Product Keys (4)

Then, enter the following command and press Enter:

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

You should be rewarded with your embedded license key. Write it down and store it in a safe place.

We obfuscated our product key with a green box. You'll see something like: A23BC-GHN23-NBK32-VNS98-JKLOL

How to Find Your Lost Windows or Office Product Keys (5)

Use NirSoft's ProduKey to Find Windows 10 or Windows 11 Product Key

Nirsoft's ProduKey will almost definitely set off your antivirus because of what it does and how it works. It is not malware, however. ShowKeyPlus is an option if you want a solution that works for Windows 10 and Windows 11 that won't set off your antivirus.

The easiest way to get access to your product key is with a third-party utility, and there's nobody better at those than NirSoft. Their utilities are always crapware-free, and are always really useful. The only issue with this particular utility is that some antivirus will detect it as a false positive, because some malware might try to steal your product key.

All you have to do is download ProduKey, unzip it, and then run it to immediately see all of your product keys. It's as simple as that.

How to Find Your Lost Windows or Office Product Keys (6)

If you want to recover a key from a dead computer, you can hook up the hard drive to a working PC, and then run ProduKey and use File > Select Source to point to the external Windows directory. You can then grab the keys from that computer easily.

How to Find Your Lost Windows or Office Product Keys (7)

You can also use a Linux live CD to pull the Windows directory off the other computer and onto a thumb drive, or just grab the registry files if you prefer. If you need help, we've got a guide to pulling data off a dead computer.

Use ShowKeyPlus to Retrieve Product Key on Windows 10 or Windows 11

Nirsoft's program works — but it might tigger a warning in your antivirus, or even your browser. If you don't want to deal with that, ShowKeyPlus is a good alternative. ShowKeyPlus is available directly from the Microsoft Store for Windows 10 and Windows 11.

Open up the Microsoft Store, find ShowKeyPlus, then click the "Install" button and wait while it downloads and installs. It shouldn't take very long; the program is pretty small.

How to Find Your Lost Windows or Office Product Keys (8)

Click "Open" after it has downloaded, and the product keys on your system will be displayed.

How to Find Your Lost Windows or Office Product Keys (9)

It is important to note that there might be both an installed key and an OEM key. OEM, or Original Equipment Manufacturer, keys are tied to the hardware of the device. If you're using a prebuilt desktop PC or a laptop, the OEM key and the installed key will be the same unless you separately purchased a different Windows license.

If you did purchase and install a separate Windows license for a prebuilt or laptop (or for a computer you built yourself) make sure you grab the installed key, not the OEM key. OEM keys are subject to more restrictions than retail keys, so you don't want to accidentally use the wrong one.

Use a Script to Recover Your Windows 10 or Windows 11 Product Key

If you don't want to use a third-party utility to find your product key, you can always use a visual basic script (VBS).

Copy and paste the script below into Notepad. Then, go to File > Save As, set the file type to "All File," then name the script something like "Product Key Script.vbs" and save it.

How to Find Your Lost Windows or Office Product Keys (10)
Option Explicit
Dim objshell,path,DigitalID, Result
Set objshell = CreateObject("WScript.Shell")
'Set registry keypath
Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
'Registry key value
DigitalID = objshell.RegRead(Path & "DigitalProductId")
Dim ProductName,ProductID,ProductKey,ProductData
'Get ProductName, ProductID, ProductKey
ProductName = "Product Name: " & objshell.RegRead(Path & "ProductName")
ProductID = "Product ID: " & objshell.RegRead(Path & "ProductID")
ProductKey = "Installed Key: " & ConvertToKey(DigitalID)
ProductData = ProductName & vbNewLine & ProductID & vbNewLine & ProductKey
'Show messbox ifsaveto a file
If vbYes = MsgBox(ProductData & vblf & vblf & "Save to a file?", vbYesNo + vbQuestion, "BackUp Windows Key Information") then
Save ProductData
EndIf
'Convert binary to chars
FunctionConvertToKey(Key)
Const KeyOffset = 52
Dim isWin8, Maps, i, j, Current, KeyOutput, Last, keypart1, insert
'Checkif OS is Windows 8
isWin8 = (Key(66) \ 6) And 1
Key(66) = (Key(66) And &HF7) Or ((isWin8 And 2) * 4)
i = 24
Maps = "BCDFGHJKMPQRTVWXY2346789"
Do
Current= 0
j = 14
Do
Current = Current* 256
Current = Key(j + KeyOffset) + Current
Key(j + KeyOffset) = (Current \ 24)
Current=Current Mod 24
j = j -1
Loop While j >= 0
i = i -1
KeyOutput = Mid(Maps,Current+ 1, 1) & KeyOutput
Last = Current
Loop While i >= 0

If (isWin8 = 1) Then
keypart1 = Mid(KeyOutput, 2, Last)
insert = "N"
KeyOutput = Replace(KeyOutput, keypart1, keypart1 & insert, 2, 1, 0)
If Last = 0 Then KeyOutput = insert & KeyOutput
EndIf
ConvertToKey = Mid(KeyOutput, 1, 5) & "-" & Mid(KeyOutput, 6, 5) & "-" & Mid(KeyOutput, 11, 5) & "-" & Mid(KeyOutput, 16, 5) & "-" & Mid(KeyOutput, 21, 5)
EndFunction
'Save data to a file
FunctionSave(Data)
Dim fso, fName, txt,objshell,UserName
Set objshell = CreateObject("wscript.shell")
'Get current user name
UserName = objshell.ExpandEnvironmentStrings("%UserName%")
'Create a textfileon desktop
fName = "C:\Users\" & UserName & "\Desktop\WindowsKeyInfo.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
Set txt = fso.CreateTextFile(fName)
txt.WritelineData
txt.Close
EndFunction

When you double-click the VBS script, you'll get a small popup that displays your Windows product key. It also lets you save it as a text file, so you can reference it later.

How to Find Your Lost Windows or Office Product Keys (11)

Read the Product Key From the Certificate of Authenticity Sticker

If you have a Windows 7-era PC, there's a good chance the PC's key is a single key the manufacturer uses for all their PCs. Thanks to "System Locked Pre-installation," you're not allowed to use that key to install Windows. If you try, you'll get error messages about the key being invalid.

To check, you'll need to look for a certificate of authenticity sticker on your computer. The COA sticker verifies that the computer came with an authentic copy of Windows, and that sticker has a product key printed on it. You'll need that product key to reinstall Windows — and, if the manufacturer used System Locked Pre-installation, that key is different from the one your PC came with in software.

Examine your computer to find the key. On a laptop, it may be on the bottom of the laptop. If your laptop has a removable battery, it may be under the battery. If there's some sort of compartment you can open, it might be in there. It may even be stuck to the laptop's charger brick. If it's a desktop, look on the side of the desktop's case. If it's not there, check the top, back, bottom, and anywhere else it might be.

How to Find Your Lost Windows or Office Product Keys (12)

If the key has rubbed off of the sticker, there's not much you can do. You can try contacting your computer's manufacturer and explaining what happened, but we can't guarantee they'll help. Microsoft would always be happy to sell you another key, though!

The product key system is complicated to understand because Microsoft doesn't really want typical Windows users to reinstall Windows on their PCs. Instead, they'd rather you use your computer manufacturer's recovery media. But the recovery media is full of the bloatware you don't want on your PC — that's why so many geeks often opt to reinstall Windows on their new PCs.

How to Find Your Lost Windows or Office Product Keys (2024)

FAQs

How to Find Your Lost Windows or Office Product Keys? ›

If Windows came preinstalled on your PC, the product key should appear on a sticker on your device. If you've lost or can't find the product key, contact the manufacturer. To ensure your product key is genuine, see How to tell your software is genuine and How to tell your hardware is genuine.

How do you find your Windows product key if you lost it? ›

The best way to recover a lost product key for Windows or an Office program is to use a third-party program, like Nirsoft's Produkey or ShowKeyPlus. You may also have a sticker attached to your PC or disk box with a product key written on it.

How do I find my lost Office product key? ›

Here's how to view your product key in the Microsoft Store: Go to www.microsoftstore.com. In the upper right-hand corner, select Sign in and enter the user ID and password you used to buy Office. After you sign in, select your name in the upper right-hand corner, and then select Order History.

What happens if I can't find my Windows product key? ›

Go to the Microsoft Support website and enter “Windows 10 product key” in the search bar. If you can't find specific help through the articles, you can use the “Contact Us” option to speak with a support agent. If you decide to speak with a support representative, provide any evidence of purchase you have.

How do I find my Microsoft Office product key without software? ›

Replies (7) 
  1. Go to the Microsoft account website and sign in with the email address and password associated with your Microsoft account.
  2. Once you are signed in, click on the "Services & subscriptions" tab.
  3. Locate the Microsoft Office product that you want to retrieve the license key for and click on "View product key".
Dec 28, 2023

How to activate Windows without product key? ›

If you are installing Windows on a new device or motherboard for the first time and you do not have a product key, select I don't have a product key during the installation setup screens. When prompted, enter the Microsoft account you want to use to purchase a digital license for this device.

Can I get back my Microsoft Office product key? ›

You can use the Microsoft account recovery page to reset your password or recover your account details. https://account.microsoft.com/account If you're unable to recover the product key using the above method, contact Microsoft Support for assistance.

How to activate Microsoft Office without product key? ›

You activate Microsoft 365 by signing in with a Microsoft account. If we detect your Microsoft account, we'll show it on this screen. After you sign in, your product is added to your Microsoft account, so that you can reinstall it later, or manage your new subscription, without a product key.

How to find Windows product key using cmd? ›

Enter "cmd" in the search box on the taskbar and open Command Prompt. Enter the command wmic path SoftwareLicensingService get OA3xOriginalProductKey and press Enter. The text displayed in the format of "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" is the product key.

How do I find my 25 digit product key? ›

Type cmd in the Windows 10 search bar. Right-click on Command Prompt, select Run as administrator, and select Yes if Windows asks you to allow access. Press Enter. Your 25-character Windows 10 product key should now be displayed (in 5-character sets).

How to find Windows key on Microsoft account? ›

If you still don't find it, log into the Microsoft Store > Downloads > Product Keys > Subscription page. Then click the Digital Content tab to see your previous purchases along with your product key.

Can I recover Windows 10 product key? ›

Registry File. As you might imagine, the product key is stored in the Windows 10 Registry File, so it's possible to find the code there if you know the right key. To do so: Type regedit into the Windows 10 desktop search, and select the appropriate item in the results.

How to find original Windows product key? ›

Generally, if you bought a physical copy of Windows, the product key should be on a label or card inside the box that Windows came in. If Windows came preinstalled on your PC, the product key should appear on a sticker on your device. If you've lost or can't find the product key, contact the manufacturer.

How do I find my Microsoft Office product key from command prompt? ›

Tip 3. Run CMD to Find Office Product Key
  1. Search CMD in the search box and run as administrator.
  2. Type the following command according to your needs. Office 2013 (32-bit)(Win32-bit): cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus. ...
  3. Your product key should appear here.
Nov 23, 2023

How to find Microsoft Office 365 product key? ›

Sign into the Microsoft 365 admin center. Go to Billing > Your products > Volume licensing > Downloads & keys > hover on product and select View keys.

How to find Windows 11 product key using Command Prompt? ›

Enter "cmd" in the search box on the taskbar and open Command Prompt. Enter the command wmic path SoftwareLicensingService get OA3xOriginalProductKey and press Enter. The text displayed in the format of "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" is the product key.

Top Articles
Series LLC | FTB.ca.gov
The 20 largest family offices in the world
The Tribes and Castes of the Central Provinces of India, Volume 3
Koopa Wrapper 1 Point 0
Pieology Nutrition Calculator Mobile
Wisconsin Women's Volleyball Team Leaked Pictures
What are Dietary Reference Intakes?
Southeast Iowa Buy Sell Trade
Mikayla Campino Video Twitter: Unveiling the Viral Sensation and Its Impact on Social Media
A Fashion Lover's Guide To Copenhagen
Aquatic Pets And Reptiles Photos
Nier Automata Chapter Select Unlock
Classic Lotto Payout Calculator
Craigslist Farm And Garden Tallahassee Florida
Available Training - Acadis® Portal
Apne Tv Co Com
Ess.compass Associate Login
Florida History: Jacksonville's role in the silent film industry
2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
Ibukunore
Lola Bunny R34 Gif
Obituaries Milwaukee Journal Sentinel
Apartments / Housing For Rent near Lake Placid, FL - craigslist
Hesburgh Library Catalog
Pensacola Tattoo Studio 2 Reviews
Encore Atlanta Cheer Competition
3 Ways to Format a Computer - wikiHow
Nurofen 400mg Tabletten (24 stuks) | De Online Drogist
Fairwinds Shred Fest 2023
Teenbeautyfitness
Rust Belt Revival Auctions
Tendermeetup Login
Domina Scarlett Ct
Instafeet Login
Duff Tuff
Craigslist Freeport Illinois
Wasmo Link Telegram
Sofia With An F Mugshot
Nina Flowers
The Attleboro Sun Chronicle Obituaries
Borat: An Iconic Character Who Became More than Just a Film
Hawkview Retreat Pa Cost
Whitney Wisconsin 2022
Premiumbukkake Tour
Online College Scholarships | Strayer University
Enjoy Piggie Pie Crossword Clue
Sml Wikia
683 Job Calls
Land of Samurai: One Piece’s Wano Kuni Arc Explained
211475039
Obituaries in Westchester, NY | The Journal News
Bellin Employee Portal
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 6359

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.