Проверить лицензию windows server 2016

Updated by
Cici on Jan 23, 2025 

Finding your Windows server product key can be a daunting task for most users. Since the product key is embedded in the activation wizard of the software, it becomes difficult to retrieve the product key. However, various ways can help you find your Windows server product key. From third-party software to complex command lines, users get various methods to retrieve the product key. In this article, we will list six different methods that you can use without any external hassle. All the methods listed in the article will work on Windows servers, including Windows server 2022/2019/2016/2012, and more. Follow the article to the end for a detailed guide.

How Do I Find My Windows Server License Key

Workable Solutions Step-by-step Troubleshooting

Check Server Product Key Box, Email

If you have purchased a physical copy, the Windows server product key will be on a label…Full steps
Check Microsoft Account Log in to the Microsoft store using your official credentials…Full steps
Use EaseUS Product Key Finder Launch and run EaseUS Key Finder on the PC, and choose «Product Key» …Full steps
Run CMD Open the CMD and run it with administrator rights…Full steps

Checking Windows Server Product Key Box, Email

One of the easiest methods to find the Windows server product key is searching the box windows came in. If you have purchased a physical copy, the Windows server product key will be on a label on the card inside the product box. This is one of the easiest methods that you can use to find your Windows server product key. However, if you have misplaced your product box, you can search your email for the official mail from Microsoft with Windows server product key details. If you have deleted the mail accidentally, you can check your junk mail folder or try other methods listed in the article below.

Windows Server product box

Check Microsoft Account or Contact Microsoft Support Team

You can find the Windows server product key from your official Microsoft account, no matter the Windows server. If you have purchased Windows from the Microsoft Store, the server product key will be stored digitally in your Microsoft account. To find the Windows server product key, follow the steps mentioned below:

  • Log in to the Microsoft store using your official credentials.
  • Under the downloads sections, navigate to the product key and click on Subscription.
  • Under the Subscription menu, the server product key will be listed under the Digital Content section.

Contact Microsoft Support to find product key of Windows Server

If you do not see your Windows server product key in your Microsoft account, it is advised that you must contact the Microsoft support team to assist you in finding the sever product key.

Click to Find Windows Server Product Key with EaseUS Product Key Finder

One of the easiest third-party software that allows you to find Windows server product keys is the EaseUS Key Finder. The software allows all Windows servers and Windows users to find product keys in simple clicks.

The EaseUS Key Finder’s interface is simple, and new users can follow the simple steps listed below to find the Windows server product key.

Step 1. Click «Windows» tab under the Registry Key.

find windows product key 1

Step 2. Check Windows product key on the right side. Click «Copy» to paste. Or select other two options:

«Save» — Save to local as a PDF file.

«Print» — Click to print key file.

find windows product key 2

Run CMD

If you want to find your Windows server product key, you can also use the command prompt. However, the command prompt will be only available for the OEM license. Before using the CMD method, it is advised that users must know the differences between different types of licenses. Once you are aware of the types of Windows licenses, follow the steps mentioned below.

  • Open the CMD and run it with administrator rights.
  • Once the tab is opening, copy and paste the command «wmic path softwarelicensingservice get OA3xOriginalProductKey».

Find Windows Server product key in cmd

  • As soon as you enter the command mentioned above, the product key will appear.

Running CMD and typing complex commands can be difficult for most users. However, CMD shows the Windows server product key with specific commands.

Run Powershell Command

Similar to CMD, you can use the Powershell command to find the Windows server product key.

  • Open Powershell and type the command listed below to find your server product key.
  • powershell «(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey»
  • Hit Enter, your Windows Server product key will show up in the PowerShell window.

Find Widows Server product key in PowerShell

How to Find Windows 11 Product Key Using CMD

Are you in need of your Windows 11 product key but can’t find it? Learn how to find the Windows 11 product key using CMD in this article. Besides, we will also introduce the best Windows Key Finder to solve your problem.

Use Registry

The final method that you can use to find the Window server product key is the Registry editor. The free solution to finding the product key must be used with precaution to avoid further complications. To use Registry Editor, follow the steps mentioned below:

  • Navigate to the Windows icon and right-click on the icon
  • Select search option and type regedit
  • Once you type, the Registry Editor will open
  • Navigate to the path and find the product code value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
  • Double click on the BackupProductKeyDefault to find the server key.

Find Windows Server Product key in registry

The methods mentioned above to find the Windows server product key can be used for both older and newer versions of Windows. The use of methods will depend upon the user. If none of the methods works for you, it is advised that you must contact the Microsoft support team to find your product key.

Find Windows Server 2019/2016 or Older Server Product Keys 

Now that you know the six different methods of finding server keys, you can use the methods to find Windows sever 2019/2016 or even older server product keys.

Windows Server Product Key Box: When you’ll purchase the Windows server 2019/2016, the server product key is listed in the product box and sent to your official mail.

Reaching Out To Microsoft Support Team: One of the easiest methods to find the Windows server 2019/2016 product key. You can also check your Microsoft account for the server product key.

Using EaseUS Product Key Finder: With the help of EaseUS Todo PC Trans Software, you can find your Windows server 2019/2016 product key with one click. 

Run CMD: By typing the command mentioned above in CMD, you can easily find your Windows server product key.

Using Powershell: Similar to CMD, you just have to copy the command and paste it in the Powershell window to find your Windows server 2019/2016 product key

Using Registry: You can also use the registry editor to find the Windows server 2019/2016 product key without any hassle.

Conclusion

If you want to find your Windows server product key without investing additional effort and time, you must check your product box or official mail to get the server product key shared by Microsoft.

However, if you cannot locate your server product key on a Microsoft account or mail, you can rely on EaseUS Key Finder. The third-party software is the easiest and straightforward way to find the server product key. While command-line and Powershell require complex commands, you can use the EaseUS Key Finder and find the Windows server product key in one click. However, if you are well-versed with the commands, you can also use Registry Editor and Powershell to find the Windows server product key.

6 марта 2025 г. 17:42

582

Содержание:

  1. Как проверить статус активации
  2. Активация Windows Server 2016 Standard через cmd
  3. Активация через графический интерфейс
  4. Что делать, если активация не проходит

Настроили сервер, всё работает, но… «Ваша копия Windows не активирована»? Это не просто раздражающее сообщение — без активации сервер может внезапно начать ограничивать функциональность. А если Windows Server 2016 управляет важными сервисами, ждать сюрпризов точно не хочется. Разбираемся, как активировать Windows Server 2016 Standard без лишних сложностей и возможных ошибок.

Как проверить статус активации

Прежде чем приступать к активации, стоит проверить статус системы. Для этого:

  • Запустите командную строку нажав Win + R  и введите cmd.
  • Впишите команду: slmgr /dli.
  • Всплывающее окно покажет статус лицензии.

Если сервер уже активирован, можно расслабиться. Если нет — выбираем способ активации ниже.

Активация Windows Server 2016 Standard через cmd

Для тех, кто не боится команд и хочет быстро активировать сервер:

  • Открываем командную строку (от имени администратора).
  • Вводим ключ продукта (замените XXXXX… на ваш ключ): slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

  • Если у вас нет ключа активации Виндовс сервер 2016, дешево и быстро его можно приобрести ЗДЕСЬ
  • Запускаем процесс активации: slmgr /ato

  • Проверяем результат командой: slmgr /dli

Если система ответила, что активация выполнена — поздравляем, ваш сервер теперь официально активирован!

Активация через графический интерфейс

Для тех, кто предпочитает не вводить команды вручную, Windows Server 2016 активация может быть выполнена следующим образом:

  • Открываем «Параметры Windows» (нажимаем Win + I).
  • Заходим в «Обновление и безопасность»«Активация».
  • Нажимаем «Изменить ключ продукта».

  • Вводим лицензионный ключ, который недорого и с моментальной доставкой продается здесь, и жмём «Далее».
  • Дожидаемся завершения процесса активации.

Этот вариант подойдёт, если вы не хотите возиться с командной строкой, но результат будет точно таким же. 

Что делать, если активация не проходит

Иногда Windows Server 2016 может отказываться активироваться, даже если ключ введен правильно. Разберём основные причины и способы их устранения:

  • Если сервер не подключен к интернету, активация не сможет пройти. Проверьте, есть ли доступ к сети, и попробуйте снова.
  • Если введенный ключ не подходит, убедитесь, что он соответствует вашей версии Windows Server 2016. Например, ключ для Standard-редакции не подойдёт для Datacenter.
  • Иногда изменения не вступают в силу сразу. Перезагрузите сервер и попробуйте активировать систему снова.
  • Бывает, что сервера Microsoft временно недоступны. В таком случае лучше подождать некоторое время и повторить попытку активации позже.
  • Если система давно не обновлялась, могут возникнуть проблемы с активацией. Установите все доступные обновления через центр обновления Windows и попробуйте снова.

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

To find out whether Windows Server 2016 is still under evaluation, run the “slmgr -rearm” command. After installation, this command will activate Windows Server 2016 and grant you 180 days of evaluation. However, once the evaluation period has expired, you cannot use it for commercial purposes. To extend the evaluation period, simply restart the server. Alternatively, you can run the command again at any time. It will reset the license extension period to 180 days and extend it by another 10 days.

Once installed, you’ll be able to see if the evaluation period for Windows Server 2016 has expired. This is a common problem that people run into. Thankfully, there are ways to find out whether a given product is still under evaluation. Typically, a trial version of a program will last for 180 days. If you’d like to try it out, you can download the trial version here.

If you’re running a Windows Server 2016, you’re probably wondering, “How long is Windows Server 2016 evaluation?” This is a legitimate question. The short answer is 180 days. After that period expires, your system won’t work. While it may be tempting to keep the product, you can’t. The evaluation version of Windows isn’t licensed for commercial use. However, if you’re running a Windows 10 or an 11 server, the evaluation version will be sufficient for most purposes.

Microsoft allows you to evaluate their products for 180 days. After this period, you must activate the server system to get full functionality. To activate the server, you need to purchase a product key. In addition, you’ll have to enter your Windows Server 2016 evaluation product key in order to activate the product. Once you’re ready to activate the server, download the trial version from Microsoft’s website. Then, use it for 180 days to try it out!

How Do I Check My Expiry Date?

After installing Windows Server 2016, you will be given 180 days of evaluation period. You can reset the evaluation version up to six times. You should run the “slmgr -rearm” command in an environment with an Internet connection. When you run this command, Windows Server will reset the license extension period to 180 days and extend it by ten days. You must activate it again after the 180-day evaluation period expires.

After the evaluation period expires, you need to activate the software. You can do this through the Windows Admin Center or by upgrading an existing SQL Server instance. You can also upgrade Windows Server 2012 to 2019 with an in-place upgrade. Make sure to check your evaluation period first before installing Windows Server. You don’t have to install the latest version of the OS to use it. If you’re unsure, read this article to find out more.

Generally, Windows Server evaluation periods are valid for 180 days. After 180 days, you can convert the evaluation version to the retail version, but it will be prone to problems if you continue using it. There is a way to extend your evaluation period for up to 3 years by using PowerShell. To do this, open CMD as an Administrator. Then copy or paste the following command into CMD. Then restart the server to apply the changes.

How Do I Find My Windows Server License?

The first step in converting your Evaluation version of Windows to the full version is to obtain a 25-character product key. A product key will allow you to activate the server system and move it from an Evaluation version to a licensed one. You can get the product key using the command line utility known as DISM. Once you have a product key, you can run DISM.com to convert your evaluation edition to a licensed version.

The evaluation period of Windows Server 2016 is 180 days. Once this period expires, the server stops working and must be activated again. You can do this up to six times, by running the “slmgr -rearm” command. Make sure you’re connected to the Internet, or else the command will fail. Once you’ve run this command, your evaluation period will reset to 180 days, then extend another 10 days.

How Do I Reset My Windows Evaluation Period?

If you have a trial version of Windows Server 2016, you will have to reset the evaluation period. By default, you have 180 days to try the product out. However, you can extend this period to three years. In order to extend the evaluation period, you must first upgrade your server to the full version. Then, you will have to use the product key to activate the software. There are several steps that you need to take to reset your evaluation period.

The first step is to run a command in the PowerShell shell. You need to be logged in to your server to run the command. If you have an administrative privilege, you must run this command as an administrator. The second step is to restart your computer. If you do not see the command prompt, run the command slmgr -rearm six times. Repeat these steps until you’re back in the evaluation period.

How Do I Extend My Windows Evaluation Period?

If you are using the Windows Server 2019 or Windows 2022 evaluation version, you will need to purchase a license to use the software. Otherwise, you will encounter random shutdowns and random messages. The good news is that you can extend the evaluation period to three years. To do this, use PowerShell and the PowerShell ISE to execute the ‘extension’ command in an Administrator account.

The evaluation period is usually thirty days, but it can be extended to three years by running a registry tweak. You can do this in two ways: using a program called SkipReam, or by manually entering the ‘extension’ command in the Run menu. In either case, you should wait until the trial period is over before attempting to use the product. Alternatively, you can use the ‘extension’ feature in the Start menu to launch the Windows evaluation process.

How Do I Activate Windows Server 2016 Evaluation?

Before you start upgrading your operating system, you must first have administrative permissions. If you do not have such privileges, then you must contact an IT expert or change the system settings. After you have logged in as an administrator, you should enter the 25-character product key. This key will convert your system from an Evaluation version to a Full version. To access the Command Prompt, use the search feature in the taskbar to locate it. Right-click on the command prompt and choose “Run as administrator.”

The first step is to launch the command prompt with administrator privileges. Run the following command in the elevated command prompt. Make sure you use the correct product key. Then, type the SLMGR command in the elevated command prompt. Make sure you use the correct product key for your version of Windows Server 2016.

How Long Will Windows Server 2016 Be Supported?

When will Windows Server 2016 be deprecated? Windows Server 2008, installed in 2008, has reached its end of life and will cease to be supported by Microsoft at the end of November 2019. However, the company has made significant improvements to Windows Server 2016 and will continue to support it for five years. Read on to learn more about Windows Server 2016’s support lifecycle. But before you upgrade, here are a few important things you should know.

During the end of the support period, customers can purchase Extended Security Updates (ESUs) to continue receiving security updates. While this cost is not cheap, it does offer functional stability and an extended servicing option. Server Core and Server with Desktop Experience can be upgraded in this way. Support for Azure Stack HCI is also available. So, if you’re planning on upgrading to Windows Server 2016, it’s a good idea to plan ahead.

Learn More Here:

1.) Windows Help Center

