- 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
- How to recover your Windows product key
- 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
- How to find your Windows product key
- Как узнать лицензионный ключ Microsoft Windows?
- Извлекаем лицензионный ключ Windows из реестра с помощью скрипта
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
How to recover your Windows product key
Technical Level : Basic
If you are planning to reinstall Windows but you can’t find your product key, this article will show you where and how you can find your product key.
The key could be:
- Printed on a Certificate of Authenticity sticker
- Stored in the Windows Registry
- Embedded in the PC’s UEFI firmware
Note that if you are currently running Windows 10 and wish to reinstall the operating system, you don’t need your product key. After the reinstall, Windows 10 will detect that it has been reinstalled on a previously activated system and will automatically reactivate.
Printed on a Certificate of Authenticity Sticker
If your PC came with Windows 7 or earlier, then your product key will be printed on a COA sticker. This sticker verifies that the computer came with a genuine copy of Windows. You will need to examine your computer to find the sticker. On laptops, it’s usually on the bottom side. On desktops, it could be on the back, sides, or top. It looks something like this:
Embedded in the PC’s UEFI firmware
If you have a newer PC that came with Windows 8 or Windows 10, then your product key likely won’t be on a sticker. Instead, computer manufacturers now embed the key right into the computer’s UEFI firmware. Unlike the COA sticker, the embedded key can’t be smudged off, stolen or erased (easily).
If you want to extract the UEFI key, the process is simple. Open the Start menu, type powershell and then run the program.
Next type the following command in the PowerShell window and hit Enter.
You will be presented with the key in the window.
Stored in the Windows Registry
If your product key isn’t embedded in the firmware or you’re missing your COA sticker, you’re not out of luck as long as you haven’t formatted your computer. You can still recover the key because Windows stores it in the registry. Here is how:
1. Open a new Notepad window
2. Copy and paste the following text into the window
3. Click File > Save As and save the file to your desktop as productkey.vbs. It’s important to include the .vbs extension because this is a Windows Scripting Host file.
4. Close Notepad and double-click the file. Wait a few seconds, and then you will be presented with a popup displaying your product key:
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
How to find your Windows product key
This article will show you how to find your Windows product key.
Digital License (Windows 10)
If your PC ever had Windows 10 installed and activated on it, it probably created a digital license. A digital license is a hash of your hardware that gets sent to Microsoft, along with the product key that was used to activate Windows on that computer. If you ever need to reinstall Windows, just choose «I don’t have a product key» during installation. Windows will contact the Microsoft Activation servers after installation, and activate with your digital license.
Note: If you activated Windows 10 using a valid Windows 7 or Windows 8.1 product key, you’ll also have a digital license.
Printed on a Certificate of Authenticity Sticker (Usually older PCs running Windows 7, Vista and XP)
If you have an older PC that came with Windows 7 or earlier, the product key is usually found on the Certificate of Authenticity sticker. The sticker is usually located on the underside of laptops, and could be on the top, sides, or bottom of a desktop tower. It looks something like this:
Embedded in the UEFI/BIOS (Usually newer PCs running Windows 8 or Windows 10)
Most new PCs sold in stores today come with the product key permanently embedded in the firmware. Instead of printing the product key on a sticker where it could be easily stolen or smudged off, manufacturers are now opting to store it in the UEFI or BIOS. The firmware is located in ROM on the motherboard, which means if you upgrade other components like your hard drive, RAM, graphics card, or even your CPU, you should still be able to activate Windows.
If you reinstall Windows, it will communicate with the firmware to install the embedded key. There is no need to retrieve the key yourself. If you want to retrieve it, you can do so by running the following command in cmd or Windows PowerShell:
wmic path SoftwareLicensingService get OA3xOriginalProductKey
I purchased Windows 10 separately (Retail or OEM licenses)
You can purchase Windows 10 as a digital download, or you can buy it in the box at a brick and mortar store.
— For digital downloads through Microsoft
You should receive an email with your product key, sent to the Microsoft account that was used to purchase Windows 10 online. If you can’t find the email, check your spam folders. You can also get it by logging into your Microsoft account and going to the purchase history tab.
— For digital downloads through Amazon
— If you bought Windows 10 in the retail packaging
Look in the box for a card with your product key printed on it. It’ll be about the size of a credit card with a 25-digit alphanumeric string printed on it.
Azure Dev Tools for Teaching (formerly known as Microsoft Imagine and Dreamspark)
This program provides students with Microsoft services, tools, training and operating systems at a discount or for free. Check with your school or university to find out if you can access this subscription and how to get assistance with the software licensing.
Как узнать лицензионный ключ Microsoft Windows?
После замены винчестера на NVMe SSD вам так или иначе потребуется перенести на твердотельный накопитель операционную систему, в противном случае производительность компьютера не вырастет ни на йоту. Вот только в процессе клонирования диска или чистовой установки ОС может потребоваться лицензионный ключ. И если у обладателей retail-версии с этим не возникнет ровным счетом никаких проблем (код активации всегда можно найти внутри коробки с установочным DVD), то владельцев ПК или лэптопа с предустановленной Windows будет ожидать крайне неприятный сюрприз.
Лет 10 назад при покупке ноутбука или готового компьютера вы получали в свое распоряжение два диска: на одном из них находились необходимые драйверы, а на другом — дистрибутив операционной системы. Благодаря этому вы могли без труда переустановить Windows при возникновении каких-либо проблем программного характера или при замене системного накопителя, благо лицензионный ключ для активации ОС всегда можно было посмотреть на фирменной наклейке: обычно лейбл располагался на боковой или задней стенке корпуса ПК либо был приклеен к днищу лэптопа.
Времена изменились. Большинство современных машин вообще не оборудованы оптическими приводами, и в коробке с ноутбуком вы не найдете ни DVD, ни даже флешки с установочным образом операционной системы. А при осмотре корпуса максимум, что вы увидите, — логотип Windows без каких-либо дополнительных сведений о лицензии.
Сегодня производители готовых ПК и ноутбуков чаще всего поступают следующим образом:
- лицензионный ключ «зашивается» непосредственно в UEFI, от глаз рядового пользователя он скрыт;
- на системном накопителе создается раздел, содержащий бэкап операционной системы, — с его помощью компьютер или лэптоп можно вернуть к заводскому состоянию.
Это действительно удобно: вам больше не надо вбивать 25-значный код при переустановке операционной системы, да и о флешках с DVD можно навсегда забыть. Вот только у каждой медали есть и оборотная сторона. Стоит вам заменить жесткий диск на высокоскоростной SSD WD Black SN750 — и вы лишитесь дистрибутива Windows, а вместе с обновлением прошивки материнской платы может благополучно исчезнуть и ключ. Не говоря уже о том, что активация способна слететь даже после установки очередного апдейта из-за какого-нибудь бага.
Покупка новой лицензии взамен утраченной — перспектива не самая радужная (официальная цена Windows 10 Home составляет 199 долларов США, а Pro — и вовсе 289 долларов), поэтому мы настоятельно рекомендуем тщательно подготовиться к переходу на твердотельный накопитель, предварительно узнав заветную последовательность букв и цифр. Разберемся, как это сделать.
Извлекаем лицензионный ключ Windows из реестра с помощью скрипта
Данный способ является универсальным и подходит для Windows 7, 8.1 и 10. С помощью простого VBS-скрипта мы извлечем лицензионный ключ непосредственно из реестра операционной системы, куда он записывается в процессе активации.
1. Создайте в блокноте текстовый файл и скопируйте в него следующее:
Set WshShell = CreateObject(«WScript.Shell»)
regKey = «HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\»
DigitalProductId = WshShell.RegRead(regKey & «DigitalProductId»)
WinProductName = «Windows Product Name: » & WshShell.RegRead(regKey & «ProductName») & vbNewLine
WinProductID = «Windows Product ID: » & WshShell.RegRead(regKey & «ProductID») & vbNewLine
strProductKey =»Windows Key: » & WinProductKey
WinProductID = WinProductName & WinProductID & strProductKey
regKey(66) = (regKey(66) And &HF7) Or ((isWin And 2) * 4)