Windows set kms host

Configure a KMS host computer to activate volume licensed versions of Office

Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio

To activate volume licensed versions of Office, including Project and Visio, you must have a Key Management Service (KMS) host computer. You can configure a Windows Server computer to be a KMS host computer by installing the Volume Activation Services role and then running the Volume Activation Tools wizard.

To enable the KMS host computer to activate Office, you must install the Office Volume License Pack and enter your KMS key on the KMS host computer. Then, you need to activate the KMS key over the internet or by telephone.

If you have a KMS host computer configured to activate Windows, you can configure that same KMS host computer to activate Office. You can also configure a KMS host computer to activate multiple versions of Office, such as Office 2019 and Office 2016. In these cases, the KMS host computer must be running an operating system that supports KMS for each of the versions of Office that you want to activate. You’ll also need to install the Office Volume License Pack for each version of Office on the KMS host computer and activate a KMS host key for each version of Office.

Office supports KMS host computers running on the following operating systems, depending on which version of Office is being activated by KMS:

  • Office 2019: At least Windows Server 2012 or at least Windows 8.1 (volume editions)
  • Office 2016: At least Windows Server 2008 R2 or at least Windows 7 Service Pack 1 (volume editions)

You can download the appropriate Office Volume License Pack from the Microsoft Download Center: Office 2019, Office 2016. To get the KMS key, sign in to the Volume Licensing Service Center (VLSC) and download the KMS key for each product and version of Office that you want KMS to activate.

If you are setting up KMS on Windows 7 volume license edition or Windows Server 2008 R2, you must first install a patch as described in Microsoft Knowledge Base article 2757817. This patch allows the KMS host computer to activate Office clients that run on Windows 8 and Windows Server 2012.

  • Support for Windows 7 and Windows Server 2008 R2 ended on January 14, 2020.
  • Support for Windows 8 ended on January 12, 2016.

Configure the KMS host computer

To configure the KMS host computer to activate Office, you must be a member of the Administrators group on the KMS host computer.

If your KMS host computer has internet access, do the following steps:

  1. Sign in to the Volume Licensing Service Center (VLSC) and download the KMS key for each product and version of Office that you want KMS to activate.
  2. On the KMS host computer, download the appropriate Office Volume License Pack from the Microsoft Download Center: Office 2019, Office 2016.
  3. Run the Office Volume License Pack executable file. Running the executable file will install the Office Volume License Pack on the KMS host computer and then opens the Volume Activation Tools wizard.
  4. Follow the steps in the Volume Activation Tools wizard. Enter your KMS key when prompted.
  5. If you have a firewall, make sure port 1688 is open to allow the KMS host service through the firewall.
    • Go to Control Panel >System and Security >Windows Firewall.
    • Click the Allow an app or feature through Windows Firewall link.
    • Click the Change Settings button.
    • Select the check box for Key Management Service and then choose OK.

If your KMS host computer doesn’t have internet access, you can activate it by telephone.

  1. From an elevated command prompt, go to the Windows\system32 folder, and then run the following command:
Читайте также:  Adobe audition для windows 10 pro

Replace ACTIVATIONID with the Activation ID for your version of Office. The Activation ID for Office 2019 is 70512334-47B4-44DB-A233-BE5EA33B914C, and the 2016 Activation ID for Office 2016 is 98EBFE73-2084-4C97-932C-C0CD1643BEA7.

The result of running this command is a 36-digit installation ID. Paste the installation ID number into Notepad, and then break it up into six groups of six numbers.

  1. At the command line, run the following command:

This command launches the Windows phone activation wizard and it will display a telephone number.

After you’ve obtained the telephone number, cancel the wizard. You can ignore the activation ID displayed by the wizard. It’s for Windows.

Call the telephone number. At each prompt, enter a group of six numbers. This 36-digit number is the installation ID that you obtained in step 1.

When you hear the response, write down the numbers. These numbers are your confirmation ID.

At the command line, run the following command:

Replace CONFIRMATIONID with the 48-digit confirmation ID that you received over the telephone.

