PDF download Download Article
Track down your Windows 11 product key in seconds
PDF download Download Article

If you need to reinstall Windows 11, you may need to provide the product key to activate the new Windows installation. But how exactly do you find your Windows 11 product key? In this article, we go over a few ways to find your product key, including why you might not have a key at all. Keep reading to learn more!

Ways to Find a Windows 11 Product Key

  • Open PowerShell and run this command: powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey".
  • Check for a digital license in Settings > System > Activation > Activation state. A digital license means you likely don't have a product key.
  • Look for a product key in the email confirmation of a digital purchase, or on the box or label for a physical purchase.
Method 1
Method 1 of 4:

Using PowerShell

PDF download Download Article
  1. Step 1 Open PowerShell.
    To do this, type powershell in the taskbar search bar, then click Windows PowerShell in the Start menu that pops up.
  2. Step 2 Type the product key command.
    The command is powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey". We recommend copying and pasting the command so you don't miss anything (including the quotes).
    Advertisement
  3. Step 3 Press ↵ Enter.
    After a few moments, PowerShell will show your Windows product key.[1]
    • You may have seen some articles or websites suggest using the command wmic path softwareLicensingService get OA3xOriginalProductKey. However, wmic is deprecated in Windows 11, so the PowerShell command is the preferred way to check your product key in the command line.[2]
  4. Advertisement
Method 2
Method 2 of 4:

Checking For a Digital License

PDF download Download Article
  1. Step 1 Open the Settings app.
    There are a few ways you can do this:
    • Press Win+I.
    • Right-click the Windows icon in the taskbar and click Settings.
    • Click the Windows icon in the taskbar and click Settings.
    • Type "Settings" into the taskbar search bar and click Settings in the Start menu.
  2. Step 2 Click System in the left-hand sidebar.
    It's got an icon of a computer screen, and it's the second option on the list.
  3. Step 3 Click Activation.
    This option has an icon of a checkmark. You'll likely need to scroll a little to find this option.
  4. Step 4 Click Activation state to expand it.
    If you see that Windows was activated by a digital license, you may or may not have a product key. If you use the PowerShell method above and you can't find a product key, and you instead see that your Windows was activated by a digital license, you most likely don't have a product key at all for your Windows installation.
    • You'll have a digital license if you upgraded from an older version of Windows to Windows 11, or if you purchased the Windows 11 upgrade via the Microsoft Store App.[3] Your Windows 11 is instead linked to your Microsoft account.
  5. Advertisement
Method 3
Method 3 of 4:

Checking a Digital Copy

PDF download Download Article
  1. Step 1 Check your email for the product key.
    If you purchased a digital copy of Windows 11, your product key will be in the confirmation email you got after buying it. This is the case whether you purchased Windows 11 from a Microsoft website or from an authorized reseller.[4]
Method 4
Method 4 of 4:

Checking a Physical Copy

PDF download Download Article
  1. Step 1 Check the packaging of your physical Windows 11 copy.
    If you purchased a physical copy of Windows 11, the product key will be on a label or card inside the Windows 11 box.[5] The product key is 25 characters long and will look like this: PRODUCT KEY: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.
  2. Advertisement

Expert Q&A

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!

About This Article

Stan Kats
Reviewed by:
Professional Technologist
This article was reviewed by Stan Kats and by wikiHow staff writer, Hannah Dillon. Stan Kats is a Professional Technologist and the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan holds a BA in International Relations from The University of Southern California. He began his career working in the Fortune 500 IT world. Stan founded his companies to offer an enterprise-level of expertise for small businesses and individuals. This article has been viewed 2,546 times.
How helpful is this?
Co-authors: 3
Updated: November 25, 2025
Views: 2,546
Categories: Windows
Thanks to all authors for creating a page that has been read 2,546 times.

Is this article up to date?

Advertisement