2.) Windows – Wikipedia

3.) Windows Blog

4.) Windows Central

Как посмотреть лицензию Windows Server 2016

Windows Server 2016 – это одна из наиболее популярных операционных систем, используемых для хранения, управления и обработки данных. Но как узнать, какая лицензия установлена на вашем сервере?

Проверка лицензии через командную строку

Мы можем проверить, какая версия и тип лицензии установлена на сервере, используя команду slmgr.

slmgr /dli

Эта команда позволит просмотреть информацию о текущей версии и данных лицензии Windows Server 2016. Если лицензия активна, вы увидите следующее сообщение:

Name: Windows Server®, ServerStandard edition
Description: Windows Operating System — Windows Server®, VOLUME_KMSCHANNEL
Partial Product Key: XXXXX
License Status: Licensed

Если лицензия не активирована, то вы увидите сообщение, подобное следующему:

Name: Windows(R), ServerStandard edition
Description: Windows Operating System — Windows Server(R), VOLUME_KMSCLIENT channel
Partial Product Key: XXXXX
License Status: Out-of-Box Grace Period

Несмотря на то, что у вас может быть установлена действительная лицензия, но сообщение может указывать, что лицензия находится в периоде ожидания активации.

Использование PowerShell для проверки статуса лицензии

Вы также можете использовать PowerShell, чтобы проверить статус лицензии в Windows Server 2016. Для этого нужно запустить PowerShell с помощью прав администратора, а затем выполнить следующую команду:

Get-WmiObject -query 'select * from SoftwareLicensingService'

После того, как вы введете эту команду, вы увидите ряд параметров, связанных с установленной лицензией, включая дату установки и статус активации.

Проверка версии и типа лицензии в «Системе»

Вы можете получить информацию о своей лицензии, открыв окно «Система». Для этого нужно выполнить следующие действия:

  1. Нажмите правой кнопкой мыши на значке «Пуск»
  2. Нажмите на «Система»
  3. В открывшемся окне вы увидите информацию о версии сервера и типе установленной лицензии

Теперь вы знаете, как получить информацию о типе и версии установленной лицензии Windows Server 2016.

Итог

Windows Server 2016 – одна из самых мощных и универсальных операционных систем для профессиональных решений в области обработки данных, ведения и хранения информации. Есть несколько способов, которые позволяют узнать, какой тип и версия лицензии установлена на вашем сервере. Вы можете использовать командную строку, PowerShell или окно «Система».

Как посмотреть лицензию Windows Server 2016?

Windows Server 2016 — операционная система для сервера, которая была выпущена в 2016 году. Её отличительной чертой является новый интерфейс, более лучшая безопасность и производительность.

Если вы хотите узнать, как посмотреть лицензию Windows Server 2016, то продолжайте читать эту статью.

1. Поиск ключа продукта на коробке

Если у вас есть бумажная коробка с Windows Server 2016, то ключ продукта будет находиться на наклейке на коробке.

  • Найдите коробку с Windows Server 2016
  • Найдите наклейку с ключом продукта на коробке
  • Запишите 25-значный ключ продукта

2. Использование команды slmgr

Команда slmgr (Software Licensing Management Tool) — это инструмент, который позволяет управлять лицензией Windows.

Чтобы открыть командную строку, нажмите «Пуск» и введите «cmd». Затем щелкните значок командной строки правой кнопкой мыши и выберите «Запустить от имени администратора».

Для того чтобы использовать команду slmgr, следуйте этим простым шагам:

  • Откройте командную строку
  • Введите команду «slmgr /dlv» и нажмите «Enter»
  • Найдите «Product Key Channel» или «Канал ключа продукта», чтобы узнать ключ продукта

3. Использование PowerShell

PowerShell — это усовершенствованный инструмент, который позволяет управлять Windows Server 2016. Чтобы посмотреть ключ продукта через PowerShell, выполните следующие действия:

  • Откройте PowerShell
  • Введите команду «Get-WmiObject -query ‘select * from SoftwareLicensingService’» и нажмите «Enter»
  • Найдите «OA3xOriginalProductKey» или «Оригинальный ключ продукта», чтобы узнать ключ продукта

Общий итог

Как видите, посмотреть ключ продукта у Windows Server 2016 достаточно просто. Вы можете использовать наклейку на коробке, команду slmgr или PowerShell, чтобы получить ключ продукта. Независимо от того, какой метод вы выберете, помните, что ключ продукта является важным элементом для активации и использования Windows Server 2016.

Как узнать о лицензии Windows Server 2016?

Получение лицензии Windows Server 2016 является обязательным, чтобы использовать сервер на коммерческой основе. Лицензирование Windows Server 2016 может быть сложным, поэтому в этой статье разберем основные способы проверки лицензии Windows Server 2016 и дадим некоторые советы по управлению лицензиями.

Как проверить лицензирование Windows Server 2016?

Если вы уже получили лицензию Windows Server 2016, то существует простой способ узнать, является ли ваш сервер правильно лицензированным. Для этого:

  1. Запустите Windows PowerShell от имени администратора
  2. Введите следующую команду: Get-WindowsActivation
  3. Для проверки текущего состояния лицензии Windows Server 2016 идентификатор продукта (Product ID) должен быть указан как ‘Windows(R) Operating System, VOLUME_KMS_WS16 channel’.

Если в результате появляется ошибка, то значит лицензия не была активирована. Для активации лицензии Windows Server 2016 необходимо запустить утилиту активации в интерфейсе пользователя системы.

Если вы не имеете лицензии Windows Server 2016, необходимо приобрести ее у продавца софта или непосредственно у Microsoft.

Управление лицензиями Windows Server 2016

Управление лицензиями является важным фактором в процессе работы с Windows Server 2016. Пользователи могут получить информацию о лицензиях Windows Server через различные инструменты Microsoft, включая License Manager и Volume Activation Management Tool (VAMT).

License Manager — это инструмент, встроенный в Windows Server 2016, который позволяет управлять лицензиями для более чем одного сервера. Он также позволяет пользователям просматривать общее количество установленных и использованных лицензий, а также просматривать детали каждой установленной лицензии.

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

Общий итог

Проверка лицензирования Windows Server 2016 является важным фактором для работы с сервером на коммерческой основе. Получение лицензии Windows Server 2016 просто, а проверка лицензирования доступна с помощью Windows PowerShell. Кроме того, License Manager и инструмент управления активацией помогают пользователям управлять лицензиями Windows Server 2016. Соблюдение требований лицензирования является неотъемлемой частью работы с Windows Server 2016 на коммерческой основе и может помочь избежать штрафов за нарушение авторских прав.

Сервер Remote Desktop Licensing используется для выдачи и отслеживания клиентских терминальных лицензий RDS (CAL). Согласно схеме лицензирования Microsoft все пользователи, или устройства, подключающиеся к графическому сеансу рабочего стола RDS, должны быть лицензированы. В этой статье мы рассмотрим, как установить и активировать роль сервера лицензирования удаленных рабочих столов на хосте с Windows Server 2022, 2019 и 2016, а также как установить клиентские лицензии RDS CAL.

Содержание:

  • Установка роли Remote Desktop Licensing в Windows Server
  • Активация сервера лицензий RDS на Windows Server
  • Установка клиентских лицензий RDS CAL в Windows Server
  • Настройка серверов RDSH на использование сервера лицензий RDS
  • Управление клиентскими лицензиями CAL на RDS

Установка роли Remote Desktop Licensing в Windows Server

Компонент Remote Desktop Licensing можно установить на любом хосте Windows Server (не обязательно устанавливать его на одном из серверов фермы RDS). Если вы разворачиваете хост RD Licensing в домене AD, добавьте сервер во встроенную группу Terminal Server License Servers (иначе сервер не сможет выдать CAL типа RDS Per User пользователям домена).

Состав этой группы позволяют быстро найти все хосты с лицензиями RDS в домене.

Установите службу Remote Desktop Licensing через консоль Server Manager (Add Roles and Features -> Remote Desktop Services -> Remote Desktop Licensing.

Remote Desktop Licensing - служба лицензирования терминалов

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

установка службы Remote Desktop Licensing

Также вы можете в Windows Server установить компонент лицензирования RDS и инструменты управления RD Licensing с помощью PowerShell:
Install-WindowsFeature RDS-Licensing –IncludeAllSubFeature -IncludeManagementTools

Выведите установленные компоненты RDS на сервере и проверьте, что RDS-Licensing и RDS-Licensing-UI установлены:

Get-WindowsFeature -Name RDS* | Where installed

powershell проверить какие службы RDS установлены на Windows Server

Для управления службой RDS-Licensing используются две консоли:

  • Remote Desktop Licensing Manager (
    licmgr.exe
    )
  • RD Licensing Diagnoser (
    lsdiag.msc
    )

Консоли управления сервером лицензирования RDS

Активация сервера лицензий RDS на Windows Server

Чтобы сервер лицензирования RDS мог выдавать лицензии клиентам, его необходимо активировать. Откройте консоль Remote Desktop Licensing Manager (
licmgr.exe
), щелкните ПКМ по имени вашего сервера и выберите пункт меню Activate Server.

активация сервера терминальных лицензий

В мастере активации сервера лицензирования RDS нужно выбрать, хотите ли вы активировать сервер через интернет, с помощью браузера или по телефону.

выберите метод активации сервера лицензирования

Далее нужно будет заполнить ряд информации о вашей организации (часть полей является обязательными).

информация об организации и компании

Нажмите кнопку Finish. Должна появится надпись:

The license server has been successfully activated.

сервер лицензирования RDS успешно активирован

Щелкните в консоли по имени сервера и выберите Review Configuration. В этом примере сервер лицензий RDS активирован и может выдавать лицензии клиентам в домене AD.

This license server is a member of the Terminal Server License Servers group in Active Directory. This license server will be able to issue RDS Per User CALs to users in the domain, and you will be able to track the usage of RDS Per User CALs.
This license server is registered as a service connection point (SCP) in Active Directory Domain Services.

Review Configuration

Установка клиентских лицензий RDS CAL в Windows Server

Теперь на сервер лицензирования нужно установить приобретенный вами пакет терминальных лицензий (RDS CAL, client access license). Есть два типа терминальных CAL:

  • На устройство (Per Device CAL) – лицензия назначается на устройство (компьютер). Дает право подключения к RDS серверам с одного устройства любому количеству пользователей. При первом подключении устройства к RDS ему назначается временная лицензия, а при втором – постоянная. Лицензия не являются конкурентными, это означает что если у вас 10 лицензий Per Device, то к вашему RDS серверу смогут подключится всего 10 компьютеров. Актуальная OVL лицензия называется так:
    Win Remote Desktop Services CAL 2022 SLng OLV NL AP DCAL
  • На пользователя (Per User CAL) – лицензия позволяет одному пользователю подключаться к RDS с любого количества компьютеров. Этот тип лицензии привязывается к учетной записи пользователя в Active Directory, но выдается не навсегда, а на срок от 52 до 89 дней (случайное число). Актуальная Open Value лицензия этого типа называется так:
    Win Remote Desktop Services CAL 2022 SLng OLV NL AP UCAL
    .

    Если вы разворачиваете RDSH сервер в рабочей группе (не в домене), используйте лицензирование на устройство (Per Device RDS CAL). Иначе RDSH сервер будет каждые 60 минут завершать сеанс пользователей с сообщением: “Проблема с лицензией удаленных рабочих столов и ваш сеанс будет завершен через 60 мин / There is a problem with your Remote Desktop license, and your session will be disconnected in 60 minutes ”.

    Проблема с лицензией удаленных рабочих столов и ваш сеанс будет завершен через 60 мин

Клиентские лицензия RDS которые вы используете должны быть совместимы с версией Windows Server, к которой подключается пользователь или устройство. Следующая таблица позволяет определить совместимость RDS CAL с версий Windows Server на сервере лицензирования RDS:

2008 R2 СAL 2012 CAL 2016 CAL 2019 CAL 2022 CAL
2008 R2 Yes No No No No
2012 Yes Yes No No No
2012 R2 Yes Yes No No No
2016 Yes Yes Yes No No
2019 Yes Yes Yes Yes No
2022 Yes Yes Yes Yes Yes

Примечание. RDS CAL для новых версий Windows Server нельзя установить на предыдущие версии WS. Например, вы не сможете установить 2022 RDS CAL на хост лицензирования Windows Server 2016. При попытке установить новые лицензии на старую версию Windows Server появится ошибка:

rds ошибка неверный код при добавлении лицензий RDS CAL

RD Licensing Manager
The license code is not recognized. Ensure that you have entered the correct license code.

В консоли Remote Desktop Licensing Manager щелкните по серверу и выберите Install Licenses.

Выберите способ активации (автоматически, через веб или по телефону) и программу лицензирования (в нашем случае Enterprise Agreement).

В сеть утекло уже довольно много enterprise agreement номеров для RDS (4965437). Найти номера думаю, не составит проблемы. Обычно даже не нужно искать кряки или активаторы.

программа лицензирования Enterprise Agreement

Следующие шаги мастера зависят от того, какой тип лицензирования выбран. В случае Enterprise Agreement нужно указать его номер. Если выбран тип лицензирования License Pack (Retail Purchase), нужно будет указать 25-символьный ключ продукта, полученный от Microsoft или партнера.

номер лицензионного соглашения

Укажите тип продукта (Windows Server 2022, 2019 или 2016), тип RDS CAL и количество терминальных лицензий, которые нужно установить на сервере.

тип и количество RDS лицензий

Если нужно сконвертировать RDS лицензии User CAL в Device CAL (или наоборот), щелкните по пакету лицензий в консоли RD Licensing Manager и выберите Convert Licenses.

сонвертировать rds cal из user в device

Настройка серверов RDSH на использование сервера лицензий RDS

После установки роли RDSH на Windows Server пользователю могут использовать его в течении пробного (grace) периода 120 дней, после чего они не смогут подключиться к RDS. Чтобы ваши RDSH хосту могли получать CAL лицензии с RDS License сервера и выдавать их устройствам/пользователям, нужно указать адрес сервера с RDS лицензиями в настройках терминальных серверов RD Session Host.

Можно задать адрес сервера лицензирования в настройка коллекции на RDSH. Откройте Server Manager -> Remote Desktop Services -> Collections. В правом верхнем меню выберите Tasks -> Edit Deployment Properties.

rds изменить настройки Edit Deployment Properties

Перейдите на вкладку RD Licensing, выберите тип лицензирования (Per user или Per device в зависимости от имеющихся лицензий) и адрес сервера RDS. Нажмите Add -> Ok.

rdsh изменить параметры лицензирования хоста

Можно задать настройки сервера лицензирования RDS через групповые политики. В домене нужно создать нужно создать новую GPO в консоли GPMC и назначить ее на OU с RDS серверами (либо вы можете указать имя сервера лицензирования RDS с помощью локального редактора групповых политик –
gpedit.msc
).

Перейдите в раздел Computer Configuration -> Policies -> Admin Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing и настройте два параметра.

  • Use the specified Remote Desktop license servers – укажите имя или IP адрес сервера лицензирования RDS;
  • Set the Remote Desktop licensing mode – выбор тип клиентских лицензий (RDS CAL).

GPO - data-lazy-src=

Если вы установили RDSH на ознакомительной редакции Windows Server Evaluation, нужно конвертировать его в полноценную версию согласно инструкции. Без конвертации службы RDSH на таком хосте будут работать только 120 дней даже после того, как вы нацелите его на активированный сервер лицензий RDS.

Также можно задать имя сервера лицензирования RDS и тип CAL с помощью PowerShell. Если у вас развернут посредник RDS Connection Broker, можно изменить настройки лицензирования с помощью команды:

Set-RDLicenseConfiguration -LicenseServer @("rds-lic01.winitpro.loc") -Mode PerDevice -ConnectionBroker "rdcb01.winitpro.loc"

Либо вы можете указать адрес сервера лицензирования и тип лицензий в реестре с помощью PowerShell команд:

# Тип лицензирования RDS 2 – Per Device CAL, 4 – Per User CAL
$RDSCALMode = 4
# Имя сервера лицензирования RDS
$RDSlicServer = "rds-lic01.winitpro.loc"
New-Item "HKLM:\SYSTEM\CurrentControlSet\Services\TermService\Parameters\LicenseServers"
New-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\TermService\Parameters\LicenseServers" -Name SpecifiedLicenseServers -Value $RDSlicServer -PropertyType "MultiString"
Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core\" -Name "LicensingMode" -Value $RDSCALMode

Хосты RDSH для получения лицензий с сервера RDS Licensing обращаются к нему по следующим портам. Убедитесь, что они не блокируются межсетевыми экранами (или Windows Firewall):

  • TCP/135 (Microsoft RPC)
  • UDP/137 (NetBIOS Datagram Service)
  • UDP/138 (NetBIOS Name Resolution)
  • TCP/139 (NetBIOS Session Service)
  • TCP/445 (SMB)
  • TCP 49152 – 65535 — RPC динамический диапазон адресов

Вы можете проверить доступность портов с помощью утилиты PortQry или командлета Test-NetConnection.

Запустите утилиту Remote Desktop Licensing Diagnoser (
lsdiag.msc
) на RDSH хосте и проверьте, что он видит сервер лицензирования и количество доступных RDS CAL.

RD Licensing Diagnoser did not identify any licensing problems for the Remote Desktop Session Host server.

RD licensing diagnoser: проверить подключение к серверу лицензирования

Если сервер сервера лицензий RDS не задан, или недоступен, в консоли Licensing Diagnoser будут присутствовать следующие предупреждения:

Licenses are not available for this Remoter Desktop Session Host server, and RD Licensing Diagnose has identified licensing problems for the RDSH
Number of licenses available for clients: 0
The licensing mode for the Remote Desktop Session Host server is not configured
Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server.

rds diagnoser недоступны лицензии

Примечание. В нашем случае после указания нового сервера лицензирования, на RDP клиенте при подключении стала появляться ошибка
The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license
. Решение – удаление ключа L$RTMTIMEBOMB из реестра.

Можете подключиться к RDSH серверу с клиента и проверить, что сервер лицензирования назначил RDS CAL подключению. Откройте консоль Event Viewer и перейдите Applications and Services Logs -> Microsoft -> Windows -> TerminalServices-Licensing -> Operational. Событие успешной выдачи RDS CAL с Event ID 82 будет содержать такую надпись:

The "Temporary"  Windows Server 2022 : RDS Per Device CAL belonging to computer "DESKTOP-S6G9U9C" has been upgraded to "Permanent" Windows Server 2022 : RDS Per Device CAL.

Логи выдачи RDS лицензий в Event Viewer

Управление клиентскими лицензиями CAL на RDS

Рассмотрим несколько типовых инструментов администратора при управлении RDS CAL на сервере лицензирования.
Вы можете в консоли управления RD Licensing Manager отчет об использовании лицензий RDS CAL. Для этого в контекстном меню сервера выберите Create Report -> CAL Usage.

Вывести информацию по установленным и используемым лицензиям RDS CAL с помощью PowerShell:

Get-WmiObject Win32_TSLicenseKeyPack|select-object KeyPackId,ProductVersion,TypeAndModel,AvailableLicenses,IssuedLicenses |ft

rdc licensing cal Win32_TSLicenseKeyPack

Если у вас закончились свободные лицензии, вы можете отозвать ранее выданные лицензии RDS Device CAL для неактивных компьютеров из консоли (правой кнопкой по лицензии и выберите Revoke License.

RDS CAL отозвать лицензию

Также вы можете отозвать RDS CAL с помощью скрипта PowerShell:

$RevokedPCName=”msk-pc2332”
$licensepacks = Get-WmiObject win32_tslicensekeypack | where {($_.keypacktype -ne 0) -and ($_.keypacktype -ne 4) -and ($_.keypacktype -ne 6)}
$licensepacks.TotalLicenses
$TSLicensesAssigned = gwmi win32_tsissuedlicense | where {$_.licensestatus -eq 2}
$RevokePC = $TSLicensesAssigned | ? sIssuedToComputer -EQ $RevokedPCName
$RevokePC.Revoke()

Можно отозвать до 20% Per-Device RDS CALs. Per-User CALs отозвать нельзя.

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Нужна ли переустановка windows при замене оперативной памяти
  • Как узнать частоту озу на windows 10 через командную строку
  • Windows defender сам включается
  • Картинки на рабочий стол телефона windows
  • Сборка windows xp zvercd