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 wikiHow article teaches you how to find your Windows product key so that you can activate Windows. [1] X Research source
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.
Steps
-
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.
-
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
-
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.
-
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] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
Advertisement
-
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.
-
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.
-
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
-
Note the product key. Your product key is the 25-letter key displayed under the text that says "OA3xOriginalProductKey."
-
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.
Advertisement
-
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.
-
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.
-
Enter the command to display the product key and press ↵ Enter . The command is as follows: [3] X Research source
- powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
-
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]
X
Expert Source
Yaffet Meshesha
Computer Specialist Expert Interview. 22 September 2020.
- 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]
X
Expert Source
Yaffet Meshesha
-
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.
Advertisement
-
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.
-
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.
-
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.
-
Click the SoftwareProtectionPlatform folder. This displays all the files within this folder in the large panel on the right.
-
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] X Research source
-
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.
Advertisement
Expert Q&A
Search
-
QuestionHow do you check your Windows Product Key?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.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.
-
QuestionWhat is a Windows product key and how do I find it?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.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.
-
QuestionWhat is a Windows Product Key? How do I get one?Community AnswerWindows 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.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
- You can also use the free program Magical Jelly Bean to help you retrieve your Windows product key. [6] X Expert Source Yaffet Meshesha
Computer Specialist Expert Interview. 22 September 2020.Thanks
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.Thanks
Advertisement
References
- ↑ https://www.techspot.com/guides/1760-find-your-windows-product-key/
- ↑ https://support.microsoft.com/en-us/windows/find-your-windows-product-key-aaa2bf69-7b2b-9f13-f581-a806abf0a886
- ↑ https://windowsreport.com/find-windows-product-key-cmd-powershell/
- ↑ Yaffet Meshesha. Computer Specialist. Expert Interview. 22 September 2020.
- ↑ https://www.tomshardware.com/how-to/find-windows-product-key
- ↑ Yaffet Meshesha. Computer Specialist. Expert Interview. 22 September 2020.
About This Article
Article Summary
X
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,144,613 times.
Advertisement