Microsoft предлагает всем желающим познакомится с возможностями серверной платформы Windows Server с помощью ознакомительных версий StandardEvaluation или DatacenterEvaluation. Заполнив небольшую форму, вы можете бесплатно скачать ISO или VHD образ с trial версии Windows Server 2022, 2019, 2016 или 2012 R2 c сайта Microsoft Evaluation Center (https://www.microsoft.com/en-us/evalcenter). Такая версия Windows Server предназначена для ознакомления, тестировании или обучения и не может быть использована в коммерческих целях. После установки Windows Server Evaluation у вас есть 180 дней на тестирование ее возможностей.
Если вы умудрились запустить продуктивные задачи на ознакомительной редакции Windows Server Evaluation, есть способ конвертации ее в полноценную full редакцию Windows Server с сохранением данных без полной переустановки операционной системы.
Содержание:
- Продлить срок действия ознакомительного периода Windows Server Evaluation
- Как преобразовать Windows Server Evaluation в полную редакцию?
- Возможные ошибки при конвертации Windows Server Evaluation
Продлить срок действия ознакомительного периода Windows Server Evaluation
При использовании Evaluation версии Windows Server на рабочем столе выводится текущая редакция и время до окончания льготного периода (
Windows License valid for 180 days
).
Также можно получить оставшийся срок действия ознакомительной версии Windows Server с помощью команды:
Slmgr /dli
Имя: Windows, ServerStandardEval edition Описание: Windows Operating System, TIMEBASED_EVAL channel Состояние: имеет лицензию Срок действия активации закончится через: xx мин (xx дней)
Ознакомительный период использования Windows Server Evaluation можно легально продлить 5 раз на 180 дней с помощью команды:
slmgr /rearm
Таким образом максимальный срок использования Windows Server Free Trial можно продлить до 3 лет (
180 * 6
).
По истечении срока пробного периода Windows Server начинает требовать активацию и выключаться через каждый час работы со следующим текстом в журнале событий системы:
Процесс C:\Windows\system32\wlms\wlms.exe (<имя>) инициировал действие "Завершить работу" для компьютера <имя> от имени пользователя NT AUTHORITY\СИСТЕМА по причине: Другое (Запланированное) Код причины: 0x80000000 Комментарий: Истек срок действия лицензии для этой установки Windows. Компьютер завершает работу.
Или:
The license period for this installation of Windows has expired. The operating system will shut down every hour.
Фон рабочего стола при этом становится черным, а в нижнем правом углу уведомление
Windows Licenses is expired
.
Как преобразовать Windows Server Evaluation в полную редакцию?
Microsoft разрешает преобразовать ознакомительную версию Windows Server в полноценную retail Standard/Datacenter редакцию.
Основные ограничения при конвертации:
- Возможна конвертация только в ту же или более высокую редакцию Windows Server. Например, ServerStandardEval можнопреобразоватьв ServerStandard или ServerDatacenter;
- Не рекомендуется выполнять конвертацию сервера с ролью контроллера домена AD. Сначала нужно понизить его для рядового сервера (предварительно передав с него FSMO роли, для чего домене должен быть как минимум один дополнительный DC);
- Если на сервере настроен NIC Teaming, перед обновлением его нужно отключить
Сначала проверьте, что у вас установлена ознакомительная версия Windows Server и текущую редакцию:
DISM /online /Get-CurrentEdition
Выведите список редакций Windows Server, до которых можно обновить текущую Eval версию:
DISM /online /Get-TargetEditions
Editions that can be upgraded to: Target Edition : ServerStandard Target Edition : ServerDatacenter
Таким образом вы можете обновить вашу ServerStandardEval до ServerDatacenter или ServerStandard.
Определите вашу версию Windows Server с помощью команды PowerShell:
Get-ComputerInfo | select OsName, WindowsEditionId
Можно выполнить конвертацию как полной GUI версии Windows Server, так и версии Windows Server Core.
Для конвертации ознакомительной версии Windows Server в полноценную нужно использовать общедоступный KMS client setup ключ (или Generic Volume License Key, GVLK) для вашей версии и редакции Windows Server. Полный список ключей для всех версий Windows Server доступен на сайте Microsoft по ссылке Key Management Services (KMS) client activation and product keys. Полный список ключей указан в таблице ниже:
OS version/Edition | Standard | Datacenter |
Windows Server 2022 | VDYBN-27WPP-V4HQT-9VMD4-VMK7H | WX4NM-KYWYW-QJJR4-XV3QB-6VM33 |
Windows Server 2019 | N69G4-B89J2-4G8F4-WWYCC-J464C | WMDGN-G9PQG-XVVXX-R3X43-63DFG |
Windows Server 2016 | WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY | CB7KF-BWN84-R7R2Y-793K2-8XDDG |
Windows Server 2012 R2 | D2N9P-3P6X9-2R39C-7RTCD-MDVJX | KNC87-3J2TX-XB4WP-VCPJV-M4FWM |
В данном случае мы хотим выполнить апгрейд Eval редакции до Retail версии Windows Server 2022 Standard. Найдите и скопируйте GVLK ключ для этой версии и редакции Windows Server из таблицы и выполните команду:
dism /online /set-edition:ServerStandard /productkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /accepteula
Если нужно сконвертировать ОС в редакцию Datacenter, нужно использовать параметр
/set-edition:ServerDatacenter
и соответствующий GVLK из таблицы.
Перезагрузите компьютер и проверьте, что ваша Eval редакция Windows Server преобразовалось в полноценную retail.
Теперь нужно активировать ваш Windows Server. Если у вас развернут собственный сервера KMS активации, нацельте ваш хост на него и выполните активацию:
slmgr /skms msk-man02.winitpro.ru:1688
slmgr /ato
Если у вас есть MAK, Retail или OEM ключ для Windows Server, вы можете активировать ОС как обычно: через Интернет или по телефону.
Удалите текущий GVLK ключ:
slmgr.vbs /upk
slmgr.vbs /cpky
Задайте ваш MAK или retail ключ
slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Активируйте Windows Server:
slmgr.vbs /ato
Проверьте, что Windows активирована:
Get-CimInstance SoftwareLicensingProduct -Filter "Name like 'Windows%'" | where { $_.PartialProductKey } | select Description, LicenseStatus
LicenseStatus = 1
– указывает, что Windows активирована.
Возможные ошибки при конвертации Windows Server Evaluation
Некоторые пользователи жалуются, что иногда при выполнении команды DISM /set-edition она зависает на 10%. Если команда зависла более чем на 20 минут, рекомендуем остановить службу Software Protection Service (Защита программного обеспечения) командой
Stop-Service sppsvc -Force
и ограничить доступ ОС в Интернет (можно просто отключить сетевой интерфейс на сервере).
Возможные ошибки DISM:
-
Error 1168. The specified product key could not be validated. Check that the specified product key is valid and that it matches the target edition.
— Указывает на то, что вместо публичного GVLK ключа, вы указали в команде DISM ваш собственный MAK или Retail ключ. При конвертации всегда используйте GVLK ключ Microsoft, потом вы его замените на ваш собственный ключ продукта; -
The current edition cannot be upgraded to any target editions
— значит вы пытаетесь конвертировать Datacenter редакцию в Standard. Такое направление обновления не поддерживается. -
Error: 50. Setting an Edition is not supported with online images
или
Changing this Windows edition is not supported online for a domain controller
— скорее всего говорит о том, что на сервер развернута роль контроллера домена Active Directory (роль AD DS). Конвертация редакции Windows Server на DC не поддерживается. -
This Windows image cannot upgrade to the edition of Windows that was specified. The upgrade cannot proceed. Run the /Get-TargetEditions option to see what edition of Windows you can upgrade to
— ошибка появляется если вы попытаетесь преобразовать Windows Server Evaluation Datacenter в Standard. Мы уже раньше писали, что нельзя обновить Eval Datacenter до Standard. Вам нужно преобразовать редакцию ServerDatacenterEval в ServerDatacenter. Укажите в команде DISM KMS ключ для Datacenter редакции Windows Server.
Заходим на сервер через RDP. В строке поиска возле “Start” («Пуск») пишем «Command Prompt» чтобы могли открыть командную строку.
Теперь в открытой командной строке вводим:
slmgr /ipk <product key>
Где <product key> это ключ активации windows. Они разные для каждой версии. В нашем примере используется windows server 2022.
Вы можете увидеть ошибку:
Error: 0xC004F069 On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0xCoo4F069’ to display the error text.
Тогда необходимо выполнить команду:
Dism /online /Set-Edition:ServerStandard /ProductKey:<product key> /AcceptEula
Где <product key> используем наш от Evaluation версии. Также потребуется перезагрузку. Соглашаемся.
После перезагрузки снова запускаем Command Prompt и выполняем:
slmgr /ipk <product key>
и потом уже активируем командой:
slmgr /ato
Все! Пробная версия windows активирована на 180 дней и теперь наш сервер не будет отключаться каждый час.
Проверить активацию можно командой:
slmgr /xpr
Ключи для активации Windows Evaluation:
Windows Server 2019 Standard N69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2022 Standard VDYBN-27WPP-V4HQT-9VMD4-VMK7H
Windows Server 2025 Standard TVRH6-WHNXV-R9WG3-9XRFY-MY832
Для Windows 10, Windows 11 и других версий ключ Вы можете взять по ссылке
Introduction
Activating your Windows Server is crucial to unlock its full potential and avoid any limitations that come with the evaluation version. In this guide, we will show you how to convert an evaluation version to a retail version and activate it using a license key.
Understanding slmgr and dism
Both slmgr and dism are command-line tools used for different aspects of managing Windows operating systems, including licensing and activation. Here’s a breakdown of their uses and differences:
slmgr (Software Licensing Management Tool)
slmgr is primarily used for managing Windows licensing and activation.
Common commands:
- Installing a product key: slmgr /ipk <product-key>
- Activating Windows: slmgr /ato
- Checking license status: slmgr /dlv
- Extending the evaluation period: slmgr /rearm
Use Case: Use slmgr tool when you need to manage the licensing aspects of Windows, such as installing a product key, activating the system, checking the license status, and extending the evaluation period.
dism (Deployment Imaging Service and Management Tool)
dism is used for servicing and preparing Windows images, including adding and removing features, updating packages, and converting Windows editions.
Common commands:
- Converting Windows editions: dism /online /set-edition: /productkey: /accepteula
Use Case: When you need to convert the Windows Server edition from evaluation to a retail version or perform more advanced servicing tasks on the operating system, dism is the appropriate tool. You need to use the dism tool to convert the evaluation version to the retail version first, and then use slmgr to activate it.
Prerequisites
Before we begin, ensure you have the following:
- An evaluation version or retail version of Windows Server installed. In this example, we choose Windows Server 2019.
- A valid standard license key.
- Administrative privileges on the server.
Let’s get started!
Section 1: Activating a Retail Version
If you already have a retail version of Windows Server 2019 installed:
Step 1: Open Command Prompt as Administrator
Open the Command Prompt with administrative rights. Press Win + X, then select “Command Prompt (Admin)”. This ensures that you have the necessary permissions to make changes to the system.
Step 2: Install the License Key
Run the following command to install the product key:
slmgr /ipk <your-license-key>
Replace <your-license-key> with your actual license key.
Step 3: Activate the Server
Run the following command to activate the server:
slmgr /ato
You should see a confirmation message if the activation is successful.
Section 2: Converting an Evaluation Version to Retail
If you have an evaluation version of Windows Server, you need to convert it to the retail version first. Here is how you do it:
Step 1: Open Command Prompt as Administrator
Open the Command Prompt with administrative rights. Press Win + X, then select “Command Prompt (Admin)”. This ensures that you have the necessary permissions to make changes to the system.
Step 2: Convert the Evaluation Version to a Retail Version
Run the following command to convert the evaluation version:
dism /online /set-edition:ServerStandard /productkey:<your-license-key> /accepteula
Replace <your-license-key> with your actual license key. The server will need to restart after running this command.
Step 3: Verify the Installation
After the server restarts, check the version to ensure it’s now the standard edition:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
- systeminfo : this command generates a details report about the system configuration.
- /B : the /B switch specifies that the search pattern must match the beginning of a line.
- /C:”OS Name” and /C:”OS Version” : it tells findstr to search for the exact strings “OS Name” and “OS Version”.
Step 4: Activate the Server
Run the following command to activate the server:
slmgr /ato
You should see a confirmation message if the activation is successful.
Section 3: Extending the Evaluation Period
If you still using the Evaluation Edition of Windows Server and decide not to convert immediately, you can extend the evaluation period.
Step 1: Check the Current License Status
To check how much time is left in your evaluation period, run:
slmgr /dlv
This will display detailed license information, including the remaining evaluation period. See screenshot below:
From the image we can see that :
- Notification Reason: 0xC004FC07: the evaluation period for this Windows Server Standard Evaluation edition has expired.
- Remaining Rearm Count: 6 , this indicates the number of times the system can be reactivated before requiring a valid product key.
Step 2: Extend the Evaluation Period
To extend the evaluation period, run:
slmgr /rearm
This command resets the evaluation timer. Note that you can only use this command up to five times. After running the command, restart your server.
Step 3: Verifying the Extension
After restarting, you can verify the new evaluation period by running:
slmgr /dlv
Check the output to ensure the evaluation period has been extended. In the following screenshot, you see the License Status is Licensed with the remaining Windows rearm count is 5.
Troubleshooting
If you encounter any issues, here are some common problems and solutions:
- License key errors: Double-check the key and ensure it’s valid for Windows Server 2019.
- Activation failures: Ensure your server has internet access and try again. If the issue persists, contact Microsoft support.
- Evaluation period extension issues: Make sure you haven’t exceeded the maximum number of re-arms (5 times).
Conclusion
That’s it, activating Windows Server 2019 and managing the evaluation period is straightforward with the right commands. Make sure your server is properly licensed to take full advantage of its features. For more information, check out the official Microsoft documentation and support resources.
How to download Windows Server 2019 Evaluation, convert it to Standard, and activate it.
Read this guide.
Steps
1. Download and Install
Download the ISO here:
https://software-download.microsoft.com/download/sg/17763.379.190312-0539.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso
Flash it using WoeUSB on Linux or Rufus on Windows.
Follow the installation steps.
2. Change the Edition
You should be able to change the edition using DISM.
Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C
Product key taken from: https://github.com/SystemRage/py-kms/wiki/Windows-GVLK-Keys#windows-server-2019
Reboot when it’s done changing the base package.
3. Install the KMS key
Installing the KMS key ensures that the server is activated and stays activated. KMS only manages activation of the server and nothing else, so don’t worry about some remote security flaw bullshit.
Change Directory to System32 if not already in.
cd C:\windows\system32
Uninstall the current product key.
cscript //nologo slmgr.vbs /upk
Install the new one.
cscript //nologo slmgr.vbs /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
Set target KMS server (I use kms8.msguides.com because in my experience it’s reliable).
cscript //nologo slmgr.vbs /skms kms8.msguides.com
Activate your product. If it does not work wait 5 minutes and try again. Do this twice if it doesn’t work. If it still doesn’t work please ask in the comments.
cscript //nologo slmgr.vbs /ato
4. ??
???
5. Profit
You just activated Windows Server at $0 cost. Note that I do not know if this actually works as I have not waited 180 days to see if it fails.
After the Server installation with a file from our Download-Center or from the Microsoft website, you might have installed the „Evaluation“ version. Please look into your system information to confirm if you have installed the “Standard Evaluation“, “Standard“ or “DataCenter“ Version. If you have a „Evaluation“ Version just follow this upgrade guide. If you have the full version like “Windows Server Standard” or “Windows Server DatacCnter” installed follow the key activation guide.
Upgrade guide: #
For the activation of the your Server Version you first need to upgrade it to the “Windows Server“ Version you want. Therefore, you need to use the generic key for the desired version.
Open the command line / CMD with administrator rights and input the following line:
dism /online /get-targeteditions
After that input one of the following lines with the generic key, that matches the Server version you want:
Server Version | Command with generic key |
Windows Server 2012 R2 Essentials | dism /online /set-edition:serverEssentials /productkey:K2XGM-NMBT3-2R6Q8-WF2FK-P36R2 /accepteula |
Windows Server 2012 R2 Standard | dism /online /set-edition:serverStandard /productkey:DBGBW-NPF86-BJVTX-K3WKJ-MTB6V /accepteula |
Windows Server 2012 R2 Datacenter | dism /online /set-edition:serverDatacenter /productkey:Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW /accepteula |
Windows Server 2016 Essentials | dism /online /set-edition:serverEssentials /productkey:JCKRF-N37P4-C2D82-9YXRT-4M63B /accepteula |
Windows Server 2016 Standard | dism /online /set-edition:serverStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula |
Windows Server 2016 Datacenter | dism /online /set-edition:serverDatacenter /productkey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /accepteula |
Windows Server 2019 Essentials | dism /online /set-edition:serverEssentials /productkey:WVDHN-86M7X-466P6-VHXV7-YY726 /accepteula |
Windows Server 2019 Standard | dism /online /set-edition:serverStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /accepteula |
Windows Server 2019 Datacenter | dism /online /set-edition:serverDatacenter /productkey:WMDGN-G9PQG-XVVXX-R3X43-63DFG /accepteula |
Windows Server 2022 Standard | dism /online /set-edition:serverStandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula |
Windows Server 2022 Datacenter | dism /online /set-edition:serverDatacenter /productkey:WX4NM-KYWYW-QJJR4-XV3QB-6VM33 /accepteula |
The system might reboot multiple times. After the upgrade is finished, you can input the key.
Key activation guide: #
Input the key in the system informations suppoint activation.
Open the command line and input the key with the following line. But you need to exchange the „AAAAA-BBBBB-CCCCC-DDDDD-EEEEE“ with your actual key from us:
slmgr /ipk AAAAA-BBBBB-CCCCC-DDDDD-EEEEE
Now you should have a working and activated Windows Server. It might take some time for the activation to be shown. If the command line outputs an error, please wait some time and reboot the system. Then look in the system information if the Windows is activated.
If it still does not work with this instruction, please send us screenshots with the error messages.