Replace ACTIVATIONID with the Activation ID for your version of Office. The Activation ID for Office 2019 is 70512334-47B4-44DB-A233-BE5EA33B914C, and the 2016 Activation ID for Office 2016 is 98EBFE73-2084-4C97-932C-C0CD1643BEA7.

  1. You should see a message that the confirmation ID was successfully deposited.

Verify activations by the KMS host computer

After you set up the KMS host computer, KMS clients send requests for activation and increment the current count of activations. The current count must be 5 or more before KMS clients are activated. The maximum current count is double the activation threshold, or 10. You can also check the KMS log in the Applications and Services Logs folder for event ID 12290, the ID for KMS-related activity. The KMS log records activation requests from KMS clients. Each event displays the name of the computer and the time stamp of each activation request.

Verify the KMS key is successfully installed and activated

From an elevated command prompt on the KMS host computer, run the following command:

To view information only for Office 2019, specify the Activation ID after the /dlv parameter. For example:

The following text is an example of the output. The line that says: «License Status: Licensed» indicates that your KMS host computer is successfully activated.

Активация с помощью службы управления ключами Activate using Key Management Service

Относится к: Applies to

  • Windows 10; Windows 10
  • Windows 8.1 Windows 8.1
  • Windows 8 Windows 8
  • Windows7 Windows 7
  • Windows Server 2012 R2 Windows Server 2012 R2
  • Windows Server 2012 Windows Server 2012
  • Windows Server2008 R2 Windows Server 2008 R2

Необходимо активировать розничную версию? Looking for retail activation?

Службу управления ключами (KMS) для активации корпоративных лицензий Windows 10или Windows Server2012R2 можно разместить на компьютере под управлением одной из следующих операционных систем: There are three possible scenarios for volume activation of Windows 10 or Windows Server 2012 R2 by using a Key Management Service (KMS) host:

  • Windows 10; Host KMS on a computer running Windows 10
  • Windows Server2012R2; Host KMS on a computer running Windows Server 2012 R2
  • более ранней версии Windows. Host KMS on a computer running an earlier version of Windows

Служба управления ключами в Windows 10 Key Management Service in Windows 10

Установив ключ узла KMS на компьютере под управлением Windows 10, вы сможете активировать другие компьютеры с Windows 10 и более ранними версиями клиентской операционной системы, например Windows 8.1 или Windows7. Installing a KMS host key on a computer running Windows 10 allows you to activate other computers running Windows 10 against this KMS host and earlier versions of the client operating system, such as Windows 8.1 or Windows 7. Клиенты обнаруживают сервер KMS с помощью записей ресурсов в DNS, поэтому может потребоваться некоторая конфигурация DNS. Clients locate the KMS server by using resource records in DNS, so some configuration of DNS may be required. Этот сценарий будет полезным, если ваша организация использует активацию корпоративных лицензий для клиентов и активацию на основании MAK для меньшего количества серверов. This scenario can be beneficial if your organization uses volume activation for clients and MAK-based activation for a smaller number of servers. Чтобы включить функции KMS, ключ KMS устанавливается на хост KMS; Затем хост активируется через Интернет или по телефону с помощью служб активации Майкрософт. To enable KMS functionality, a KMS key is installed on a KMS host; then, the host is activated over the Internet or by phone using Microsoft activation services.

Читайте также:  Windows shell common dll не работает

Настройка KMS в Windows 10 Configure KMS in Windows 10

Чтобы активировать, используйте slmgr.vbs команду. To activate, use the slmgr.vbs command. Откройте повышенную командную подсказку и запустите одну из следующих команд: Open an elevated command prompt and run one of the following commands:

  • Чтобы установить ключ KMS, введите slmgr.vbs /ipk . To install the KMS key, type slmgr.vbs /ipk .
  • Чтобы активировать в Интернете, введите slmgr.vbs /ato . To activate online, type slmgr.vbs /ato .
  • Чтобы активировать по телефону, выполните следующие действия: To activate by telephone, follow these steps:
    1. Запустите slmgr.vbs /dti и подтвердите ID установки. Run slmgr.vbs /dti and confirm the installation ID.
    2. Позвоните в Центры активации лицензирования Майкрософт по всему миру и следуйте голосовые запросы, чтобы ввести ID установки, полученный на шаге 1 на телефоне. Call Microsoft Licensing Activation Centers worldwide telephone numbers and follow the voice prompts to enter the installation ID that you obtained in step 1 on your telephone.
    3. Следуйте голосовым подсказкам и запишите ответный 48-значный код подтверждения для активации ОС. Follow the voice prompts and write down the responded 48-digit confirmation ID for OS activation.
    4. Выполните команду slmgr.vbs /atp \ . Run slmgr.vbs /atp \ .

