Как найти код активации windows 10 на ноутбуке

Applies ToWindows 11 Windows 10 Windows 8.1 Windows 7 Панель мониторинга учетной записи Майкрософт

Ключ продукта Windows представляет собой 25-значный код, используемый для активации Windows. Он выглядит следующим образом:

  • КЛЮЧ ПРОДУКТА: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Найдите ключ продукта для Windows 10 или Windows 11

В зависимости от того, как вы получили копию Windows 10 или Windows 11, для ее активации потребуется 25-значный ключ продукта или цифровая лицензия. Цифровая лицензия — это метод активации в Windows 10 и Windows 11, который не требует ввода ключа продукта. Если у вас нет одного из этих средств, активацию устройства выполнить не удастся.

Расположение ключа продукта зависит от того, как вы приобрели копию Windows.

Выберите любой из следующих вариантов просмотра дополнительных сведений.

Ключ продукта предварительно установлен на вашем компьютере, указан на его упаковке или сертификате подлинности, прикрепленном к компьютеру. Для получения дополнительных сведений обратитесь к производителю оборудования. Изображения ключей продуктов и наклеек сертификата подлинности см. в статье Как проверить подлинность оборудования.

Ключ продукта указан на наклейке или на карточке внутри коробки, в которой поставляется Windows. Для получения дополнительных сведений обратитесь к розничному продавцу, который продал вам Windows 10 или Windows 11. Как проверить подлинность программного обеспечения.

Найдите ключ продукта в письме с подтверждением, полученном после покупки Windows 10 или Windows 11 в цифровом шкафчике, доступном на веб-сайте розничного продавца.

Ключ продукта будет указан в сообщении электронной почты, которое вы получите для подтверждения покупки вашей цифровой копии Windows. Корпорация Майкрософт хранит записи только тех ключей продуктов, которые были приобретены в интернет-магазине Майкрософт. Чтобы узнать, где вы приобрели свою копию ОС, посетите раздел Журнал заказов. в своей учетной записи Майкрософт.

Если вы бесплатно обновились до Windows 11 с Windows 10 или до Windows 10 бесплатно с Windows 7 или Windows 8.1, у вас должна быть цифровая лицензия вместо ключа продукта.

Если вы приобрели Windows 10 или Windows 11 Pro обновление в приложении Microsoft Store, вы получите цифровую лицензию вместо ключа продукта в письме с подтверждением, отправленном для подтверждения покупки. Этот адрес электронной почты (MSA) будет содержать цифровую лицензию. Вы можете использовать цифровую лицензию для активации.

Дополнительные сведения о цифровых лицензиях и ключах продуктов в Windows 10 и Windows 11 см. в разделе «Методы активации» статьи Активация Windows.

Поиск ключа продукта для Windows 7 или Windows 8.1

При удалении и переустановке Windows 7 или Windows 8.1 обычно требуется ключ продукта. Как правило, если вы приобрели физическую копию Windows, ключ продукта должен быть указан на наклейке или на карточке внутри упаковки, в которой находилась копия Windows. Если операционная система Windows была предустановлена на компьютере, то ключ продукта должен быть на наклейке, прикрепленной к этому устройству. Если вы потеряли ключ продукта или не можете его найти, обратитесь к производителю. Сведения о том, что ключ продукта является подлинным, см. в статьях Как проверить подлинность программного обеспечения и Как проверить подлинность оборудования.

Связанные ссылки

Сведения о том, является ли ваша копия Windows подлинным программным обеспечением Майкрософт, см. на соответствующей странице.

Нужна дополнительная помощь?

Нужны дополнительные параметры?

Изучите преимущества подписки, просмотрите учебные курсы, узнайте, как защитить свое устройство и т. д.

Сразу после выхода новой ОС, все стали интересоваться, как узнать ключ установленной Windows 10, хотя в большинстве случаев он не требуется. Тем не менее, если вам все-таки требуется ключ для тех или иных целей, его сравнительно просто определить, как для установленной ОС, так и зашитый производителем в UEFI ключ продукта (они могут отличаться).

В этой инструкции описаны простые способы узнать ключ продукта Windows 10 с помощью командной строки, Windows PowerShell, а также сторонних программ. Заодно упомяну о том, почему разные программы показывают разные данные, как отдельно посмотреть OEM ключ в UEFI (для ОС, которая изначально была на компьютере) и ключ установленной в данный момент системы.

