banner



How To Restart Rdp Service Windows Server 2012

When you home lab and you lot don't have Microsoft license for RDS, yous have 2 options. Reinstall the server (redeploy the VM) or cheat a bit. Yeah, in fact, there is absurd hack which allows yous to reset the 120 day grace menses on Windows Server 2012 R2 RDS, and nosotros'll testify yous how. I similar doing posts which shows some cool hacks, and this is exactly this kind of post –How To Reset 120 Twenty-four hour period RDS Grace Period on 2012 R2 Server.

Normally you would need to actuate the RDS/TS CAL License server and betoken the Server to License server with User/Device License and volition resolve the problem. However, we don't want to practice 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 volition do is only reset the default timer which is 120 days grace time, when you first add the RDS role. In fact, you practice 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 information technology.

Annotation: This tip works as well on Windows Server 2016

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

Plainly, you won't do this in a production environs, considering your production environs is covered with a proper license. Right? Ok, this is conspicuously for labs, tests, cloud tests etc…

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

Footstep ane: Connect to your RDS Server as an admin and open up regedit.

Navigate to the post-obit key:

Server 2012 RDS Reset 120 Day Grace Period

The solution is to delete the REG_BINARY in:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Final Server\RCM\GracePeriod

It's chosen a "TimeBomb" … -:)

Note: You lot must first have an ownership and give admins the total rights.

Like this:

*********************************************************************

EasyVirt DC Telescopic for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.

  • Tracks the performance of VMs with a summary view of the resources and metrics in degradation.
  • Easily ameliorate the performance of your infrastructure.
  • DC Scope is affordably priced per VM.

*********************************************************************

Go to menuEdit > Permissions

Server 2012 RDS Reset 120 Day Grace Period

In one case you delete the Registry fundamental you must reboot the host. Some users take reported that when non rebooting the host you lot will meet the bulletin irresolute, merely no connections are possible.

Update: Well, in fact, you tin can merely restart the Service "Remote Desktop Services" which will momentarily disconnect all the agile sessions and then after a minute or and so you can reconnect to the sessions.

You should run across the message irresolute at the taskbar area….

Note that you have likewise a possibility to check how many days its left… Become to the control prompt and enter this command (non tested).

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

Apparently, you can delete this central every time it expires ….. indefinitely. Wow. That'south proficient to know besides.

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

Second Tip:

Update: The Microsoft'southward script was taken down. I take been contacted by someone (await at the comments department) who has published an alternative. Get information technology here.

Download a PowerShell script from Microsoft assuasive you to reset the RDS grace catamenia.

Quote from Microsoft Technet:

The PowerShell script can exist used to query and reset final server grace period to default 120 days if it is nearing to the end. Nosotros ofttimes demand to deploy Terminal Server (Remote Desktop Session Host in 2012) for testing purposes in evolution environments allowing more than 2 concurrent Remote Desktop Sessions on it. When information technology is installed, by default if no RDS or TS Licensing server is specified via either GPO or Registry, it is in default Grace flow 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 car using Physical/Virtual console depending on Physical or Virtual machines or endeavor to make it usingmstsc /admin ormstsc /console, and then remove the function completely and restart the terminal server (RDS Server) and post that it starts accepting default two RDP sessions.

In the comment section, at that place was a user who affirmed that he verified information technology on Windows Server 2016 too and information technology 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 – v Peak Tips
  • VMware vCSA 6.7 Appliance Backup Setup and Schedule
  • Windows Admin Middle Update – New Features in latest build
  • Free Up Deejay Space On Windows x – The New Way

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

Source: https://www.vladan.fr/how-to-reset-120-day-rds-grace-period-on-2012-r2-server/

Posted by: morrismenced.blogspot.com

0 Response to "How To Restart Rdp Service Windows Server 2012"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel