Windows 11 Windows 10 Windows 8.1 Windows 7 More…Less
A product key is a 25-character code that’s used to activate Windows and helps verify that Windows hasn’t been used on more PCs than the Microsoft Software License Terms allow.
Windows 11 and Windows 10: In most cases, Windows 11 and Windows 10 activates automatically using a digital license and doesn’t require you to enter a product key. However, if a product key is required, it can usually be found in the confirmation email you received after purchasing Windows, or in the box Windows came in. Microsoft doesn’t keep a record of purchased product keys—visit the Microsoft Support site to learn more about activating Windows.
Windows 7 and Windows 8.1: Product keys can typically be found in the confirmation email you received after purchasing Windows or in the box Windows came in.
Learn more about finding your Windows 7 or Windows 8.1 product key
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
During the installation process, many different types of software call for a product key, which is a code that is often unrepeatable and can be either alphabetic or numeric. Product keys let the developer determine whether the application installed on a system has been obtained legally or not.
Most software, including several operating systems and applications from well-known software developers, calls for product keys. Nowadays, if a program costs money, it almost certainly needs an installed product key.
Recommended: Fortect System Repair Tool – Fix Errors & Speed Up Windows Automatically
The Application of Product Keys
A product key functions similarly to a program’s password. You can only use this password with the program you purchased from a legitimate source. Likely, the application will not open beyond the product key screen if the key is not entered. Although the free version may launch and work for some time, it may stop and ask for a product key sooner or later.
Product keys are typically only valid for one installation of the software used to activate them. However, specific product key servers permit the same product key to be used by an unlimited number of persons so long as they are not all activated simultaneously.
There are limited product key slots in these instances; therefore, if the software utilizing the key is closed, another will be free and used by other users.
It should also be noted that Product Keys are called other names, such as activation codes/keys, CD keys, installation codes/keys, product codes, software activation keys/codes, license keys, and much more.
Microsoft Windows 10 Product Key
Installing Windows, Microsoft Office, or another Microsoft retail program will involve entering a product key. Depending on your Microsoft product’s purchase, you can find the product key for your Operating System on the label or a card inside the packaging that Windows Operating System came in with.
- See Also: What to do if Microsoft Office isn’t working
Here are other places where you can find your Windows key:
Bought from the Microsoft Store App
If you purchased a Windows product key through the Microsoft Store app, the order confirmation sent would contain a digital license rather than a product key. The digital license key will be sent to the email address (MSA). The digital license can activate your Operating System after you log in to your Microsoft account, even when you need to reinstall Windows.
- See Also: Microsoft Store won’t Open
You can locate your product key in the confirmation email you received after purchasing Windows 10 in a digital storage that can be accessed through the merchant’s website.
Windows Automatic Repair Tool
System Information
-
Your machine is currently running Windows 10 -
Fortect is compatible with your operating system.
Recommended: To repair Windows Errors, use this software package; Fortect System Repair. This repair tool has been proven to identify and fix these errors and other Windows problems with very high efficiency.
-
100% safe as confirmed by Norton. -
Only your system and hardware are evaluated.
A Newly Purchased Computer
Your computer comes with the product key already installed on it, the key is printed on the Certificate of Authenticity (COA) associated with your computer, or the product key is in the packaging that the laptop came in. This may also be referred to as an OEM key.
Product Key Purchased from the Microsoft Website
If you purchased Windows digitally, the product key is included in the order confirmation email. Microsoft only keeps track of product keys for software purchased from their online shop, and your order history on your Microsoft account will reveal whether or not you have purchased from their official store.
Upgraded to Windows 10
If you have upgraded to Windows 10 from an older version, you will no longer have to activate it with a product key. In this case, your Operating System is activated with a digital license linked to your Microsoft Account.
Benefits of Activating Windows with a Valid Product Key
Although the Windows 10 operating system can be used without activating it, there are a few practical advantages to activating Windows 10.
Therefore, continue reading if you want to know what advantages you get from spending money on activating Windows 10.
No “ACTIVATE WINDOWS” Watermark!
With an unactivated version of Windows, it automatically adds a partially transparent watermark and urges the user to do so. Because it stays in the same place on the screen no matter what other processes or programs you have open, it occupies a significant portion of the area in the lower right-hand corner of the display and may be somewhat annoying. It may take a little more time to get used to, but in all likelihood, you won’t even notice it.
You’ll notice another “Activate Windows” watermark within the settings panel. If Windows 10 has not been activated, a prompt will appear when you enter the settings menu. With an activated copy of Windows installed on your computer, this pesky watermark will automatically disappear.
Recommended: Fortect System Repair Tool – Fix Errors & Speed Up Windows Automatically
Activates Windows Personalization Settings
When you decide to activate Windows 10, one of the essential advantages is gaining access to all of the features and options available in the personalization settings. If personalization settings not working, we got you covered!
The customization options on a non-activated Windows 10 computer are disabled, so you can’t change wallpapers, window colors, or themes.
However, after you activate Windows 10, all functionalities will be available, and you can completely customize your Windows 10 computer.
Once you have activated Windows 10, the following customization choices will become available to you in the Settings menu:
- Fonts
- Themes
- Wallpapers
- Colors
- Lockscreen
You Get Critical Security Updates
A single Windows Update can include security solutions for newly found malware, viruses, and other cyber threats. The battle against online thieves and hackers never ends, and there is no way to win against them; all you can do is make sure they don’t find their way to your computer, and one way to achieve that is to keep Windows updated.
You can do your part by ensuring your computer is always up to date, which is only possible when you have activated Windows 10 on your device through Windows Updates. You require these security upgrades and fixes to safeguard your information and identity and stop hackers from accessing your machine and extorting money from you. It’s a horror and is known as ransomware.
These mentioned features are just some of the many you will enjoy with a genuine Windows Operating System running on your PC. Additionally, on top of all the features that come with it, you will also be able to ask for help from Microsoft Support without fearing getting caught using free Windows.
Different Versions of Windows 10
There are several versions of Windows 10 that you can install on your computer. Here’s the complete list of Windows 10 versions:
Windows 10 in S mode
S mode functions comparable to Google’s Chromebook, except that all applications must be downloaded through the Microsoft Store.
Windows 10 Enterprise (E3 and E5)
The enterprise edition of Windows 10 Pro is available for bulk orders. The entry-level version of Windows 10 is E3, whereas E5 includes Windows Defender Advanced Threat Protection (ATP).
Windows 10 Enterprise 2015 LTSB
Long Term Servicing Branch (LTSB) is a stripped-down build of Windows that does not include the Microsoft Store, Cortana, Media Player, Edge, and the latest updates.
Windows 10 Education
Although it is a Windows 10 Enterprise version, this special edition was created with school personnel, administrators, instructors, and students in mind. Schools and students already using devices running Windows 10 Home or Windows 10 Pro will have upgrade options to Windows 10 Education through academic Volume Licensing.
Windows 10 Home Edition
Windows 10 Home is made for the average person who uses a computer at home, and it does not come with advanced capabilities like remote desktop, Hyper-V, or Trusted Boot, among other things. The vast majority of people who use their computers at home shouldn’t have any problems with this.
Even though it is a more straightforward product, Microsoft has added many essential features for the broad consumer market. OneNote, Cortana, Microsoft Edge, and Outlook are the main functions a home user might use. In addition, Windows 10 Home version has other Windows device features such as the Hello sign-in, Pen sketching, touch displays, and many more. These features can be found on supported devices.
- See Also: Edge not responding error fix
Windows 10 Pro Edition
The Windows 10 Pro Edition is a desktop version that can be used on PCs, tablets, and 2-in-1 computers. It provides numerous additional capabilities to satisfy the various demands of small businesses, building on the prominent and cutting-edge features of Windows 10 Home.
Windows 10 Pro Version helps users manage their devices and apps effectively and efficiently, safeguarding sensitive company data, supporting distant and mobile productivity scenarios, and utilizing cloud technologies.
Devices running Windows 10 Pro are an excellent option for businesses that allow employees to use their own devices for work and for prosumer customers who prefer to purchase their computers.
As a bonus, Windows 10 Pro users may use the newly introduced Windows Update for Business, which allows for more granular control over update deployment, faster rollout of critical security patches, and continuous access to the newest features and improvements from Microsoft.
Recommended: Fortect System Repair Tool – Fix Errors & Speed Up Windows Automatically
How to Find Your Windows 10 Product Key
It’s pretty standard that people misplace their product keys despite having an activated Windows on their computer. Most people will leave their system as it is and only need the product key once they reinstall Windows on their PC or activate Windows on a different computer.
We will discuss the different methods you can do to find your product key.
First Method – Through the Command Prompt
- Press “Windows” and then press the letter “R” and type in “cmd” in the run command window. Hold down the “ctrl+shift” keys simultaneously and press “enter.” Click “OK” on the next Window to grant administrator permission.
- Once the Command Prompt is open, type in “wmic path softwareLicensingService get OA3xOriginalProductKey” in the command line and press enter on your keyboard.
- You should see the product key listed under the command you just entered.
Second Method – Through the Registry Editor
- Press the “Windows Key” and “R” on your keyboard to open the run line command.
- Once the dialog box runs, type “regedit“
- Click “OK.”
- In the Registry Editor, navigate to the following path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
- You should see your Product Key next to the “BackupProductKeyDefault.”
Third Method – Through the Windows Powershell
- Open the Windows Powershell by clicking on the start button, typing in “Powershell,” and pressing “enter.”
- In the Windows Powershell window, type in the following command: powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey” and press “enter.”
- Similar to the command prompt, you should see the product key below the command you typed.
Frequently Asked Questions
Is there a free download of Windows?
Everyone can legally download a copy of Windows 10 from Microsoft’s official download page and set it up on a new PC without needing a product key.
With only a few minor visual limitations, it will continue functioning for the foreseeable future. After installing Windows 10, you can buy Windows to upgrade to a licensed version.
What is KMS?
The KMS, or Key Management Service, is an activation system that eliminates the requirement for local devices to establish a connection with Microsoft for product activation. Additionally, it enables companies to activate computers within their network.
Does Windows 10 Home Edition has WIP?
Although it is compatible with the Windows Insider program, Windows 10 Home has fewer security and group management features than other editions.
How do I download Windows 10?
Microsoft’s official website by clicking this link here. Download the Windows 10 installation media tool and run the setup. Follow the instructions on how you can create an installer for Windows.
You can use a USB Flash drive or a blank DVD to burn an ISO file and use it to do a clean install on an old Windows PC.
Do I need a new product key to upgrade from Windows 10 to Windows 11?
No, you don’t. You can use the same product key to upgrade or even downgrade your Windows Operating System.
-
Home
-
News
- Windows Product Key vs Digital License – Differences
By Alisa |
Last Updated
You can use a product key or digital license to activate Windows 10/11. Windows product key vs digital license, what’s the difference between these two Windows activation methods? This post gives some explanations. If you have other computer problems, you may find solutions from MiniTool Software website.
You can use a product key or digital license to activate your Windows computer. Windows product key vs digital license, are they the same? This post introduces the difference between Windows product key and digital license.
Windows Product Key vs Digital License – Differences
Depending on how you get the copy of Windows 10/11, you will either get a 25-character product key or a digital license to activate your computer.
Windows Digital License vs Product Key – Definition
A Windows product key is a 25-character code that you can use to activate Windows. A Windows digital license is also called a digital entitlement. It is a new Windows activation method that doesn’t need to enter a product key.
Windows Product Key vs Digital License – Different Activation Message
If you activate Windows with a digital license, on the Activation page, you will see a message “Windows is activated with a digital license” or “Windows is activated with a digital license linked to your Microsoft account”. If you activate Windows with a product key, you may only see a message “Windows is activated”.
How to Find Windows Product Key or Digital License
You can find the 25-character product key by running the command wmic path SoftwareLicensingService get OA3xOriginalProductKey in Windows Command Prompt. However, you can’t find anything if you activate Windows 10/11 with a digital license.
When You Will Get a Product Key or Digital License
If you purchase a copy of Windows 10/11 from the Microsoft Store app, then you will have a digital license for that device. You need to activate the device with a digital license. However, if you buy Windows 11/10 from Microsoft Store online in the browser, you will have a product key and you can find your product key in the order email.
If you previously installed and activated Windows 10/11 with a product key, then you will also need to enter a product key when you reinstall Windows 10/11 OS. If you activated Windows with a digital license before, then you will also need to activate your computer with the digital license.
If you buy a PC that came with Windows 11/10, then you will have a product key. Generally, you can find your product key either on the device packaging or on the Certificate of Authenticity (COA) attached to your device.
If you upgrade to Windows 11 from an eligible device running a genuine copy of Windows 10/8.1/7, you will get a digital license.
If you buy a digital copy of Windows 11/10 from an authorized retailer, you will have a product key and you can find your product key on the confirmation email after buying Windows 11/10.
Windows Product Key vs Digital License – Activation
As for the activation, Windows digital license is associated with your computer hardware and is normally linked to your Microsoft account. When your PC is connected to the internet and you log in to your Microsoft account, your PC will be activated.
If you intend to activate Windows 10/11 using a product key, you can enter a product key during the installation. After installation, you can click Start -> Settings -> System -> Activation -> Change product key, and enter your product key to activate Windows 11. For Windows 10, you need to click Start -> Settings -> Update & Security -> Activation -> Change product key to enter the product key.
Tip: If you make a big hardware change to your computer and your computer isn’t activated, you can run the Activation Troubleshooter to reactivated Windows 10/11. You may also run this tool to fix Windows 11/10 activation key not working and other Windows activation errors.
Verdict
Windows digital license vs product key, these are the differences between them. You can choose a preferred method to activate your Windows 10/11 computer. Make sure your Windows 10/11 edition matches your license.
About The Author
Position: Columnist
Alisa is a professional English editor with 4-year experience. She loves writing and focuses on sharing detailed solutions and thoughts for computer problems, data recovery & backup, digital gadgets, tech news, etc. Through her articles, users can always easily get related problems solved and find what they want. In spare time, she likes basketball, badminton, tennis, cycling, running, and singing. She is very funny and energetic in life, and always brings friends lots of laughs.
Сразу после выхода новой ОС, все стали интересоваться, как узнать ключ установленной Windows 10, хотя в большинстве случаев он не требуется. Тем не менее, если вам все-таки требуется ключ для тех или иных целей, его сравнительно просто определить, как для установленной ОС, так и зашитый производителем в UEFI ключ продукта (они могут отличаться).
В этой инструкции описаны простые способы узнать ключ продукта Windows 10 с помощью командной строки, Windows PowerShell, а также сторонних программ. Заодно упомяну о том, почему разные программы показывают разные данные, как отдельно посмотреть OEM ключ в UEFI (для ОС, которая изначально была на компьютере) и ключ установленной в данный момент системы.
- Просмотр ключа продукта Windows 10 в ShowKeyPlus (ключ установленной системы и ключ из UEFI)
- Еще две программы, чтобы узнать ключ продукта Windows 10
- Как узнать ключ с помощью PowerShell
- С помощью скрипта VBS
Примечание: если вы произвели бесплатное обновление до Windows 10, а теперь хотите узнать ключ активации для чистой установки на том же компьютере, вы можете это сделать, но это не обязательно (к тому же у вас будет ключ такой же, как и у других людей, получивших десятку путем обновления). При установке Windows 10 с флешки или диска, вас попросят ввести ключ продукта, но вы можете пропустить этот шаг, нажав в окне запроса «У меня нет ключа продукта» (и Майкрософт пишет, что так и нужно делать).
После установки и подключения к Интернету, система будет автоматически активирована, поскольку активация «привязывается» к вашему компьютеру после обновления. То есть поле для ввода ключа в программе установки Windows 10 присутствует только для покупателей Retail-версий системы. Дополнительно: для чистой установки Windows 10 можно использовать ключ продукта от ранее установленной на том же компьютере Windows 7, 8 и 8.1. Подробнее про такую активацию: Активация Windows 10. А при желании, можно использовать Windows 10 и без активации.
Просмотр ключа продукта установленной Windows 10 и OEM-ключа в ShowKeyPlus
Есть множество программ для описываемых здесь целей, о многих из которых я писал в статье Как узнать ключ продукта Windows 8 (8.1) (подойдет и для Windows 10), но мне больше других приглянулась найденная недавно ShowKeyPlus, которая не требует установки и отдельно показывает сразу два ключа: установленной в текущий момент системы и OEM ключ в UEFI. Заодно сообщает, для какой именно версии Windows подходит ключ из UEFI. Также с помощью этой программы можно узнать ключ из другой папки с Windows 10 (на другом жестком диске, в папке Windows.old), а заодно проверить ключ на валидность (пункт Check Product Key).
Все, что нужно сделать — запустить программу и посмотреть отображаемые данные:
- Installed Key — ключ установленной системы.
- OEM Key (Original Key) — ключ предустановленной ОС, если она была на компьютере, т.е. ключ из UEFI.
Также эти данные можно сохранить в текстовый файл для дальнейшего использования или архивного хранения, нажав кнопку «Save». Кстати, проблема с тем, что порой разные программы показывают разные ключи продукта для Windows, как раз и появляется из-за того, что некоторые из них смотрят его в установленной системе, другие в UEFI.
Как узнать ключ продукта Windows 10 в ShowKeyPlus — видео
Скачать ShowKeyPlus можно со страницы https://github.com/Superfly-Inc/ShowKeyPlus/releases/
Еще две программы, чтобы узнать ключ продукта Windows 10
Если по той или иной причине ShowKeyPlus для вас оказался неподходящим вариантом, можно использовать следующие две программы:
Просмотр ключа установленной Windows 10 с помощью PowerShell
Там, где можно обойтись без сторонних программ, я предпочитаю обходиться без них. Просмотр ключа продукта Windows 10 — одна из таких задач. Если же вам проще использовать бесплатную программу для этого, пролистайте руководство ниже. (Кстати, некоторые программы для просмотра ключей отправляют их заинтересованным лицам)
Простой команды PowerShell или командной строки, для того чтобы узнать ключ установленной в настоящий момент времени системы не предусмотрено (есть такая команда, показывающая ключ из UEFI, покажу ниже. Но обычно требуется именно ключ текущей системы, отличающийся от предустановленной). Но можно воспользоваться готовым скриптом PowerShell, который отображает необходимую информацию (автор скрипта Jakob Bindslet).
Вот что потребуется сделать. Прежде всего, запустите блокнот и скопируйте в него код, представленный ниже.
#Main function Function GetWin10Key { $Hklm = 2147483650 $Target = $env:COMPUTERNAME $regPath = "Software\Microsoft\Windows NT\CurrentVersion" $DigitalID = "DigitalProductId" $wmi = [WMIClass]"\\$Target\root\default:stdRegProv" #Get registry value $Object = $wmi.GetBinaryValue($hklm,$regPath,$DigitalID) [Array]$DigitalIDvalue = $Object.uValue #If get successed If($DigitalIDvalue) { #Get producnt name and product ID $ProductName = (Get-itemproperty -Path "HKLM:Software\Microsoft\Windows NT\CurrentVersion" -Name "ProductName").ProductName $ProductID = (Get-itemproperty -Path "HKLM:Software\Microsoft\Windows NT\CurrentVersion" -Name "ProductId").ProductId #Convert binary value to serial number $Result = ConvertTokey $DigitalIDvalue $OSInfo = (Get-WmiObject "Win32_OperatingSystem" | select Caption).Caption If($OSInfo -match "Windows 10") { if($Result) { [string]$value ="ProductName : $ProductName `r`n" ` + "ProductID : $ProductID `r`n" ` + "Installed Key: $Result" $value #Save Windows info to a file $Choice = GetChoice If( $Choice -eq 0 ) { $txtpath = "C:\Users\"+$env:USERNAME+"\Desktop" New-Item -Path $txtpath -Name "WindowsKeyInfo.txt" -Value $value -ItemType File -Force | Out-Null } Elseif($Choice -eq 1) { Exit } } Else { Write-Warning "Запускайте скрипт в Windows 10" } } Else { Write-Warning "Запускайте скрипт в Windows 10" } } Else { Write-Warning "Возникла ошибка, не удалось получить ключ" } } #Get user choice Function GetChoice { $yes = New-Object System.Management.Automation.Host.ChoiceDescription "&Yes","" $no = New-Object System.Management.Automation.Host.ChoiceDescription "&No","" $choices = [System.Management.Automation.Host.ChoiceDescription[]]($yes,$no) $caption = "Подтверждение" $message = "Сохранить ключ в текстовый файл?" $result = $Host.UI.PromptForChoice($caption,$message,$choices,0) $result } #Convert binary to serial number Function ConvertToKey($Key) { $Keyoffset = 52 $isWin10 = [int]($Key[66]/6) -band 1 $HF7 = 0xF7 $Key[66] = ($Key[66] -band $HF7) -bOr (($isWin10 -band 2) * 4) $i = 24 [String]$Chars = "BCDFGHJKMPQRTVWXY2346789" do { $Cur = 0 $X = 14 Do { $Cur = $Cur * 256 $Cur = $Key[$X + $Keyoffset] + $Cur $Key[$X + $Keyoffset] = [math]::Floor([double]($Cur/24)) $Cur = $Cur % 24 $X = $X - 1 }while($X -ge 0) $i = $i- 1 $KeyOutput = $Chars.SubString($Cur,1) + $KeyOutput $last = $Cur }while($i -ge 0) $Keypart1 = $KeyOutput.SubString(1,$last) $Keypart2 = $KeyOutput.Substring(1,$KeyOutput.length-1) if($last -eq 0 ) { $KeyOutput = "N" + $Keypart2 } else { $KeyOutput = $Keypart2.Insert($Keypart2.IndexOf($Keypart1)+$Keypart1.length,"N") } $a = $KeyOutput.Substring(0,5) $b = $KeyOutput.substring(5,5) $c = $KeyOutput.substring(10,5) $d = $KeyOutput.substring(15,5) $e = $KeyOutput.substring(20,5) $keyproduct = $a + "-" + $b + "-"+ $c + "-"+ $d + "-"+ $e $keyproduct } GetWin10Key
Сохраните файл с расширением .ps1. Для того, чтобы сделать это в блокноте, при сохранении в поле «Тип файла» укажите «Все файлы» вместо «Текстовые документы». Сохранить можно, например, под именем win10key.ps1
После этого, запустите Windows PowerShell от имени Администратора. Для этого, можно начать набирать PowerShell в поле поиска, после чего кликнуть по нему правой кнопкой мыши и выбрать соответствующий пункт.
В PowerShell введите следующую команду: Set-ExecutionPolicy RemoteSigned и подтвердите ее выполнение (ввести Y и нажать Enter в ответ на запрос).
Следующим шагом, введите команду: C:\win10key.ps1 (в данной команде указывается путь к сохраненному файлу со скриптом).
В результате выполнения команды вы увидите информацию о ключе установленной Windows 10 (в пункте Installed Key) и предложение сохранить ее в текстовый файл. После того, как вы узнали ключ продукта, можете вернуть политику выполнения скриптов в PowerShell к значению по умолчанию с помощью команды Set-ExecutionPolicy restricted
Как узнать OEM ключ из UEFI в PowerShell
Если на вашем компьютере или ноутбуке была предустановлена Windows 10 и требуется просмотреть OEM ключ (который хранится в UEFI материнской платы), вы можете использовать простую команду, которую необходимо запустить в командной строке от имени администратора.
wmic path softwarelicensingservice get OA3xOriginalProductKey
В результате вы получите ключ предустановленной системы при его наличии в системе (он может отличаться от того ключа, который используется текущей ОС, но при этом может использоваться для того, чтобы вернуть первоначальную версию Windows).
Еще один вариант этой же команды, но для Windows PowerShell
(Get-WmiObject -query "select * from SoftwareLicensingService").OA3xOriginalProductKey
Как посмотреть ключ установленной Windows 10 с помощью скрипта VBS
И еще один скрипт, уже не для PowerShell, а в формате VBS (Visual Basic Script), который отображает ключ продукта установленной на компьютере или ноутбуке Windows 10 и, возможно, удобнее для использования.
Скопируйте в блокнот строки, представленные ниже.
Set WshShell = CreateObject("WScript.Shell") regKey = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\" DigitalProductId = WshShell.RegRead(regKey & "DigitalProductId") Win10ProductName = "Версия Windows 10: " & WshShell.RegRead(regKey & "ProductName") & vbNewLine Win10ProductID = "ID продукта: " & WshShell.RegRead(regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey(DigitalProductId) ProductKeyLabel ="Ключ Windows 10: " & Win10ProductKey Win10ProductID = Win10ProductName & Win10ProductID & ProductKeyLabel MsgBox(Win10ProductID) Function ConvertToKey(regKey) Const KeyOffset = 52 isWin10 = (regKey(66) \ 6) And 1 regKey(66) = (regKey(66) And &HF7) Or ((isWin10 And 2) * 4) j = 24 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 y = 14 Do Cur = Cur * 256 Cur = regKey(y + KeyOffset) + Cur regKey(y + KeyOffset) = (Cur \ 24) Cur = Cur Mod 24 y = y -1 Loop While y >= 0 j = j -1 winKeyOutput = Mid(Chars, Cur + 1, 1) & winKeyOutput Last = Cur Loop While j >= 0 If (isWin10 = 1) Then keypart1 = Mid(winKeyOutput, 2, Last) insert = "N" winKeyOutput = Replace(winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0) If Last = 0 Then winKeyOutput = insert & winKeyOutput End If a = Mid(winKeyOutput, 1, 5) b = Mid(winKeyOutput, 6, 5) c = Mid(winKeyOutput, 11, 5) d = Mid(winKeyOutput, 16, 5) e = Mid(winKeyOutput, 21, 5) ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e End Function
Должно получиться как на скриншоте ниже.
После этого сохраните документ с расширением .vbs (для этого в диалоге сохранения в поле «Тип файла» выберите «Все файлы».
Перейдите в папку, где был сохранен файл и запустите его — после выполнения вы увидите окно, в котором будут отображены ключ продукта и версия установленной Windows 10.
Как я уже отметил, программ для просмотра ключа есть множество — например, в Speccy, а также других утилитах для просмотра характеристик компьютера можно узнать эту информацию. Но, уверен, тех способов, что описаны здесь, будет достаточно практически в любой ситуации.
If you’re having trouble finding your Windows 10 product key, we’ve got you covered.
In this quick tutorial we’ll go over what a Windows product key is, and I’ll share several ways to find the product key on modern Windows machines.
A Windows product key or license is a 25 digit code used to activate your installation of Windows.
Back in the day, all you had to do to find your Windows product key was look for a sticker somewhere on the machine.
Usually you could find the sticker on the side of a desktop PC, or stuck to the bottom of a laptop:
Or if you bought a physical copy of Windows, your product key would be included somewhere in the box:
These days, if you buy a Windows 10 Home or Pro from the Microsoft Store or another online retailer like Amazon, it’ll include a digital copy of your product key.
But if your computer is relatively new and came with Windows preinstalled, you might be wondering how to find your key – there’s likely no sticker on the machine, and the computer manufacturer probably didn’t include one in the box.
Whether you installed and activated Windows yourself, or it came preinstalled, your product key is stored in the BIOS. This makes it really easy if you ever want to reinstall or upgrade Windows – there’s no sticker on the machine that could get damaged, and no small label to lose.
Still, there are times when you might need your product key, like if you want to transfer a Windows Home or Pro license to another machine.
Whatever the reason, here are a few ways to get your Windows 10 product key.
How to get your Windows 10 product key with the Command Prompt
If you want to get your product key from Windows, the easiest way is to do that is through the Windows Command Prompt.
First, press the Windows key, search for «cmd», and click on «Run as administrator»:
Then, run the following command:
wmic path softwarelicensingservice get OA3xOriginalProductKey
After that, you’ll see your Windows 10 product key:
Alternatively, you can run this command in the Command Prompt terminal:
powershell "(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey"
Both of these commands attempt to read your Windows product key from something called the OA3 BIOS marker. In other words, they may only work if Windows came preinstalled, and not if you built the machine yourself and installed/activated Windows.
If your product key isn’t saved to your BIOS/UEFI for some reason, then these commands will either throw an error or return an empty string. In this case, or if you prefer a GUI, give the next method a try.
How to get your Windows 10 product key with a third-party program
There are a few tools out there like Belarc Advisor or Magical Jelly Bean KeyFinder that can detect your Windows product key.
We’ll use Magical Jelly Bean KeyFinder for this tutorial because, well – come on, that name, right?
All you have to do is download and install Magical Jelly Bean KeyFinder. Then open the KeyFinder program to see your product key:
Once you’ve copied your product key somewhere safe, feel free to uninstall Magical Jelly Bean KeyFinder.
So those are some quick ways to find your Windows 10 product key.
Did any of these methods or programs work for you? Did you find another way to get your product key? Let me know over on Twitter.
Learn to code for free. freeCodeCamp’s open source curriculum has helped more than 40,000 people get jobs as developers. Get started