- Как узнать ключ Windows 10 с помощью командной строки, плюс еще метод с реестром
- Два варианта быстрого поиска ключа продукта Windows 10
- Поиск ключа продукта Windows 10 с помощью командной строки
- Поиск ключа продукта Windows 10 при помощи реестра Windows
- Как узнать Windows key?
- 1 Вариант: Узнаем Product key через командную строку
- 2 Вариант: Узнаем Windows key с помощью скрипта
- Найти ключ активации Windows можно с помощью командной строки или PowerShell
- Как самому найти ключ Windows
- Восстановить ключ Windows с помощью командной строки
- Получить ключ Windows с помощью PowerShell
- 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 Windows Product Key via Command in Windows or Linux
- How to Get the Windows Product Key via cmd in Windows
- How to Find Windows Product License Key via Powershell
- How to Get Windows Product Key via Linux
- Where can I find the Windows product key usually?
Как узнать ключ Windows 10 с помощью командной строки, плюс еще метод с реестром
Два варианта быстрого поиска ключа продукта Windows 10
Поиск ключа продукта Windows 10 при необходимости может быть гораздо проще, чем может показаться на первый взгляд. Достаточно ввести быструю команду в командной строке. Дел на несколько минут, но переоценить важность подобного лайфхака сложно. Ведь именно ключ продукта – это то уникальное сочетание цифр и букв, которое используется во время установки программного обеспечения Майкрософт для разблокирования или открытия продукта, без которого обойтись никак нельзя после, скажем, переустановки Виндовс на одной и той же машине.
Ключи продуктов Майкрософт состоят из 25 знаков, обычно разделенных на группы по 5. Не стоит путать с номером продукта, который создается после его установки и используется службой поддержки клиентов корпорации Майкрософт для идентификации продукта при оказании поддержки. Коды продуктов Майкрософт состоят из 20 знаков, обычно разделенных на группы по 4.
Итак, вот как можно найти ключ продукта с помощью реестра Windows.
Поиск ключа продукта Windows 10 с помощью командной строки
Чтобы найти ключ продукта Windows 10 с помощью командной строки, вам нужно будет открыть приложение командной строки с правами администратора. Для этого введите «cmd» в строке поиска Windows:
В результатах поиска появится командная строка. Щелкните его правой кнопкой мыши и выберите в появившемся окне пункт «Запуск от имени администратора». При появлении соответствующего запроса введите пароль учетной записи Windows.
После открытия скопируйте и вставьте следующую команду, а затем нажмите клавишу Enter:
wmic path softwarelicensingservice get OA3xOriginalProductKey
Следующей строкой тут же появится 25-значный ключ продукта.
Вот и все, что, собственно, нужно сделать. Этот способ быстр, легок, достаточно записать код команды. Впрочем, есть и вторая, не менее простая методика, при помощи которой можно получить доступ к ключу продукта «Десятки» не менее просто и быстро – через реестр Windows.
Поиск ключа продукта Windows 10 при помощи реестра Windows
Первоначально совет по поиску ключа через реестр Windows был предложен пользователем на форуме Microsoft .
Для начала откройте «Блокнот», щелкнув правой кнопкой мыши в любом месте рабочего стола, наведя курсор мыши на «Создать», а затем выбрав в меню пункт «Текстовый документ».
Скопируйте и вставьте этот код в блокнот:
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
Далее перейдите на вкладку «Файл» и выберите пункт «Сохранить как».
Установите список типа файла: «Все файлы» и дайте файлу имя. Вы можете использовать любое имя, но расширение должно быть .vbs . Например, назовите файл таким образом: productkey.vbs
После того как вы ввели имя файла, сохраните его.
Теперь вы можете просмотреть ключ продукта Windows 10 в любое время, просто открыв вновь созданный файл.
Как узнать Windows key?
Бывают разные ситуации когда может потребоваться узнать windows ключ или Windows key как он еще называется, на данный момент самая актуальная ситуация, это покупка ноутбука с предустановленной Windows. Если раньше к покупке шел в комплекте диск с кодом, то сейчас все зашито и перепрошито в самом ноутбуке. И любая чистая перестановка системы допустим с windows 10 на windows 7 или любые другие комбинации, несет в себе риск полного удаления резервной копии системы (на этапе установки удаление buckup раздела) Поэтому желательно во избежании экономии нервных клеток нужно обязательно перед покупкой сделать на любой носитель бекап системы и сохранить ключ продукта Windows.
Если первый вариант с бекапом это информация не одной статьи и по времени ни одного дня, то второй вариант делается за считанные секунды!
1 Вариант: Узнаем Product key через командную строку
Это по мне самый простой и легкий способ узнать ключ продукта windows и не требующий ни чего скачивать и создавать, все делается в командной строке. Для начало я приведу список всех команд которыми мы будем пользоваться:
- slmgr /dli — отображение сведений о лицензии.
- slmgr /dlv — отображение подробных сведений о лицензии.
- открываем командную строку (Пуск -> набираем CMD и нажимаем Enter ) у нас должна появится такая вот консоль:
- Набираем в командной строке команду slmgr /dli и нам откроется сведения о лицензии
- либо воспользуемся второй командой которая введет нам подробные сведения о лицензии slmgr /dlv
Предисловие: данная команда slmgr умеет делать еще и другие действия:
slmgr /xpr — отображает дату окончания активации
slmgr.vbs /skms — установка имени или порта KMS.
slmgr.vbs /ato — активация Windows.
slmgr.vbs /rearm — сброс активации, возврат в триальное состояние.
slmgr.vbs /ipk — установка ключа продукта.
slmgr.vbs /upk — удаление ключа продукта.
slmgr.vbs /cpky — удаление ключа продукта из реестра (предотвращение хищения).
Так что пользуйтесь на здоровье 🙂 ))
2 Вариант: Узнаем Windows key с помощью скрипта
Для того что бы узнать Windows key или ключ продукта Windows для этого нужно сделать всего пару простых действия:
1) Создать текстовый документ
2) Вставить в него след код:
3) Сохраняем файл
4) Файл нужно сохранить в формате VBS
5) После этого запускаем наш файл и переписываем наш
Вот такой, незамысловатый способ что бы быстро узнать свой ключ windows 🙂
Найти ключ активации Windows можно с помощью командной строки или PowerShell
Когда Вы входите, регистрируетесь и активируете вашу копию Windows с помощью розничного ключа, информация о нём сохраняется в реестре Windows.
Пользователи компьютеров, возможно, заметили, что в последние пару лет производители перестали наклеивать их COA или наклейку сертификата подлинности, на которой отображается ключ продукта Windows для машины. Теперь этот ключ встроен в BIOS или UEFI.
Как самому найти ключ Windows
Следует отметить, что лицензия розничного продукта привязывается к человеку, а ключ OEM привязан к машине.
В этой статье мы увидим, как найти оригинальный ключ продукта Windows с помощью командной строки или PowerShell, из BIOS или реестра. Это работает для розничных и OEM лицензий.
Восстановить ключ Windows с помощью командной строки
Из меню Windows откройте командную строку с правами администратора (ищите в папке Служебные → Windows; для открытия с правами администратора используйте правую кнопку мыши).
Затем введите следующую команду и нажмите Enter :
Ключ продукта Windows будет отображен ниже.
Получить ключ Windows с помощью PowerShell
Откройте окно PowerShell с правами администратора, введите следующую команду и нажмите Enter :
Появится активационный ключ лицензии Windows! Это работает на Windows 10 / 8.1 / 7 / Vista.
В Windows 10 ключ продукта будет, вероятно, зашифрован и привязан к учетной записи Microsoft, то есть также хранится в облаке Microsoft.
Если эти методы не работают на вашем компьютере, Вы так же можете использовать свободное программное обеспечение для поиска ключа Windows на компьютере.
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 Windows Product Key via Command in Windows or Linux
Have you ever needed to find a Windows product key? Maybe you’re troubleshooting a Windows PC, planning on re-installing Windows 10 in a virtual machine, installing on a PC, or installing into Boot Camp on a Mac, or maybe you have a PC computer running Windows that needs the Windows product key for some reason or another.
This article will show you three different ways for how to find a Windows product key directly from Windows itself on the computer, without having to rely on tracking down the Windows product key card from a box, email, or COA. So if you lost or misplaced any of those, don’t worry, the methods covered will work to retrieve the Windows product key directly from Windows 10, Windows 8, Windows 7, or even Linux. And yes if you’re running Windows in Boot Camp on a Mac or in a VM, these tricks work there too.
This article is obviously aimed at users who need their Windows product key for whatever reason. Nonetheless, it’s worth remembering that you can download the Windows 10 ISO directly from Microsoft for free, and you can then use that ISO to create a Windows 10 installer drive for Boot Camp, install Windows 10 into VirtualBox (also free), into Parallels or VMWare, or even for installing on PC hardware. And no, you do not need to activate in order to install Windows 10 from the ISO, nor do you need a product key, but of course there are some limitations with running Windows without activation, of which you can always activate later if needed. Anyway, assuming you have an authorized version of Windows running somewhere and you need the product key, read on to discover three ways to retrieve it.
How to Get the Windows Product Key via cmd in Windows
The simplest way to find the Windows Product Key license is to turn to a privileged command prompt in Windows and execute a command that retrieves the software license product key.
From Windows, open a new Administrator Command Prompt window and then enter the following syntax:
wmic path softwarelicensingservice get OA3xOriginalProductKey
Hit Enter / Return for the Windows product key to be displayed, it is a 25 character alphanumeric string in the format of the following:
That’s it. You can get the Windows product key on nearly any Windows installation using this method.
How to Find Windows Product License Key via Powershell
You can also retrieve a Windows product key from Windows Power Shell with the following command string, entered into a privileged command prompt:
powershell «(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey»
Regardless of which method you use, the product key will be the same (assuming it’s being run on the same installation of Windows anyway).
How to Get Windows Product Key via Linux
You can also get the Windows Product Key from Linux by entering the following privileged command:
sudo cat /sys/firmware/acpi/tables/MSDM | tail -c 32 | xargs -0 echo
Executed correctly with the proper syntax and you’ll find your Windows product key immediately reported back.
This handy linux trick was found on Twitter by @brandonprry and is perfect for users who dual boot Windows and Linux on a computer. And no, in case you were wondering, the linux specific trick does not seem to work from a Mac running Windows in Boot Camp, but if you do know of a method to retrieve a Windows product key used in Boot Camp from Mac OS, share it with us in the comments below.
You can use any of the three methods outlined above to find the Windows product key, obviously two are specific to Windows while the third applies to Linux. There are other options available as well, including using Windows specific utilities like ProduKey which can reveal a Windows product key as well as a Microsoft Office product key, which is quite helpful if you’ve misplaced those as well.
Where can I find the Windows product key usually?
Aside from using the above methods to find a Windows Product Key, the typical places you’d find the 25 digit license key code are; on the COA sticker, in the physical software box, or in an email if you bought Windows digitally.
As you may already know, the most typical place for the Windows product key to be found is on the shiny COA (Certificate of Authenticity) sticker adhered to the enclosure of a Windows PC, whether it’s a laptop or desktop, but maybe that sticker was lost, peeled off, damaged, or never included at all.
If you bought a physical copy of Windows, the product key is typically included in the box itself on a piece of paper, but of course that can be lost or misplaced.
And if you bought Windows digitally, you typically get the product key in an email instead.
But if you’re running Windows in a virtual machine, or on a Mac in Boot Camp, or on a home-built PC or even some laptops, the Certificate of Authenticity sticker for Windows that includes the product key will not be available, and perhaps you long ago lost the email or box containing the product key itself. Or maybe you’re on the road and just don’t have the materials with you, or access to the email or other methods of obtaining the license key. This happens fairly often, regardless of how, where, and why you’re using Windows, which is why it can be so helpful to retrieve the product key directly from software.
Obviously if you don’t use Windows then this will be of no use to you, but Windows remains the most common operating system in corporate, government, and educational environments, and that’s unlikely to change anytime soon. So even if you’re a heavy Mac user or Linux user, you may still be working with Windows from time-to-time, and this can apply to you as well.
If you know of any other tips, tricks, or methods to obtain the Windows product key license number from Windows, Linux, or Mac OS, share them with us in the comments below!