Windows server 2012 grace period

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)

How to reset the Remote Desktop Server Licensing Grace Period on Windows Server 2012 with Remote Desktop Services

So we recently started looking into Terminal Services and RemoteFX to power some of our admin users and move them off to thin clients instead of full blown desktops. As a trial I begun setting up RDS on one of our Dev machines. After going through the motions of enabling the Remote Desktop Features and setting up RemoteFX on a Virtual Machine for testing, I found that I couldn’t login via RDP to that machine. Going back to the RDS host I found the Licensing popup that informed me that the 128 day trial license had expired. Since this was a test I didn’t want to go using keys to activate or setup a licensing server (purely a PoC for us in IT at this stage).

To reset the grace period there is a registry key that we need to delete. As always when editing the registry, take a backup of the key/s you’re modifying. Navigate to the following location

HKEY_LOCAL_MACHINESYSTEMCurrentControlSet

ControlTerminalServerRCMGracePeriod

Now there should be a binary key value,

you first need to have full access permissions to the folder (or take ownership) and then simply delete that value and reboot the server. Once back up your RDS Licensing should be back at the start of a 120 Day grace period. You should see the message changing at the taskbar area….

I wouldn’t do this if you have already obtained licensing and should definitely not be used in a production environment.

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

В данной статье мы рассмотрим способ сброса данного льготного периода.

1. Переходим в редактор реестра. Для этого нажимаем сочетание клавиш WIN+R и вводим regedit. В редакторе реестра открываем раздел:

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

Сброс льготного периода терминального сервера Windows

2. После этого нажимаем правой кнопкой мыши на раздел GracePeriod и переходим в Разрешения

Сброс льготного периода терминального сервера Windows

3. В появившемся окне нажимаем Дополнительно

4. Далее нам потребуется сменить владельца раздела и разрешить ему полный доступ. Для смены владельца нажмите на Изменить в поле Владелец.

Сброс льготного периода терминального сервера Windows

5. В качестве владельца раздела установим группу Администраторы. Нажав кнопку Проверить имена можно сделать проверку наличия этой группы — если она существует, то имя группы станет подчеркнутым. Нажимаем ОК для сохранения изменений.

Сброс льготного периода терминального сервера Windows

6. Для выхода из дополнительных параметров безопасности еще раз нажимаем ОК, чтобы сохранить внесенные изменения. Затем в окне разрешений выбираем группу Администраторы и ставим галочку для разрешения полного доступа. Также нажимаем ОК и возвращаемся в открытый раздел в редакторе реестра.

7. Теперь в редакторе реестра нам необходимо удалить параметр L$RTMTIMEBOMB_<…>. Для этого нажимаем на него правой кнопкой мыши и выбираем Удалить. Если на предыдущих шагах вы корректно сменили владельца и назначили права, то удаление произойдет без проблем.

Сброс льготного периода терминального сервера Windows

8.Закрываем редактор реестра и перезагружаем сервер для применения изменений.

9. Для проверки того, что льготный период сбросился, вы можете воспользоваться командной строкой. Для этого нажмите сочетание клавиш WIN+R, введите cmd, после этого в открывшемся окне выполните команду:
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !=»») CALL GetGracePeriodDays

Сброс льготного периода терминального сервера Windows


Windows Server

  • 01.01.2021
  • 73 512
  • 4
  • 67
  • 67
  • 0

Сброс тестового периода для терминального сервера Windows

  • Содержание статьи
    • Описание проблемы
    • Сброс пробного периода
    • Комментарии к статье ( 4 шт )
    • Добавить комментарий

Описание проблемы

Описанный ниже способ является нарушением лицензионного соглашения! Используйте его на свой страх и риск!

Основанные на Windows терминальные сервера (сервера удаленных рабочих столов, и т. д.) требуют приобретения дополнительных лицензий, в противном случае терминальный сервер будет работать с пробном режиме — без каких-либо ограничений по функционалу, но только первые 180 дней. После того, как пройдут 180 дней, подключится к такому серверу пользователям не получится, поскольку он будет ругаться на отсутствие лицензий.

Сброс пробного периода

Поскольку при подключении удаленно к такому серверу будет появлятся ошибка об отсутствии лицензий на подключения к серверу, подключаться к нему будет возможно только через консольный сеанс — для этого, необходимо выполнить команду mstsc /admin.

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

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