Примечание: если вы произвели бесплатное обновление до Windows 10, а теперь хотите узнать ключ активации для чистой установки на том же компьютере, вы можете это сделать, но это не обязательно (к тому же у вас будет ключ такой же, как и у других людей, получивших десятку путем обновления). При установке Windows 10 с флешки или диска, вас попросят ввести ключ продукта, но вы можете пропустить этот шаг, нажав в окне запроса «У меня нет ключа продукта» (и Майкрософт пишет, что так и нужно делать).

После установки и подключения к Интернету, система будет автоматически активирована, поскольку активация «привязывается» к вашему компьютеру после обновления. То есть поле для ввода ключа в программе установки Windows 10 присутствует только для покупателей Retail-версий системы. Подробнее про такую активацию: Активация 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).

Все, что нужно сделать — запустить программу и посмотреть отображаемые данные:

Посмотреть ключ Windows 10 в ShowKeyPlus

 

  • Installed Key — ключ установленной системы.
  • OEM Key (Original Key) — ключ предустановленной ОС, если она была на компьютере, т.е. ключ из UEFI.

Также эти данные можно сохранить в текстовый файл для дальнейшего использования или архивного хранения, нажав кнопку «Save». Кстати, проблема с тем, что порой разные программы показывают разные ключи продукта для Windows, как раз и появляется из-за того, что некоторые из них смотрят его в установленной системе, другие в UEFI.

Скачать ShowKeyPlus можно со страницы https://github.com/Superfly-Inc/ShowKeyPlus/releases/, также с недавних пор приложение доступно для загрузки в Microsoft Store.

Еще две программы, чтобы узнать ключ продукта 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 в PowerShell

В результате выполнения команды вы увидите информацию о ключе установленной 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

Должно получиться как на скриншоте ниже.

Скрипт чтобы узнать ключ Windows 10 в блокноте