Дополнительные сведения см. в разделе, посвященном Windows7, в статье Развертывание активации KMS. For more information, see the information for Windows 7 in Deploy KMS Activation.

Служба управления ключами в Windows Server2012R2 Key Management Service in Windows Server 2012 R2

Установка ключа хоста KMS на компьютере под управлением Windows Server позволяет активировать компьютеры под управлением Windows Server 2012 R2, Windows Server 2008 R2, Windows Server 2008, Windows 10, Windows 8.1, Windows 7 и Windows Vista. Installing a KMS host key on a computer running Windows Server allows you to activate computers running Windows Server 2012 R2, Windows Server 2008 R2, Windows Server 2008, Windows 10, Windows 8.1, Windows 7, and Windows Vista.

Вам не удастся установить ключ KMS клиента в службе KMS в Windows Server. You cannot install a client KMS key into the KMS in Windows Server.

Этот сценарий часто используется в больших организациях, для которых затраты на использование сервера необременительны. This scenario is commonly used in larger organizations that do not find the overhead of using a server a burden.

Если при попытке активировать Windows 10 Корпоративная отображается ошибка 0xC004F015, то сведения о том, что необходимо сделать, см. в статье KB 3086418. If you receive error 0xC004F015 when trying to activate Windows 10 Enterprise, see KB 3086418.

Настройка KMS в Windows Server2012R2 Configure KMS in Windows Server 2012 R2

Войдите в учетную запись локального администратора на компьютере с Windows Server2012R2. Sign in to a computer running Windows Server 2012 R2 with an account that has local administrative credentials.

Запустите диспетчер сервера. Launch Server Manager.

Добавьте роль «Службы активации корпоративных лицензий», как показано нарисунке4. Add the Volume Activation Services role, as shown in Figure 4.

Рисунок 4. Figure 4. Добавление роли «Службы активации корпоративных лицензий» в диспетчере сервера Adding the Volume Activation Services role in Server Manager

После установки роли щелкните ссылку, чтобы запустить средства активации корпоративных лицензий (рис.5). When the role installation is complete, click the link to launch the Volume Activation Tools (Figure 5).

Рисунок 5. Figure 5. Запуск средств активации корпоративных лицензий Launching the Volume Activation Tools

Выберите вариант Служба управления ключами (KMS) и укажите компьютер, который будет использоваться в качестве узла KMS (рис.6). Select the Key Management Service (KMS) option, and specify the computer that will act as the KMS host (Figure 6). Это может быть тот же компьютер, на котором устанавливается роль, или другой компьютер. This can be the same computer on which you installed the role or another computer. Например, это может быть клиентский компьютер под управлением Windows 10. For example, it can be a client computer running Windows 10.

Рисунок 6. Figure 6. Настройка компьютера в качестве узла KMS Configuring the computer as a KMS host

Введите ключ узла KMS в текстовое поле и нажмите кнопку Принять (рис.7). Install your KMS host key by typing it in the text box, and then click Commit (Figure 7).

Рисунок 7. Figure 7. Установка ключа узла KMS Installing your KMS host key

Если потребуется подтвердить замену существующего ключа, нажмите кнопку Да. If asked to confirm replacement of an existing key, click Yes.

После установки ключа продукта вам потребуется активировать его. After the product key is installed, you must activate it. Нажмите кнопку Далее (рис.8). Click Next (Figure 8).

Читайте также:  Что лучше dos linux windows

Рисунок 8. Figure 8. Активация программного обеспечения Activating the software

Вы можете активировать ключ KMS через Интернет или по телефону. The KMS key can be activated online or by phone. См. рис.9. See Figure 9.

