- Find your Windows product key
- Locate your product key for Windows 10
- Locate your product key for Windows 7 or Windows 8.1
- Related links
- Как найти ключ продукта Windows
- Поиск ключа продукта для Windows 10
- Поиск ключа продукта для Windows 7 или Windows 8.1
- Связанные ссылки
- Find your Windows 7/8 Product Key from computer before upgrading to Windows 10
- Where to find your Windows 7/8 product key?
- Retrieve Windows 7/8 product key with VBScript
- Recover Windows 7/8 product key from computer with a tool
- How to find Windows Product Key using Command Prompt or PowerShell
- Find Windows Product Key
- Recover Windows product key using Command Prompt
- Get Windows License Key using PowerShell
- How to Find Your Original Windows 10 Product Key
- Hint: You might not have to.
- Most Read
- Windows OEM keys vs. retail vs. free upgrade
- Do I have a digital license?
- Find your key from inside Windows
- Third-party tools that find Windows keys
- Find your key from outside Windows
- Additional resources
Find your Windows product key
A Windows product key is a 25-character code used to activate Windows. It looks like this:
PRODUCT KEY: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Locate your product key for Windows 10
Depending on how you got your copy of Windows 10, you’ll need either a 25-character product key or a digital license to activate it. A digital license (called a digital entitlement in Windows 10, Version 1511) is a method of activation in Windows 10 that doesn’t require you to enter a product key. Without one of these, you won’t be able to activate your device.
Where to find your product key depends on how you got your copy of Windows.
Select any of the following to see more information:
The product key is preinstalled on your PC, included with the packaging the PC came in, or included on the Certificate of Authenticity (COA) attached to the PC. For more info, contact your hardware manufacturer, and for pictures of authentic product keys and COA labels, see How to tell your hardware is genuine.
The product key is on a label or card inside the box that Windows came in. For more info, contact the retailer that sold you Windows 10. How to tell your software is genuine.
Find your product key in the confirmation email you received after buying Windows 10 or in a digital locker accessible through the retailer’s website.
The product key is in the confirmation email you received after buying your digital copy of Windows. Microsoft only keeps a record of product keys if you purchased from the Microsoft online store. You can find out if you purchased from Microsoft in your Microsoft account Order history.
If you upgraded to Windows 10 for free from Windows 7 or Windows 8.1, you should have a digital license instead of a product key.
If you bought Windows 10 Home, Professional, or Upgrade to Pro in the Windows 10 Store app, you’ll receive a digital license instead of a product key. You can use the digital license for activation.
If your product key is scratched, blurred, or otherwise unusable, contact the retailer who sold you the product. If you aren’t able to get help from your retailer or have already tried and couldn’t get a working key, call Microsoft Support.
For more information about digital licenses and product keys in Windows 10, see the “Methods of Activation” section in Activate Windows 10.
Locate your product key for Windows 7 or Windows 8.1
A product key is usually required when uninstalling or reinstalling Windows 7 or Windows 8.1. Generally, if you bought a physical copy of Windows, the product key should be on a label or card inside the box that Windows came in. If Windows came preinstalled on your PC, the product key should appear on a sticker on your device. If you’ve lost or can’t find the product key, contact the manufacturer. To ensure your product key is genuine, see How to tell your software is genuine and How to tell your hardware is genuine.
Related links
For info about how to tell if your copy of Windows is genuine Microsoft software, see the How to tell page.
For more Windows 10 download info, see Download Windows 10.
If you need installation media to install or reinstall Windows, see Create installation media for Windows to learn how to create your own installation media using either a USB flash drive or a DVD.
If you need more help with activation, see Activate Windows 10.
If you’re getting an activation error, see Get help with Windows activation errors.
If you’re reinstalling Windows 10, you might not need a Windows product key. See Activation in Windows 10 for more info.
If you’re reinstalling Windows 10 due to a motherboard problem or some other hardware issue, see Reactivating Windows 10 after a hardware change.
If you’re looking for product keys for Office, apps, games, and more, see Find your Microsoft downloads and product keys
Как найти ключ продукта Windows
Ключ продукта Windows представляет собой 25-значный код, используемый для активации Windows. Он выглядит следующим образом:
КЛЮЧ ПРОДУКТА: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Поиск ключа продукта для Windows 10
В зависимости от того, как вы получили свою копию Windows 10, для активации может потребоваться 25-значный ключ продукта или цифровая лицензия. Цифровая лицензия (в Windows 10 версии 1511 она называется цифровым разрешением) — это способ активации в Windows 10, при котором не требуется вводить ключ продукта. Если у вас нет одного из этих средств, активацию устройства выполнить не удастся.
Расположение ключа продукта зависит от того, как вы приобрели копию Windows.
Выберите любой из следующих вариантов просмотра дополнительных сведений.
Ключ продукта предварительно установлен на вашем компьютере, указан на его упаковке или сертификате подлинности, прикрепленном к компьютеру. Для получения дополнительных сведений обратитесь к производителю оборудования, а также к фотографиям подлинных ключей продуктов и наклеек с СЕРТИФИКАТом проверки подлинности.
Ключ продукта указан на наклейке или на карточке внутри коробки, в которой поставляется Windows. Для получения дополнительных сведений обратитесь в розничный магазин, в котором вы приобрели Windows 10. Сведения о том, как сказать, что программное обеспечение является подлинным.
Ключ продукта находится в письме с подтверждением, которое вы получили после приобретения Windows 10, или в цифровой корзине, доступ к которой можно получить через веб-сайт розничного продавца.
Ключ продукта будет указан в сообщении электронной почты, которое вы получите для подтверждения покупки вашей цифровой копии Windows. Корпорация Майкрософт хранит записи только тех ключей продуктов, которые были приобретены в интернет-магазине Майкрософт. Чтобы узнать, где вы приобрели свою копию ОС, посетите раздел Журнал заказов. в своей учетной записи Майкрософт.
Если вы бесплатно обновили ОС Windows 7 или Windows 8.1 до Windows 10, вместо ключа продукта вы должны получить цифровую лицензию.
Если вы приобрели Windows 10 Домашняя, Профессиональная или выполнили обновление до версии Pro в приложении Store для Windows 10, вы получите цифровую лицензию вместо ключа продукта. Вы можете использовать цифровую лицензию для активации.
Если ключ продукта поцарапан, размыт или по другой причине не может быть использовать, обратитесь в розничный магазин, в котором вы купили продукт. Если вы не можете получить помощь от вашего розничного продавца или уже предпринимали попытку получить рабочий ключ, позвоните в службу поддержки Майкрософт.
Дополнительные сведения о цифровых лицензиях и ключах продуктов в Windows 10 можно найти в разделе Активация методов активации Windows 10.
Поиск ключа продукта для Windows 7 или Windows 8.1
При удалении и переустановке Windows 7 или Windows 8.1 обычно требуется ключ продукта. Как правило, если вы приобрели физическую копию Windows, ключ продукта должен быть указан на наклейке или на карточке внутри упаковки, в которой находилась копия Windows. Если операционная система Windows была предустановлена на компьютере, то ключ продукта должен быть на наклейке, прикрепленной к этому устройству. Если вы потеряли ключ продукта или не можете его найти, обратитесь к производителю. Чтобы убедиться в подлинности ключа продукта, ознакомьтесь со сведениями о том, как сообщить о подлинности программного обеспечения и о том, как определить подлинность вашего оборудования.
Связанные ссылки
Сведения о том, как определить, является ли ваша копия Windows подлинной программным обеспечением Microsoft, можно узнать на странице как узнать .
Дополнительные сведения о загрузке Windows 10 можно найти в статье Загрузка Windows 10.
Если для установки или переустановки Windows вам нужен установочный носитель, см. раздел Создание установочного носителя для Windows: вы узнаете, как создать собственный установочный носитель с помощью USB-накопителя или DVD-диска.
Если вам нужна дополнительная помощь по активации, ознакомьтесь с разразделом Активация Windows 10.
Если возникает ошибка активации, см. раздел Справка по ошибкам активации Windows.
При переустановке Windows 10 ключ продукта Windows может не понадобиться. Дополнительные сведения приведены в разделе Активация в Windows 10.
При переустановке Windows 10 из-за проблемы с материнской платой или с другим оборудованием см. в раздел Повторная активация Windows 10 после смены оборудования.
Если вам нужны ключи продуктов для Office, приложений, игр и других программ, см. статью Поиск загрузок и ключей продуктов Майкрософт
Find your Windows 7/8 Product Key from computer before upgrading to Windows 10
If you are planting to upgrade your Windows 7/8 PC device to Windows 10, it is highly recommended you to find out the corresponding product keys and store them in a safe place. In case some day you need to reinstall them on your current or other computer again.
Where to find your Windows 7/8 product key?
On the bottom of your laptop: If you are using a laptop, look at the bottom of your laptop. Your Windows product key may be printed on the sticker.
On the side of desktop case: If you are using a desktop computer, look on the side of the desktop’s case. If the product key is not that, check the top, back, bottom, and the other place it might be.
On the Email: If you purchased Windows 7/8 online, you may find the activation key on the email that Microsoft sent you at the time of purchase.
In registry: Press «Windows +R» to open Run dialog, type in «regedit» and press Enter to open Registry Editor. And then find the DigitalProductID by this way: HKEY_LOCAL_ MACHINE\SOFTWARE\Microsoft\windows NT\Currentversion.
As you can see in the picture above, the Product Key is in a binary format that can’t be read by humans. How to get the product key from registry?
Retrieve Windows 7/8 product key with VBScript
1. Open a Notepad, and paste the VBScript code to it.
Set WshShell = CreateObject(«WScript.Shell»)
MsgBox ConvertToKey(WshShell.RegRead(«HKLM\ SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId»))
Function ConvertToKey(Key)
Const KeyOffset = 52
i = 28
Chars = «BCDFGHJKMPQRTVWXY2346789»
Do
Cur = 0
x = 14
Do
Cur = Cur * 256
Cur = Key(x + KeyOffset) + Cur
Key(x + KeyOffset) = (Cur \ 24) And 255
Cur = Cur Mod 24
x = x -1
Loop While x >= 0
i = i -1
KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput
If (((29 — i) Mod 6) = 0) And (i <> -1) Then
i = i -1
KeyOutput = «-» & KeyOutput
End If
Loop While i >= 0
ConvertToKey = KeyOutput
End Function
2. Click on File в†’ Save As , on the right side of Save as type select All Files , on the right side of File name enter «productkeyfinder.vbs» , and press Enter to save it as .vbs file.
3. Double click on the productkeyfinder.vbs file, then you can see Windows product key on the popup dialog box.
Recover Windows 7/8 product key from computer with a tool
If you can’t find your product keys with the methods mentioned above, here is another efficient and easy way: use the product key finder software – Product Key Tuner, which also can help you to find out the product keys for your Office, Adobe Dreamweaver/Photoshop, SQL Server, and other tools installed on your computer.
1. Get Cocosenor Product Key Tuner tool, and install it on your computer.
3. Click on Start Recovery button. In a soon, all the product keys for your Windows, Office, and other products, are showed on the dialog.
How to find Windows Product Key using Command Prompt or PowerShell
When you enter, register, and activate your copy of Windows, using a Retail key, the information is stored in the Windows Registry. Users of OEM computers may have noticed that, for a couple of years, the manufacturers have stopped pasting their COA or Certificate of Authenticity sticker, which displayed the Windows product key to the machine anymore. Now this key is embedded in the BIOS/UEFI.
Find Windows Product Key
It is to be noted that a Retail product license is tied to the person whereas the OEM product key is tied to the machine, as per Microsoft Windows Desktop licensing terms. In this post, we will see how to find the original Windows Product Key using Command Prompt or PowerShell, from BIOS or Registry. It works for Retail & OEM licenses too.
Recover Windows product key using Command Prompt
From the WinX Menu in Windows 10 / 8.1, open an elevated command prompt window, type the following command and hit Enter:
Your Windows product key will be displayed.
Get Windows License Key using PowerShell
To find your Windows 10 Product Key, open a PowerShell window with administrative privileges, type the following command and hit Enter:
Your Windows license key will appear! This will work on Windows 10/ 8.1/7/Vista.
In Windows 10, the product key will probably be encrypted, tied to your Microsoft Account and stored by Microsoft in the cloud too.
If you are looking for an easier way, you can also use some free Software Key Finders to recover and save, not just Windows, but even Office, Software, Games serials and license keys.
This post will help you if you want to uninstall the Windows Product Key.
How to Find Your Original Windows 10 Product Key
Hint: You might not have to.
Most Read
In brief For the longest time Windows PCs came with a product key sticker that was placed outside of the machine or with your computer’s manuals. But in recent years manufacturers started storing this license within the machine’s UEFI/BIOS and the information is automatically retrieved and applied when reinstalling the operating system. Certainly a better approach overall. In other instances, for example if you built and installed your OS, your key is associated with your Microsoft account, so there is no way to «lose it» anymore. Read on for more details.
Microsoft has been changing and improving the way it handles Windows licenses. We’ll cover all you need to know in this article, from old school ways to retrieve keys, to the more modern approaches to make good use of your licenses and what restrictions may apply depending on your type of license.
Windows 10 introduced a «Digital Entitlement» element to Microsoft’s license which links your Windows key to an ID generated based on your PC’s hardware. But because your hardware can significantly change if you upgrade your hardware, this entitlement was expanded to become a «Digital License» when 2016’s Anniversary Update (1607) arrived.
This means your Windows 10 license now ties Windows keys to Microsoft accounts, letting you activate a copy of the operating system simply by logging in with valid online credentials. So, if you have a newer Windows PC or you already log in using your Microsoft account, you generally shouldn’t have to search for your original Windows 10 key. We will explain that in better detail in a minute.
There may be other scenarios where you may still want to manually find a Windows key stored in your UEFI/BIOS, or prevent this key from automatically being applied during installation. Not to mention that different conditions apply for non-OEM retail keys, as well as those given to people who upgraded to Windows 10 for free. And in a worst case scenario, you might be trying to find the license for a copy of Windows that no longer boots.
Editor’s Note: This feature was originally published on December 2018. It’s just as relevant today, so we’ve bumped it as part of our #ThrowbackThursday initiative.
Windows OEM keys vs. retail vs. free upgrade
There are many types of Windows licenses with varying terms of use. As a general rule of thumb:
- OEM keys are shipped with a specific computer and can’t be transferred to another machine. Again, these should be auto-applied from your UEFI/BIOS when reinstalling Windows on a modern boxed PC, but you can also retrieve them manually.
- Retail keys are purchased directly from Microsoft, Amazon etc. — these can be transferred to another machine and that process should happen automatically for a digital license, though you can also «uninstall» a Windows key from a given PC.
- Those who upgraded to Windows 10 for free from Windows 7 and 8 don’t have a unique Windows 10 key. This can only be transferred to one other machine (not if you upgraded from an OEM key). Free upgrade licenses are a digital entitlement.
Do I have a digital license?
The Windows 10 Settings app has a page for displaying your activation information, including whether you have a digital license, though your key isn’t shown here:
Go to: Settings > Update & Security > Activation
If you have a digital license, you should see «Windows is activated with a digital license» or «Windows is activated with a digital license linked to your Microsoft account.»
You can also link a Microsoft account to a Windows license by clicking «add a Microsoft Account» on the bottom of the same page and providing your login information.
Find your key from inside Windows
Entering the following lines into an admin Command Prompt or PowerShell worked to display the OEM key embedded in our system’s UEFI/BIOS. However, these commands didn’t return any keys on other two machines we used for testing despite Windows 10 being activated.
wmic path softwarelicensingservice get OA3xOriginalProductKey
powershell «(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey»
There’s also a commonly cited Visual Basic script that retrieves registry-based Windows keys (not those stored in the UEFI/BIOS). You can download the script here. Copy this text and paste it into Notepad, saving it as a .vbs file. Then double-click to launch the file.
Third-party tools that find Windows keys
We downloaded a variety of utilities that can retrieve retail keys from the Windows registry as well as those that are UEFI/BIOS-bound. In testing, some of the applications found both the registry and UEFI/BIOS keys, while others only worked for one or the other:
Nirsoft ProduKey — Found both the embedded OEM key as well as the retail key from our currently running copy of Windows. Also includes keys for many other applications such as Microsoft Office and Adobe products (strangely, Internet Explorer was also included in our results, though no key was provided). As with some of the other tools on this list, ProduKey can load Windows keys from external sources/drives.
ShowKey Plus — This utility also found both our retail and OEM keys, and can load the SOFTWARE hive file from another Windows installation.
Windows 10 Product Key Tool — Made by the developer of EasyBCD, this tool located our UEFI OEM key but didn’t find the retail license on our Windows To Go drive.
Winkeyfinder — Found our retail key but Dell’s UEFI OEM key wasn’t displayed.
Magical Jelly Bean KeyFinder — Returned the retail key but not the UEFI OEM key. This software can also load registry keys from Windows installations on other drives (tools > Load Hive). Listed our Windows 10 Pro install as Enterprise.
Find your key from outside Windows
If you can’t boot into Windows and want to retrieve that key, you can still access this data from an external environment such as a Windows To Go drive, or by attaching your non-booting Windows drive to another machine.
Note that if you’re recovering the key from a Windows To Go workspace, the non-booting drive with your Windows key is offline by default and will have to be enabled in Disk Management (diskmgmt.msc). Right-click the drive and set it as «online.» As mentioned above, several of the third-party tools that we already listed will let you load the registry hive file from another Windows installation.
You can also navigate to your license directly from the Windows registry (regedit via Start) though the key is not in plain text. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ and look for «DigitalProductId» in the right panel.
This registry hive is stored in a file on your OS drive at Windows\System32\Config — look for the file named SOFTWARE.
In testing, both ProduKey and ShowKey Plus loaded the SOFTWARE hive file and displayed the key for an external Windows installation via Windows To Go. Also note that ProduKey can search for Windows keys on computers at remote domains among other locations, and that the Windows Registry Editor can load hive files from other installations:
- Open the Windows Registry Editor (enter regedit via Start)
- Click HKEY_LOCAL_MACHINE so it’s selected
- Click File > Load Hive and navigate to the SOFTWARE file in Windows\System32\Config on your other drive
- Enter a name for this external hive file
- The hive should appear as a sub-entry in HKEY_LOCAL_MACHINE
- To unload the hive, select the name you chose and go to File > Unload Hive
Retrieving the UEFI/BIOS-bound Windows key via Linux was as simple as entering the following line in a terminal, though we couldn’t find any GUI applications like ProduKey or ShowKey Plus that would retrieve the license from a registry hive file:
sudo strings /sys/firmware/acpi/tables/MSDM | tail -1
The command-line tool Chntpw can be installed on Linux and is able to load Windows registry files. This software didn’t return a valid key when decoding the product ID within the tool, though if you had to you could extract the hex data and decode that elsewhere.
If you have a boot disc around, Chntpw (also known as Offline NT Password & Registry Editor) is part of many all-in-one recovery solutions such as Ultimate Boot CD and Hiren’s Boot CD.
Here’s how to load a Windows registry file in Chntpw from a Linux terminal and then display the hex value for the key in that hive (use dpi instead of hex to decode the key within chntpw, though again, this didn’t give us a valid key):
chntpw -e YourDrive/Windows/System32/config/SOFTWARE
hex Microsoft\Windows NT\CurrentVersion\DigitalProductId
Additional resources
Although it’s convenient to have your Windows key automatically detected from the UEFI/BIOS, you’ll have to tweak the Windows installation media if you want to use another license.
Open the installation media in File Explorer, browse to the Sources folder and create a new text file named PID.txt in the Sources folder. In PID.txt, you want the following text, where the Xs correspond to your license key.
Uninstalling a retail key from a given machine is also possible and while this doesn’t automatically update the information on Microsoft’s servers, it will prevent future conflicts from multiple machines using the same key.
Enter the following line in an administrator Command Prompt to uninstall the currently active product license and clear that key from the Windows registry (here are more slmgr commands):
As a final anecdote from testing, when we uninstalled and cleared the key from our Windows installation, we were able to reactivate that copy of Windows simply by clicking «Troubleshoot» on the activation page.
One click and that wizard retrieved our digital license, despite not being linked to a Microsoft account. And again, this was for a retail key that was originally used on a desktop which was cloned as a Windows To Go drive and plugged into another machine with a different hardware profile. In other words, with luck, Microsoft’s activation is forgiving enough and you should have no issues validating your OS license on a new machine or after several hardware changes.