4 Ways to Find Your Window 10 or 11 Product Key (2024)

  • Categories
  • Computers and Electronics
  • Operating Systems
  • Windows

Download Article

Find your Windows product key using the Command Prompt, PowerShell, or the Windows Registry

Co-authored byYaffet Mesheshaand Travis Boylls

Last Updated: March 27, 2024Fact Checked

Download Article

  • Finding your Windows Product Key
  • |
  • Using Command Prompt
  • |
  • Using PowerShell
  • |
  • Using the Registry
  • |
  • Video
  • |
  • |
  • Tips
  • |
  • Warnings

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

Download Article

  1. 1

    Find your product key if your PC comes with Windows pre-installed. 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. 2

    Find your product key if you bought a physical copy of Windows. 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.

    Advertisem*nt

  3. 3

    Find your product key if you bought a digital copy of Windows. 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. 4

    Find your Windows product key if you have a volume licensing agreement or MSDN subscription. 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. Advertisem*nt

Method 2

Method 2 of 4:

Using Command Prompt

Download Article

  1. 1

    Click the Windows Start menu

    . It's the icon with the Windows logo in the taskbar at the bottom of the screen. You can do this in Windows 10 or 11.

  2. 2

    Type CMD. This displays the Command Prompt in the Windows Start menu.

  3. 3

    Open the Command Prompt as an administrator

    . To open the Command Prompt as an administrator, right-click the Command Prompt and click Run as Administrator.

    • You must be signed in to Windows with an administrative account in order to open the Command Prompt as an administrator.
  4. 4

    Type the command to display your product key. To display your product key, type the following command and press Enter.

    • wmic path softwareLicensingService get OA3xOriginalProductKey
  5. 5

    Note the product key. Your product key is the 25-letter key displayed under the text that says "OA3xOriginalProductKey."

  6. 6

    Save a copy of the product key. You can either Take a screenshot of the results or write down the key to ensure you have access to it if needed.

  7. Advertisem*nt

  1. 1

    Right-click the Windows Start menu

    . It's the icon that resembles the Windows logo in the taskbar at the bottom of the screen. Right-clicking the Windows Start menu displays a context menu. This will work on both Windows 10 and 11.

  2. 2

    Click Windows PowerShell (Admin). This will open PowerShell as an administrator.

    • You must be logged into Windows with an administrative account in order run PowerShell as an administrator.
  3. 3

    Enter the command to display the product key and press Enter. The command is as follows:[3]

    • powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
  4. 4

    Note your product key. You should see the product key appear directly below the command that you entered; this is your product key.

    • The product key will be 25 characters long. If you don't see the product key appear immediately, enter the code a second time and press Enter.[4]
  5. 5

    Save a copy of the product key. You can either Take a screenshot of the results or write down the key to ensure you have access to it if needed.

  6. Advertisem*nt

Method 4

Method 4 of 4:

Using the Registry

Download Article

  1. 1

    Press Win+R to open Run. 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. 2

    Type regedit and press Enter. 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. 3

    Navigate to the SoftwareProtectionPlatform folder. 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. 4

    Click the SoftwareProtectionPlatform folder. This displays all the files within this folder in the large panel on the right.

  5. 5

    Double-click the BackupProductKeyDefault file. 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. 6

    Save a copy of the product key. You can either Take a screenshot of the results or write down the key to ensure you have access to it if needed.

  7. Advertisem*nt

Expert Q&A

Search

Add New Question

  • Question

    How do you check your Windows Product Key?

    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.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 20Helpful 6

  • Question

    What is a Windows product key and how do I find it?

    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.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 14Helpful 3

  • Question

    What is a Windows Product Key? How do I get one?

    4 Ways to Find Your Window 10 or 11 Product Key (35)

    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.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 23Helpful 15

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisem*nt

      Video

      Tips

      • You can also use the free program Magical Jelly Bean to help you retrieve your Windows product key.[6]

        Thanks

        Helpful0Not Helpful0

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Submit

      Thanks for submitting a tip for review!

      Advertisem*nt

      Warnings

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

        Thanks

        Helpful7Not Helpful3

      Advertisem*nt

      You Might Also Like

      How to Take a Screenshot on a Windows PC: 8 Simple TricksHow toChange a Windows Serial Number
      How toChange a Windows XP Product KeyHow toChange Microsoft Office Product KeyHow toCheck if Windows XP Is Activated4 Easy Ways to Access the Boot Options Menu in WindowsEasily Download and Install FFmpeg on a Windows PCHow toEnter BIOSHow toAutomatically Shut Down Your Computer at a Specified TimeInstalling Windows After Ubuntu: A Step-by-Step GuideHow toCheck Your Windows Version3 Ways to Change a Computer's Mac Address in Windows

      Advertisem*nt

      About This Article

      4 Ways to Find Your Window 10 or 11 Product Key (51)

      Co-authored by:

      Yaffet Meshesha

      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 985,454 times.

      How helpful is this?

      Co-authors: 19

      Updated: March 27, 2024

      Views:985,454

      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?

      In other languages

      Spanish

      Portuguese

      German

      Russian

      Indonesian

      French

      Dutch

      Arabic

      Thai

      Chinese

      Turkish

      Korean

      Hindi

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 985,454 times.

      Reader Success Stories

      • 4 Ways to Find Your Window 10 or 11 Product Key (52)

        A. Javed

        Jun 25, 2016

        "Very helpful. Solved my problem 100%."

      Is this article up to date?

      Advertisem*nt

      4 Ways to Find Your Window 10 or 11 Product Key (2024)
      Top Articles
      Latest Posts
      Article information

      Author: Fredrick Kertzmann

      Last Updated:

      Views: 6536

      Rating: 4.6 / 5 (46 voted)

      Reviews: 85% of readers found this page helpful

      Author information

      Name: Fredrick Kertzmann

      Birthday: 2000-04-29

      Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

      Phone: +2135150832870

      Job: Regional Design Producer

      Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

      Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.