Find windows install codes

Find windows install codes

Searches for a string of text in a file or files, and displays lines of text that contain the specified string.

Syntax

Parameters

Parameter Description
/v Displays all lines that don’t contain the specified .
/c Counts the lines that contain the specified and displays the total.
/n Precedes each line with the file’s line number.
/i Specifies that the search is not case-sensitive.
[/off[line]] Doesn’t skip files that have the offline attribute set.
Required. Specifies the group of characters (enclosed in quotation marks) that you want to search for.
[ :][

] Specifies the location and name of the file in which to search for the specified string. /? Displays help at the command prompt.

Remarks

If you don’t use /i, this command searches for exactly what you specify for string. For example, this command treats the characters a and A differently. If you use /i, however, the search becomes non-case-sensitive, and it treats a and A as the same character.

If the string you want to search for contains quotation marks, you must use double quotation marks for each quotation mark contained within the string (for example, «»This string contains quotation marks»»).

If you omit a file name, this command acts as a filter, taking input from the standard input source (usually the keyboard, a pipe (|), or a redirected file) and then displays any lines that contain string.

You can type parameters and command-line options for the find command in any order.

You can’t use wildcards (* and ?) in file names or extensions that you specify while using this command. To search for a string in a set of files that you specify with wildcards, you can use this command within a for command.

If you use /c and /v in the same command line, this command displays a count of the lines that don’t contain the specified string. If you specify /c and /n in the same command line, find ignores /n.

This command doesn’t recognize carriage returns. When you use this command to search for text in a file that includes carriage returns, you must limit the search string to text that can be found between carriage returns (that is, a string that is not likely to be interrupted by a carriage return). For example, this command doesn’t report a match for the string tax file if a carriage return occurs between the words tax and file.

Examples

To display all lines from pencil.ad that contain the string pencil sharpener, type:

To find the text, «The scientists labeled their paper for discussion only. It is not a final report.» in the report.doc file, type:

To search for a set of files, you can use the find command within the for command. To search the current directory for files that have the extension .bat and that contain the string PROMPT, type:

To search your hard disk to find and display the file names on drive C that contain the string CPU, use the pipe (|) to direct the output of the dir command to the find command as follows:

Because find searches are case-sensitive and dir produces uppercase output, you must either type the string CPU in uppercase letters or use the /i command-line option with find.

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.

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

wHERE CAN I FIND MY DIGITAL LICENCE

Replies (9) 

Since you upgraded from Windows 8.1 to Windows 10 using the free upgrade, you should have a digital license instead of a product key. Digital license is an activation method in Windows 10 that doesn’t require a product key.

We suggest using the Activation troubleshooter and try activating Windows 10 again. For your reference, check this article on how to use the Activation troubleshooter. If the issue still persists, we recommend contacting our Answer Desk for further assistance with the activation. Click this link on how to get in touch with Answer Desk.

Feel free to post back if you have other concerns.

26 people found this reply helpful

Was this reply helpful?

Sorry this didn’t help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Windows 10 Digital License

When you upgraded from a previous version of Windows or receive a new computer preinstalled with Windows 10, what happened is the hardware (your PC) will get a digital entitlement, where a unique signature of the computer will be stored on Microsoft Activation Servers. The Windows 7 or Windows 8 genuine license you were previously running will be exchanged for a diagnostics key.

Anytime you need to reinstall Windows 10 on that machine, just proceed to reinstall Windows 10. It will automatically reactivate. You will prompted to enter a product key a couple times through the installation, click I don’t have a key and Do this later.

There is no need to know or get a new key, but if you have issues with Digital Licensing or the Activation Troubleshooter, you can utilize an existing Windows 7 or Windows 8/8.1 product key you already own to reactivate if necessary. or use the reset function in Windows 10.

Как узнать лицензионный ключ 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)

Узнать ключ активации Windows

Технический уровень : Средний

Для активации windows используется 25-значный код (ключ) формата (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX). Чтобы узнать какой ключ использовался для активации системы, или появилась необходимость в переустановки системы, а ключ на наклейке стерся, можно воспользоваться данным VBS скриптом.

*Внимание! Данная статья относится к Windows 7/8/8.1 и не подходит для Windows 10.

Создайте Текстовый документ.

Скопируйте в него текст скрипта.

Set WshShell = CreateObject ( «WScript.Shell» )

regKey = «HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\»

DigitalProductId = WshShell.RegRead(regKey & «DigitalProductId» )

Win8ProductName = «Windows Product Name: » & WshShell.RegRead(regKey & «ProductName» ) & vbNewLine

Win8ProductID = «Windows Product ID: » & WshShell.RegRead(regKey & «ProductID» ) & vbNewLine

strProductKey = «Windows Key: » & Win8ProductKey

Win8ProductID = Win8ProductName & Win8ProductID & strProductKey

Function ConvertToKey(regKey)

Const KeyOffset = 52

isWin8 = (regKey(66) \ 6) And 1

regKey(66) = (regKey(66) And &HF7) Or ((isWin8 And 2) * 4)

Do

Do

Cur = regKey(y + KeyOffset) + Cur

regKey(y + KeyOffset) = (Cur \ 24)

Cur = Cur Mod 24

Loop While y >= 0

winKeyOutput = Mid(Chars, Cur + 1, 1) & winKeyOutput

Loop While j >= 0

If (isWin8 = 1) Then

keypart1 = Mid(winKeyOutput, 2, Last)

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 .

Читайте также:  Не удалось найти сервер pppoe mac os
Оцените статью