Рисунок 9. Figure 9. Выбор активации через Интернет Choosing to activate online

После настройки узел KMS начнет ожидать запросы на активацию. Now that the KMS host is configured, it will begin to listen for activation requests. Однако клиенты не будут активированы до достижения порога активации. However, it will not activate clients successfully until the activation threshold is met.

Проверка конфигурации службы управления ключами Verifying the configuration of Key Management Service

Можно проверить активацию корпоративных лицензий KMS с сервера узла KMS или клиентского компьютера. You can verify KMS volume activation from the KMS host server or from the client computer. Минимальный порог для обработки запросов на активацию корпоративных лицензий с помощью KMS — 25компьютеров. KMS volume activation requires a minimum threshold of 25 computers before activation requests will be processed. Описанная здесь проверка будет увеличивать значение счетчика активаций при каждом обращении клиентского компьютера к узлу KMS, но пока не будет достигнут порог активации, будет возвращаться сообщение об ошибке, а не сообщение с подтверждением. The verification process described here will increment the activation count each time a client computer contacts the KMS host, but unless the activation threshold is reached, the verification will take the form of an error message rather than a confirmation message.

Если вы настроили активацию с помощью Active Directory, а затем активацию с помощью KMS, необходимо использовать клиентский компьютер, который не будет сразу пытаться активироваться с помощью Active Directory. If you configured Active Directory-based activation before configuring KMS activation, you must use a client computer that will not first try to activate itself by using Active Directory-based activation. Вы можете использовать компьютер рабочей группы, который не присоединен к домену, либо компьютер с Windows7или Windows Server2008R2. You could use a workgroup computer that is not joined to a domain or a computer running Windows 7 or Windows Server 2008 R2.

Для проверки действия активации корпоративной лицензии KMS выполните следующие действия. To verify that KMS volume activation works, complete the following steps:

Откройте журнал событий на узле KMS и убедитесь, что он опубликован в DNS. On the KMS host, open the event log and confirm that DNS publishing is successful.

Откройте окно командной строки на клиентском компьютере, введите Slmgr.vbs /ato и нажмите клавишу ВВОД. On a client computer, open a Command Prompt window, type Slmgr.vbs /ato, and then press ENTER.

Команда /ato заставляет операционную систему выполнить активацию с помощью ключа, установленного в операционной системе. The /ato command causes the operating system to attempt activation by using whichever key has been installed in the operating system. Ответ должен отображать состояние лицензии и подробные сведения о версии Windows. The response should show the license state and detailed Windows version information.

На клиентном компьютере или на хосте KMS откройте окно командной подсказки, введитеSlmgr.vbs ** dlv**и нажмите кнопку ENTER. On a client computer or the KMS host, open an elevated Command Prompt window, type Slmgr.vbs /dlv, and then press ENTER.

Команда /dlv отображает подробные сведения о лицензировании. The /dlv command displays the detailed licensing information. В ответ должно появиться сообщение о недостаточно большом значении счетчика активации KMS. The response should return an error that states that the KMS activation count is too low. Это подтверждает, что KMS работает правильно, даже если клиент не был активирован. This confirms that KMS is functioning correctly, even though the client has not been activated.

Подробнее об использовании и синтаксисе slmgr.vbs см. в разделе Параметры Slmgr.vbs. For more information about the use and syntax of slmgr.vbs, see Slmgr.vbs Options.

Служба управления ключами в более ранних версиях Windows Key Management Service in earlier versions of Windows

Если вы уже настроили инфраструктуру KMS в своей организации для одной из предыдущих версий Windows, вы можете использовать эту инфраструктуру для активации компьютеров с Windows 10 или Windows Server2012R2. If you have already established a KMS infrastructure in your organization for an earlier version of Windows, you may want to continue using that infrastructure to activate computers running Windows 10 or Windows Server 2012 R2. Существующий узел KMS должен работать под управлением Windows7 или более поздней версии. Your existing KMS host must be running Windows 7 or later. Для обновления узла KMS выполните следующие действия. To upgrade your KMS host, complete the following steps:

Оцените статью