После этого сохраните документ с расширением .vbs (для этого в диалоге сохранения в поле «Тип файла» выберите «Все файлы».

Сохранение скрипта VBS в блокноте

Перейдите в папку, где был сохранен файл и запустите его — после выполнения вы увидите окно, в котором будут отображены ключ продукта и версия установленной Windows 10.

Как я уже отметил, программ для просмотра ключа есть множество — например, в Speccy, а также других утилитах для просмотра характеристик компьютера можно узнать эту информацию. Но, уверен, тех способов, что описаны здесь, будет достаточно практически в любой ситуации.

Все способы:

  • Варианты просмотра кода активации в Windows 10
    • Способ 1: Speccy
    • Способ 2: ShowKeyPlus
    • Способ 3: ProduKey
    • Способ 4: PowerShell
  • Вопросы и ответы: 5

Ключ продукта в ОС Виндовс 10, как и в более ранних версиях этой операционной системы — это 25-значный код, состоящий из букв и цифр, который используется для активации системы. Пользователю он может пригодится в процессе переустановки ОС, поэтому потерять ключ довольно неприятное событие. Но если это и случилось, не стоит сильно огорчаться, так как существуют способы, с помощью которых можно узнать этот код.

Варианты просмотра кода активации в Windows 10

Существует несколько программ, с помощью которых можно просмотреть ключ активации ОС Виндовс 10. Рассмотрим более подробно некоторые из них.

Способ 1: Speccy

Speccy — мощная, удобная, русскоязычная утилита, функционал которой предполагает просмотр полной информации об операционной системе, а также аппаратных ресурсах персонального компьютера. Также с ее помощью можно узнать код, с помощью которого была активирована Ваша версия ОС. Для этого нужно следовать этой инструкции.

  1. Скачайте приложение с официального сайта и установите его на свой ПК.
  2. Откройте Speccy.
  3. В главном меню перейдите в раздел «Операционная система», а после просмотрите информацию в графе «Серийный номер».
  4. Просмотр кода в Speccy

Способ 2: ShowKeyPlus

ShowKeyPlus — еще одна утилита, благодаря которой можно узнать код активации Windows 10. В отличии от Speccy, ShowKeyPlus не нужно инсталлировать, достаточно просто загрузить это приложений с сайта и запустить его.

Скачать ShowKeyPlus

Просмотр ключа с помощью ShowKeyPlus

Нужно с осторожностью относится к сторонним программам, так как ключ Вашего продукта могут украсть злоумышленники и использовать в своих целях.

Способ 3: ProduKey

ProduKey — небольшая утилита, которая также не требует инсталляции. Достаточно просто скачать ее с официального сайта, запустить и просмотреть нужную информацию. В отличии от других программ, ProduKey предназначена только для отображения ключей активации и не нагромождает пользователей лишней информацией.

Скачать приложение ProduKey

Просмотр ключа продукта с помощью ProduKey

Способ 4: PowerShell

Узнать ключ активации можно и встроенными инструментами Виндовс 10. Среди них особое место занимает PowerShell — командная оболочка системы. Для того, чтобы просмотреть желаемую информацию, необходимо написать и выполнить специальный скрипт.

Стоит заметить, что узнать код с помощью штатных инструментов сложно для малоопытных пользователей, поэтому использовать их не рекомендуется, если у Вас недостаточно знаний в области компьютерных технологий.

Для этого выполните следующую последовательность действий.

  1. Откройте «Блокнот».
  2. Скопируйте в него текст скрипта, представленный ниже и сохраните созданный файл с расширением «.ps1». Например, 1.ps1.
  3. Стоит обратить внимание, что для сохранения файла необходимо в поле «Имя файла» прописать расширение .ps1, а в поле «Тип файла» выставить значение «Все файлы».


    #Main function
    Function GetKey
    {
    $regHKLM = 2147483650
    $regPath = "Software\Microsoft\Windows NT\CurrentVersion"
    $DigitalProductId = "DigitalProductId"
    $wmi = [WMIClass]"\\$env:COMPUTERNAME\root\default:stdRegProv"

    $Object = $wmi.GetBinaryValue($regHKLM, $regPath,$DigitalProductId)
    [Array]$DigitalProductId = $Object.uValue

    If($DigitalProductId)
    {

    $ResKey = ConvertToWinkey $DigitalProductId
    $OS = (Get-WmiObject "Win32_OperatingSystem" | select Caption).Caption
    If($OS -match "Windows 10")
    {
    if($ResKey)
    {

    [string]$value ="Windows Key: $ResKey"
    $value

    }
    Else
    {
    $w1="Скрипт предназначен только для Windows 10"
    $w1| Write-Warning
    }
    }
    Else
    {
    $w2="Скрипт предназначен только для Windows 10"
    $w2| Write-Warning
    }

    }
    Else
    {
    $w3="Возникла непредвиденная ошибка при получении ключа"
    $w3| Write-Warning
    }

    }

    Function ConvertToWinKey($WinKey)
    {
    $OffsetKey = 52
    $isWindows10 = [int]($WinKey[66]/6) -band 1
    $HF7 = 0xF7
    $WinKey[66] = ($WinKey[66] -band $HF7) -bOr (($isWindows10 -band 2) * 4)
    $с = 24
    [String]$Symbols = "BCDFGHJKMPQRTVWXY2346789"
    do
    {
    $CurIndex = 0
    $X = 14
    Do
    {
    $CurIndex = $CurIndex * 256
    $CurIndex = $WinKey[$X + $OffsetKey] + $CurIndex
    $WinKey[$X + $OffsetKey] = [math]::Floor([double]($CurIndex/24))
    $CurIndex = $CurIndex % 24
    $X = $X - 1
    }
    while($X -ge 0)
    $с = $с- 1
    $KeyResult = $Symbols.SubString($CurIndex,1) + $KeyResult
    $last = $CurIndex
    }

    while($с -ge 0)

    $WinKeypart1 = $KeyResult.SubString(1,$last)
    $WinKeypart2 = $KeyResult.Substring(1,$KeyResult.length-1)
    if($last -eq 0 )
    {
    $KeyResult = "N" + $WinKeypart2
    }
    else
    {
    $KeyResult = $WinKeypart2.Insert($WinKeypart2.IndexOf($WinKeypart1)+$WinKeypart1.length,"N")
    }

    $WindowsKey = $KeyResult.Substring(0,5) + "-" + $KeyResult.substring(5,5) + "-"+ $KeyResult.substring(10,5) + "-"+ $KeyResult.substring(15,5) + "-"+ $KeyResult.substring(20,5)
    $WindowsKey
    }

    GetKey

  4. Запустите PowerShell от имени администратора.
  5. Перейдите в каталог, где сохранен скрипт с помощью команды «cd» и последующего нажатия клавиши Enter. Например, cd c:// (переход на диск С).
  6. Выполните скрипт. Для этого достаточно написать ./"Имя скрипта.ps1" и нажать Enter.
  7. Просмотр кода с через PowerShell

Если при запуске скрипта у Вас появилось сообщение о том, что выполнение сценариев запрещено, то введите команду Set-ExecutionPolicy RemoteSigned, а затем подтвердите свое решение клавишей «Y» и Enter.

Ошибка выполнения скрипта

Очевидно, что воспользоваться сторонними программами намного проще. Поэтому если Вы не опытный пользователь, то остановите свой выбор именно на установке дополнительного ПО. Это сохранит Ваше время.

Наша группа в TelegramПолезные советы и помощь

How to Find a Windows 10 Product Key

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:

Picture of a Windows 7 product key sticker

_An old-school Windows product key sticker – Source_

Or if you bought a physical copy of Windows, your product key would be included somewhere in the box:

Image

_A Windows 10 product key label — Source_

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»:

Screenshot of opening the command prompt as an administrator

Then, run the following command:

wmic path softwarelicensingservice get OA3xOriginalProductKey

After that, you’ll see your Windows 10 product key:

Output of the wmic command listed above

Alternatively, you can run this command in the Command Prompt terminal:

powershell "(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey"

Output of the powershell command listed above

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:

Screenshot of the Windows product key in Magical Jellybean KeyFinder

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

Download Article

Find your Windows product key using the Command Prompt, PowerShell, or the Windows Registry

Download Article

  • Finding your Windows Product Key
  • |

  • Using Command Prompt
  • |

  • Using PowerShell
  • |

  • Using the Registry
  • |

  • Video
  • |

  • Expert Q&A
  • |

  • Tips
  • |

  • Warnings

Do you need to find your Windows product key? The Windows product key is necessary if you want to install Windows on a different computer or reinstall it on your the same computer. You can find the Windows product key using your computer’s Command Prompt, PowerShell program, or within the Windows Registry. This wikiHow article teaches you how to find your Windows product key so that you can activate Windows.[1]

Things You Should Know

  • 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.
  1. Step 1 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.
  2. Step 2 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.

    Advertisement

  3. Step 3 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.

  4. Step 4 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.[2]

  5. Advertisement

  1. Step 1 Click the Windows...

    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.

  2. Step 2 Type CMD.

    This displays the Command Prompt in the Windows Start menu.

  3. Step 3 Open the Command...

    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.
  4. Step 4 Type the command to display your product key.

    To display your product key, type the following command and press Enter.[3]

    • wmic path softwareLicensingService get OA3xOriginalProductKey
  5. Step 5 Note the product key.

    Your product key is the 25-letter key displayed under the text that says «OA3xOriginalProductKey.»

  6. Step 6 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.

  7. Advertisement

  1. Step 1 Right-click the Windows Start menu icon.

    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.

  2. Step 2 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.
  3. Step 3 Enter the command to display the product key and press ↵ Enter.

    The command is as follows:[4]

    • powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"
  4. Step 4 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.[5]
  5. Step 5 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.

  6. Advertisement

  1. Step 1 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.

  2. Step 2 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.
  3. Step 3 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.
  4. Step 4 Click the SoftwareProtectionPlatform folder.

    This displays all the files within this folder in the large panel on the right.

  5. Step 5 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.[6]

  6. Step 6 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.

  7. Advertisement

Add New Question

  • Question

    How do you check your Windows Product Key?

    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.

    Computer & Tech Specialist

    Expert Answer

    The Product Key is encoded in your computer, in BIOS. To access it, you will have to use a third-party software, like Produkey or Show Key Plus.

  • Question

    What is a Windows product key and how do I find it?

    Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time.

    Computer Specialist

    Expert Answer

    A Windows product key is a 25-character key that tells Microsoft that your Windows operating system is authentic. The way you find it will depend on how you received the product key initially, but if you can’t find it, I recommend Magical Jelly Bean, which is a product key finder.

  • Question

    What is a Windows Product Key? How do I get one?

    Windows Product Key is a unique key for each customer. This key is used to activate your Windows operating system. You receive the Product Key when you purchase a Windows OS, or you can buy it separately from Microsoft.

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

Video

  • You can also use the free program Magical Jelly Bean to help you retrieve your Windows product key.[7]

Thanks for submitting a tip for review!

Advertisement

  • Using someone else’s product key to activate your own Windows software is against Microsoft’s terms of use.

Advertisement

About This Article

Article SummaryX

1. Open PowerShell.
2. Type «(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey» and press Enter.
3. Note your product key.

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,298,715 times.

Is this article up to date?

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Msi прошивка из под windows
  • Регулировка цвета монитора windows 10
  • Soft for windows 2000
  • Zabbix agent windows firewall
  • Не включается монитор после спящего режима windows 10