В данном разделе реестра необходимо удалить значение реестра с названием начинающимся на L$RTMTIMEBOMB..., однако, скорее всего ничего не выйдет, поскольку по умолчанию у пользователей компьютера нет прав на внесение изменений в данном разделе. Для исправления данного недоразумения, необходимо открыть разрешения данного раздела, и сменить его владельца на Администраторы.

Делается это следующим образом:

  1. На нужном разделе реестра нужно нажать правой кнопкой мыши, и в появившемся меню выбрать пункт «Разрешения».
  2. Откроется список разрешений. В нем нужно нажать на кнопку «Дополнительно».
  3. Откроются дополнительные параметры, где в самом верху будет написан владелец, а рядом будет кнопка «Изменить». Нажимаем на неё.

  4. Откроется окошко, где нужно будет ввести имя группы администраторов — например «Administrators». Для корректировки названия в понятный системе формат следует нажать на кнопку «Проверить имена».

    Если все будет правильно, система подчеркнет название группы, после чего остается только выйти из всех ранее открытых окон, нажимая кнопки «ОК» (для применения новых разрешений).

После этого, остается только удалить значение реестра с названием L$RTMTIMEBOMB..., после чего перезагрузить сервер. Если все было сделано правильно, то пробный период будет активирован по новой, и пользователи смогут работать на данном сервере как раньше.

You are currently viewing Reset/Extend 120 Days RDS Grace Period on Windows Server 2012/2016

Friends If you have installed an Remote desktop service on you Server 2008/2012/2016 or 2019 and you haven’t purchased license for RDS and your RD Services is running on grace period and now the Remote desktop service licensing grace period has expired, then what to do? how to reset the 120 days grace period.

So in this today’s article I’ll explain you step by step how you can reset or extend your 120 days Remote desktop service (RDS) licensing grace period.

So, As you all know when you install the Remote desktop service (RDS) on your Server 2008/2012/2016 or 2019 then you have 120 days to install the RD client access licenses, otherwise users will no longer be able to establish Remote desktop service (RDP) sessions on the Remote Desktop server, with error “The remote desktop session was disconnected because there are no Remote Desktop License servers available to provide a license”.

Also Check This :- Windows Server 2016 Activation script or Txt file

How To Reset or Extend Remote Desktop Services 120 Days Grace Period

  • So, First of all you have to open Registry Editor on your server, to open the Registry editor Press W + R and then type Regedit.exe

Open Regedit.exe to edit Registry

  • Then Click on HKEY_LOCAL_MACHINE —> SYSTEM —> CurrentControlSet —> Control —> Terminal Server —> RCM —> Grace Period
  • Now Right click on the Grace Period option and select Permissions option.

Change Permission to delete old Grace Period

  • Then click Advanced option.
  • Now Select the Administrators option and click on Edit Button.

Reset 120 days Remote Desktop grace period

  • And Change the permissions to Full Control and click OK —> OK —> OK .
  • Then Right click on L$RTMTIMEBOMB… value and Delete it.

Reset Remote Desktop grace period

  • Then Close the Registry Editor and restart your Server.

Also Check This :- How to Configure Outlook with IMAP or Pop

Now after restarting the server, you have once again got a grace period of 120 days. Or we can say that we have extended our grace period or we have reset our grace period to use RDS for free without purchasing a license. But I suggest you to Purchase RDS License, Because Extending or Resetting the Grace period is temporary solution.

If you Face any Trouble while Extending or Resetting your 120 Days Grace Period then Simply Comment Below We will definitely help you.

Tags: extend remote desktop service grace period, how to access RDP Server, how to extend RDP Grace period, how to extend RDS Grace Period, how to reset RDP grace period, how to reset RDS 120 days Grace period, how to reset RDS grace period, RDP Server not accessible, RDS server 120 days Grace period extend, RDS Server grace period, remote desktop connection issue, remote desktop grace period, Remote Desktop License servers not available, remote desktop licensing mode not configured, remote desktop server license issue, remote desktop session, Reset Remote Desktop grace period, reset remote desktop service grace period

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Autodesk genuine service 2021 как удалить windows 10
  • Run windows programs on linux
  • Программа для удаления шрифтов в windows 10
  • Apple driver iphone windows
  • Мышка apple magic mouse для windows