PDF download Download Article
Find your Windows product key using the Command Prompt, PowerShell, or the Windows Registry
PDF download Download Article

Do you need to find your Windows product key? The Windows product key is necessary if you want to install Windows on a different computer or reinstall it on your the same computer. You can find the Windows product key using your computer's Command Prompt, PowerShell program, or within the Windows Registry. This wikiHow article teaches you how to find your Windows product key so that you can activate Windows.[1]

Things You Should Know

  • You can find your Windows product key using the Command Prompt, Powershell, or the Windows Registry.
  • If you purchased Windows from a licensed retailer, you can find your Windows key in the box that it came in.
  • If you bought a digital version of Windows or an upgrade online or from the Microsoft Store, you should receive your product key in a confirmation email.
Method 1
Method 1 of 4:

Finding your Windows Product Key

PDF download Download Article
  1. If your PC comes with Windows pre-installed, you do not need to use your product key to activate Windows. It's already running. If you want to save a backup copy, you can do so, using the Command Prompt, PowerShell, or your Windows Registry. You can also find your Windows product key within the packaging your PC came with or within the Certificate of Authenticity.
    • Most newer computers do not have the Windows product key printed on a sticker on the bottom of the computer like they used to. However, you should be able to find the Windows product key within the package your computer came in.
  2. If you bought a physical copy of Windows 10 or 11 from an authorized retailer, you can find your Windows product key within the box that Windows came in.
    Advertisement
  3. If you bought a digital copy of Windows online or through the Microsoft Store, either as a new copy or an upgrade, you should have received a confirmation email. Your Windows product key should be in the confirmation email.
  4. If you have a volume licensing agreement or MSDN subscription, you can find your Windows product key in the web portal for your program.[2]
  5. Advertisement
Method 2
Method 2 of 4:

Using Command Prompt

PDF download Download Article
  1. This displays the Command Prompt in the Windows Start menu.
  2. To display your product key, type the following command and press Enter.
    • wmic path softwareLicensingService get OA3xOriginalProductKey
  3. Your product key is the 25-letter key displayed under the text that says "OA3xOriginalProductKey."
  4. You can either take a screenshot of the results or write down the key to ensure you have access to it if needed.
  5. Advertisement
Method 3
Method 3 of 4:

Using PowerShell

PDF download Download Article
  1. This will open PowerShell as an administrator.
    • You must be logged into Windows with an administrative account in order run PowerShell as an administrator.
  2. The command is as follows:[3]
    • powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
  3. You should see the product key appear directly below the command that you entered; this is your product key.
  4. You can either take a screenshot of the results or write down the key to ensure you have access to it if needed.
  5. Advertisement
Method 4
Method 4 of 4:

Using the Registry

PDF download Download Article
  1. Pressing the Windows key and R at the same time will open the Run program. This will work on both Windows 10 and 11.
  2. This will open the Registry Editor, where you can find the Windows Product Key.
    • Warning: Editing files within the Registry Editor can cause permanent damage to your Windows operating system. Do not edit or move any files unless you know what you are doing.
  3. You will see a series of folders listed in the panel to the left. Open the following folders to navigate to the "SoftwareProtectionPlatform" folder.
    • Open the HKEY_LOCAL_MACHINE folder.
    • Open the SOFTWARE folder.
    • Open the Microsof folder.
    • Open the Windows NT folder
    • Open the CurrentVersion folder.
    • Open the SoftwareProtectionPlatform folder.
  4. This displays all the files within this folder in the large panel on the right.
  5. This displays your 25-digit product key in the field that says "Value Data." You can also read the product key under "Data" next to the BackupProductKeyDefault file.[5]
  6. You can either take a screenshot of the results or write down the key to ensure you have access to it if needed.
  7. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    How do you check your Windows Product Key?
    Luigi Oppido
    Luigi Oppido
    Computer & Tech Specialist
    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
    Luigi Oppido
    Computer & Tech Specialist
    Expert Answer
    The Product Key is encoded in your computer, in BIOS. To access it, you will have to use a third-party software, like Produkey or Show Key Plus.
  • Question
    What is a Windows product key and how do I find it?
    Yaffet Meshesha
    Yaffet Meshesha
    Computer Specialist
    Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time.
    Yaffet Meshesha
    Computer Specialist
    Expert Answer
    A Windows product key is a 25-character key that tells Microsoft that your Windows operating system is authentic. The way you find it will depend on how you received the product key initially, but if you can't find it, I recommend Magical Jelly Bean, which is a product key finder.
  • Question
    What is a Windows Product Key? How do I get one?
    Community Answer
    Community Answer
    Windows Product Key is a unique key for each customer. This key is used to activate your Windows operating system. You receive the Product Key when you purchase a Windows OS, or you can buy it separately from Microsoft.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Using someone else's product key to activate your own Windows software is against Microsoft's terms of use.
Advertisement

You Might Also Like

Take a Screenshot in Microsoft Windows Take a Screenshot on a Windows PC: 8 Simple Tricks
Change a Windows Serial NumberChange a Windows Serial Number
Change a Windows XP Product KeyChange a Windows XP Product Key
Change Microsoft Office Product Key3 Ways to Change Microsoft Office Product Key
Check if Windows XP Is ActivatedCheck if Windows XP Is Activated
Check Your Windows VersionCheck Your Windows Version
Install FFmpeg on WindowsEasily Download and Install FFmpeg on a Windows PC
Check Mouse Sensitivity (Dpi) on PC or Mac Check Your Mouse DPI on Windows & Mac
Start Windows in Safe Mode Start Windows in Safe Mode: 6 Easy Options
Change Your Desktop Background in Windows5 Quick Ways to Change Your Desktop Wallpaper on Windows
Get to the Boot Menu on Windows4 Easy Ways to Access the Boot Options Menu in Windows
Enter BIOS Access the BIOS on Any PC: Guide + Troubleshooting
Turn Off BitLocker Disable BitLocker Encryption in Windows 10 and 11
Move Game to Another Screen3 Easy Ways to Move a Full Screen Game to Another Monitor
Advertisement

About This Article

Yaffet Meshesha
Co-authored by:
Computer Specialist
This article was co-authored by Yaffet Meshesha and by wikiHow staff writer, Travis Boylls. Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time. This article has been viewed 1,187,421 times.
How helpful is this?
Co-authors: 20
Updated: August 21, 2024
Views: 1,187,421
Categories: Windows
Article SummaryX

1. Open PowerShell.
2. Type "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey" and press Enter.
3. Note your product key.

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,187,421 times.

Reader Success Stories

  • A. Javed

    A. Javed

    Jun 25, 2016

    "Very helpful. Solved my problem 100%."
Share your story

Is this article up to date?

Advertisement