views
X
Research source
- 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.
Finding your Windows Product Key
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.
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.
Using Command Prompt
Click the Windows Start menu Windows Start. 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.
Type CMD. This displays the Command Prompt in the Windows Start menu.
Open the Command Prompt as an administrator Windows cmd. 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.
Using PowerShell
Right-click the Windows Start menu Windows Start. 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: 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.
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.
Using the Registry
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.
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.
Comments
0 comment