Download Article
Find your Windows product key using the Command Prompt, PowerShell, or the Windows Registry
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 How.com.vn 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. How.com.vn English: Step 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. How.com.vn English: Step 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.
    Advertisement
  3. How.com.vn English: Step 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. How.com.vn English: Step 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. Advertisement
Method 2
Method 2 of 4:

Using Command Prompt

Download Article
  1. How.com.vn English: Step 1 Click the Windows Start menu icon.
    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. How.com.vn English: Step 2 Type CMD.
    This displays the Command Prompt in the Windows Start menu.
  3. How.com.vn English: Step 3 Open the Command Prompt as an administrator icon.
    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. How.com.vn English: Step 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. How.com.vn English: Step 5 Note the product key.
    Your product key is the 25-letter key displayed under the text that says "OA3xOriginalProductKey."
  6. How.com.vn English: Step 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. Advertisement
Method 3
Method 3 of 4:

Using PowerShell

Download Article
  1. How.com.vn English: Step 1 Right-click the Windows Start menu icon.
    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. How.com.vn English: Step 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. How.com.vn English: Step 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. How.com.vn English: Step 4 Note your product key.
    You should see the product key appear directly below the command that you entered; this is your product key.
  5. How.com.vn English: Step 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. Advertisement
Method 4
Method 4 of 4:

Using the Registry

Download Article
  1. How.com.vn English: Step 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. How.com.vn English: Step 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. How.com.vn English: Step 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. How.com.vn English: Step 4 Click the SoftwareProtectionPlatform folder.
    This displays all the files within this folder in the large panel on the right.
  5. How.com.vn English: Step 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. How.com.vn English: Step 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. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    How do you check your Windows Product Key?
    How.com.vn English: 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.
    How.com.vn English: 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?
    How.com.vn English: 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.
    How.com.vn English: 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?
    How.com.vn English: 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
      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

      About This Article

      How.com.vn English: Yaffet Meshesha
      Co-authored by:
      Computer Specialist
      This article was co-authored by Yaffet Meshesha and by How.com.vn 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 994,171 times.
      How helpful is this?
      Co-authors: 19
      Updated: March 27, 2024
      Views: 994,171
      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 994,171 times.

      Reader Success Stories

      • How.com.vn English: A. Javed

        A. Javed

        Jun 25, 2016

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

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement