Сброс активации windows server 2012

По-умолчанию при установке систем семейства ОС Windows, активируется лицензия пробного периода, для серверных ОС (прим. 2008,2008R2,2012,2012R2) сроком на 180 дней, для рабочих станций (прим. 7,8,10) сроком на 30 дней.

По прошествии срока действия пробного периода, необходимо произвести активацию системы. Но если вы не готовы этого сделать, то можно продлить пробный период лицензии (для рабочий станций на 30 дней, для серверных систем на 180 дней), при помощи встроенной утилиты Software License Manager.

Рассмотрим продление срока пробного периода на Windows Server 2012 R2. Видим что пробный период закончится через 13 дней.

Запускаем командную строку от администратора.

Чтобы посмотреть срок окончания льготного периода, вводим команду:

slmgr /xpr

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

slmgr /dli

Чтобы продлить срок пробного периода, вводим команду и перезагружаем систему:

slmgr /rearm

Срок действия лицензии пробного периода успешно выполнен, мы видим что теперь он равен 180 дней.

[stextbox id=’warning’]Такого рода продление\сброс лицензии пробного периода системы, можно делать 3 раза, после чего все же придется выполнить активацию системы.[/stextbox]

 

ПОНРАВИЛАСЬ ИЛИ ОКАЗАЛАСЬ ПОЛЕЗНОЙ СТАТЬЯ, ПОДДЕРЖИ АВТОРА ДОНАТОМ

After Window Server evaluation period has expired , you will found out unexpected behavior for your machine like unexpected Shutdown / Restart every one hour approximately !

Windows License is expired Build 9600

Windows License is expired

In this case, you only have two options:

  • Purchasing a new Windows Key, activate windows through Go to PC  Settings“.
  • Extend Window Server evaluation period has expired .

Note :  The windows will notify you with the following message.

Your Windows license will expire soon.

Your Windows license will expire soon

Before 12 days of Windows Server 2012 license Expiration to activate Windows.

Windows License valid for days

In this hint, I will elaborate How to Extend Windows Server Evaluation Period by following the bit mentioned steps below:

Steps:

  • Open Command Prompt as Administrator.
  • Reset the licensing status of machine by typing the following command
    • slmgr.vbs /rearm“.

rearm Windows Evaluation Period

  • Restart the server.
  • The Windows Evaluation Period should now be extended to additional 180 days.
  • After Server restart , wait a moment and you will find the license has been extended successfully.

Extend Windows Server 2012 Evaluation Period

Regarding Windows Server 2008

  • Follow the above-mentioned steps with the following changes.
    • The command will be slmgr.vbs -rearm instead of slmgr.vbs /rearm.
    • The command will extend windows evaluation period to additional 60 days,  that can be used again for three times.

Enjoy 🙂

I already posted short tutorial in a article where I left other useful resources for Windows Server 2012 R2 Evaluation – https://www.informaticar.net/?p=2422 but since I get this question asked a lot of times from my colleagues, I will make a separate article of it.

So, your Windows Server 2012 R2 Evaluation is shortly expiring, but you still need that LAB and cannot afford to reinstall OS and setup all again.

There is a solution. Windows Server 2012 R2 Evaluation lasts for 180 Days. You can rearm it 5 times. So that is 900 days in total.

You get this message when you load your Windows Server 2012 R2 Evaluation

You have a few days until Evaluation Expires

Run Command Prompt with Administrator Privileges and run following command:

 slmgr.vbs -rearm

Reboot your Windows Server 2012 R2 Evaluation installation

After reboot…

There you go, you have fresh 180 days to test on your disposal.

Disclaimer

When you home lab and you don’t have Microsoft license for RDS, you have two options. Reinstall the server (redeploy the VM) or cheat a bit. Yes, in fact, there is cool hack which allows you to reset the 120 day grace period on Windows Server 2012 R2 RDS, and we’ll show you how. I like doing posts which shows some cool hacks, and this is exactly this kind of post – How To Reset 120 Day RDS Grace Period on 2012 R2 Server.

Normally you would need to activate the RDS/TS CAL License server and point the Server to License server with User/Device License and will resolve the problem. However, we don’t want to do that because we have no license from Microsoft, in our lab. (and many other IT pros who test stuff in the lab too).

What we will do is simply reset the default timer which is 120 days grace time, when you first add the RDS role. In fact, you do not need to reboot the server either. Simply log out and back in and the message changes from let’s say 54 days left to 120 days left. And that’s it.

Note: This tip works also on Windows Server 2016

For every admin who runs homelab or has a cloud lab, this is a must known hack.

Obviously, you won’t do this in a production environment, because your production environment is covered with a proper license. Right? Ok, this is clearly for labs, tests, cloud tests etc…

How To Reset 120 Day Grace Period on 2012 R2 Server RDS – The Steps

Step 1: Connect to your RDS Server as an admin and open regedit.

Navigate to the following key:

Server 2012 RDS Reset 120 Day Grace Period

The solution is to delete the REG_BINARY in:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod

It’s called a “TimeBomb” … -:)

Note: You must first take an ownership and give admins the full rights.

Like this:

Go to menu Edit > Permissions

Once you delete the Registry key you must reboot the host. Some users have reported that when not rebooting the host you will see the message changing, but no connections are possible.

Update: Well, in fact, you can just restart the Service “Remote Desktop Services” which will momentarily disconnect all the active sessions and then after a minute or so you can reconnect to the sessions.

You should see the message changing at the taskbar area….

Note that you have also a possibility to check how many days its left… Go to the command prompt and enter this command (not tested).

wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !=””) CALL GetGracePeriodDays

Apparently, you can delete this key every time it expires ….. indefinitely. Wow. That’s good to know too.

This is it my friends. Today’s tip for home labs.

Second Tip:

Update: The Microsoft’s script was taken down. I have been contacted by someone (look at the comments section) who has published an alternative. Get it here.

Download a PowerShell script from Microsoft allowing you to reset the RDS grace period.

Quote from Microsoft Technet:

The PowerShell script can be used to query and reset terminal server grace period to default 120 days if it is nearing to the end. We often need to deploy Terminal Server (Remote Desktop Session Host in 2012) for testing purposes in development environments allowing more than 2 concurrent Remote Desktop Sessions on it. When it is installed, by default if no RDS or TS Licensing server is specified via either GPO or Registry, it is in default Grace period which is 120 days and it works fine until then.

Once Grace period expires, the server does not allow even a single Remote Desktop session via RDP and all we are left with is to logon to the Console of machine using Physical/Virtual console depending on Physical or Virtual machines or try to get in using mstsc /admin or mstsc /console, then remove the role completely and restart the terminal server (RDS Server) and post that it starts accepting default two RDP sessions.

In the comment section, there was a user who affirmed that he verified it on Windows Server 2016 as well and it works just fine. With that, stay tuned for more.

More from ESX Virtualization:

  • Windows Server 2019 Announced
  • What is Veeam Availability Orchestrator?
  • V2V Migration with VMware – 5 Top Tips
  • VMware vCSA 6.7 Appliance Backup Setup and Schedule
  • Windows Admin Center Update – New Features in latest build
  • Free Up Disk Space On Windows 10 – The New Way

Subscribe to RSS, and social media channels (Twitter, FB, YouTube)

Добрый день всем! Суть проблемы, на сервере AD закончился три попытки сброса триала по 120 дней, можно ли что нить сделать чтобы обнулить счетчик или же как перенести все правила и все что есть с него на новый вин серв ? Утильты или вообще гайды ?


  • Вопрос задан

  • 260 просмотров

Активируйте KMS активатором

Пригласить эксперта

А в чём проблема?
Ну выскакивает надпись. Раздражает? Функционал не ограничивает и будет так работать. Хоть несколько лет.
А перетаскивается на раз-два-три.
1. на новой железке (или виртуалке) подымайте новый сервер
2. dcpromo и вводите «в существующий домен»
3. добавляете в DHCP DNS нового сервера
3. Если первый контроллер не является DHCP сервером, то просто вырубаете
А вообще иметь ЕДИНСТВЕННЫЙ контроллер домена это моветон
В интернете инструкций вагон и маленькая тележка

Войдите, чтобы написать ответ


  • Показать ещё
    Загружается…

Минуточку внимания

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Накопительное обновление для windows 10 version 21h2 для систем на базе процессоров x64 что это
  • Как настроить выход из спящего режима windows 10 мышкой
  • Описание всех процессов windows
  • Pchealthcheck что это за папка в windows 10 x64
  • Что будет если активировать windows 10 на пиратке