The Windows product key is a 25-character alphanumeric code used to activate your operating system, ensuring it is genuine and fully functional. Whether you're reinstalling Windows, transferring a license to a new computer, or troubleshooting activation issues, knowing how to locate your product key is crucial.
In this guide, we’ll cover multiple methods to find your Windows product key, including built-in system commands, third-party tools, and registry searches.
A Windows product key looks something like this:
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Microsoft uses these keys to verify that your copy of Windows is legitimate. There are different types of Windows licenses:
Windows includes a built-in way to retrieve the product key using the Command Prompt.
In the Command Prompt, type the following command and hit Enter:
pgsql
wmic path softwareLicensingService get OA3xOriginalProductKe
If successful, your product key will be displayed.
Note: This method works only if your Windows product key is stored in the motherboard’s firmware (common in pre-built PCs).
Another command-based approach is through Windows PowerShell.
Enter the following command:
sql
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Windows stores product key data in the system registry. You can manually locate it using Registry Editor.
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
Caution: Editing the Windows Registry incorrectly can cause system instability. Be careful when making changes.
If built-in methods don’t work, third-party software can help retrieve your product key.
Note: Be cautious when downloading third-party tools. Only use reputable sources to avoid malware risks.
If you upgraded from a previous version of Windows or bought Windows digitally, your product key may not be needed. Instead, your activation is linked to your Microsoft account.
In this case, you don’t need to manually enter a product key if reinstalling Windows. Simply log in to your Microsoft account during setup.
If you purchased a pre-built laptop or desktop, the product key might be on a sticker on the device.
Knowing how to find your Windows product key can save you time and hassle, especially if you need to reinstall Windows or upgrade your system. Whether using system commands, third-party tools, or checking physical labels, this guide provides multiple ways to retrieve your key safely.
For the easiest activation, consider linking your Windows license to a Microsoft account. That way, you can skip product keys altogether when reinstalling or moving to a new device.
If you’re still having trouble, consider reaching out to Support.Com for a personalized solution to all technical support issues.