How to Get a Product Key for Windows 10 Pro
Have you lost your Windows 10 product key? You can find it listed in the operating system itself with a little know-how and just a few simple commands.
For most users, particularly with Microsoft Windows 10, the last operating system you will ever need, there has been no need for product keys because there has been no "new" version of Windows. With the pending release of Windows 11, however, those blissful days may be over, and users may find they need to know their Windows 10 product key after all.
SEE: Research: Workforce training is worth the investment, increasing productivity and job satisfaction (TechRepublic Premium)
Your Windows 10 product key should be listed on a sticker located on your computer hardware somewhere—typically in the most inaccessible spot possible. But before you go crawling behind your desk looking for a 25-digit alphanumeric code printed in fine print on the backside of your PC, there are less strenuous ways to track down your Windows 10 product key.
This how-to tutorial shows you how to find your Windows 10 product key using the power of the operating system itself.
How to find your Windows 10 product key
Before we begin, note that the success of any of these methods is largely dependent on how your PC was activated. If you activated Windows 10 by upgrading from a valid Windows 7 or 8 installation or with the computer's recent purchase, you are likely to find the product key with most of these methods. However, if your PC was activated as part of an organization's licensing agreement, finding a product key may be more problematic.
SEE: 83 Excel tips every user should master (TechRepublic)
1. Command prompt
The most direct method for finding your Windows 10 product key is from the command line. Type "cmd" into the Windows 10 desktop search box and then right-click the command line result and select "run as administrator" from the context menu. Type this command at the prompt:
wmic path softwareLicensingService get OA3xOriginalProductKey
As you can see in Figure A, the command will display your current Windows 10 product key.
Figure A
2. PowerShell
If you are using Windows 10 PowerShell, the process is similar. Right-click the Start Menu button and then select Windows PowerShell (Admin) from the context menu. Type this command at the prompt to reveal the product key as shown in Figure B.
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"
Figure B
3. Registry File
As you might imagine, the product key is stored in the Windows 10 Registry File, so it is possible to find the code there if you know the right key. Type "regedit" into the Windows 10 desktop search and select the appropriate item in the results. Navigate to this key:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
As you can see in Figure C, the BackupProductKeyDefault key will reveal a valid Windows 10 product key.
Figure C
Note: In my case, the Windows 10 product key displayed by both the command prompt and PowerShell methods are the same. In the registry example, however, the product keys is different. The best explanation I can suggest is that because I upgraded from Home to Pro on the example PC, the product key displayed is for the upgrade to Pro (or vice versa). If you have a better solution, please let us know in the discussion.
There are third-party vendors offering applications that can locate and display your Windows 10 product key as well, but they essentially do the same thing we did here without involving someone else's programming and potential security issues. Also, keep in mind that if you bought Windows 10 from the Microsoft Store, your account order history would have product key information available.
Microsoft Weekly Newsletter
Be your company's Microsoft insider by reading these Windows and Office tips, tricks, and cheat sheets. Delivered Mondays and Wednesdays
Sign up todayAlso see
- How to change the registered license owner in Windows 10 (TechRepublic)
- Windows evolves: Windows 11, and the future of Windows 10 (TechRepublic)
- How to activate Microsoft Defender Application Guard in Windows 10 (TechRepublic)
- Windows 10 PowerToys: A cheat sheet (TechRepublic)
- How to upgrade from Windows 10 Home to Pro for free (ZDNet)
- Checklist: Securing Windows 10 systems (TechRepublic Premium)
- Everything you need to know about the Microsoft Exchange Server hack (ZDNet)
- Must-read coverage: Windows 10 (TechRepublic on Flipboard)
How to Get a Product Key for Windows 10 Pro
Source: https://www.techrepublic.com/article/3-simple-ways-to-find-your-windows-10-product-key/