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 fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
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.
Steps
-
Open PowerShell. To do this, type powershell in the taskbar search bar, then click Windows PowerShell in the Start menu that pops up.
-
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
-
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]
-
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.
-
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.
-
Click Activation. This option has an icon of a checkmark. You'll likely need to scroll a little to find this option.
-
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.
Expert Q&A
Video
Tips
References
- ↑ https://learn.microsoft.com/en-us/answers/questions/4158312/how-do-i-obtain-my-product-key
- ↑ https://superuser.com/questions/1178674/wmic-is-not-recognized-as-an-internal-or-external-command-operable-program-or
- ↑ https://support.microsoft.com/en-us/windows/find-your-windows-product-key-aaa2bf69-7b2b-9f13-f581-a806abf0a886
- ↑ https://support.microsoft.com/en-us/windows/find-your-windows-product-key-aaa2bf69-7b2b-9f13-f581-a806abf0a886
- ↑ https://support.microsoft.com/en-us/windows/find-your-windows-product-key-aaa2bf69-7b2b-9f13-f581-a806abf0a886










