The Remote Desktop Session Host server is within its grace period

Remote Desktop users sometimes experience an error "Licensing Mode for Remote Desktop Session Host is not Configured" when the RDS host is running in grace period.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to fix Windows related errors.

In this context, we will look at what triggers this error and how to get rid of it.

What trigger the error "Licensing Mode for Remote Desktop Session Host is not Configured" ?

Sometimes, in the process of configuring a new RDSH node in the RDS Windows Server, users might face a warning popup message as shown below;

Remote Desktop licensing mode is not configured.
Remote Desktop Services will stop working in 104 days. On the RD Connection Broker server, use Server Manager to specify the Remote Desktop licensing mode and the license server.

From analyzing the error message, you will see that the Remote Desktop Session[RDS] Host is running in the grace period [during the grace period of 120 days, we can use the Remote Desktop Session Host without activating RDS licenses].

As soon as the grace period ends, users will not be able to connect to the host. If you take a look at tray, you will see an error message such as this;

Remote Desktop Services will stop working because this computer is past grace period and has not contacted at least a valid Windows Server 2012 license server. Click this message to open RD Session Host Server Configuration to use Licensing Diagnosis.

How to fix the error "Licensing Mode for Remote Desktop Session Host is not Configured" ?

By means of an RD Licensing Diagnoser tool "lsdiag.msc", this problem can be diagnosed.

To do this, go to the "Administrative Tools -> Remote Desktop Services -> RD Licensing Diagnoser".

You will see the an error message such as this;

Licenses are not available for the Remote Desktop Session Host server, and RD Licensing Diagnoser has identified licensing problem for the RD Session Host server.Licensing mode for the Remote Desktop Session Host is not configured.

The Remote Desktop Session Host server is within its grace period, but the Session Host server has not been configured with any license server.

This signifies that the administrator do not specify the RDS Licensing Server and/or the licensing mode.

The right way to go is to it after specifying the licensing type while deploying the RDS host.

To check that the RDS license server is set, you can run the following commands via PowerShell;

obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
obj.GetSpecifiedLicenseServerList[]

In a case where the RDS license server is not set,  we can simply specify it by running the command as shown below;

obj.SetSpecifiedLicenseServerList["uk-rdslic1.woshub.com"]

Sometimes, you might not remember server on which the RD License role is installed on. So to display a list of all RDS Licensing servers registered in the Active Directory domain, you need to run the Get-ADObject cmdlet from the PowerShell ActiveDirectory module as shown below;

Get-ADObject -Filter {objectClass -eq 'serviceConnectionPoint' -and Name -eq 'TermServLicensing'}

How to Force set the RDS licensing mode using the registry?

From the registry key "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing" Core you can change the value of the DWORD parameter with the name LicensingMode from 5 to;

2 – if it uses Per Device RDS licensing mode

4 – if it uses Per User licensing

Now you can change the registry setting manually through "regedit.exe" or from the registry management module, you can run the following PowerShell commands;

# Specify the RDS licensing type: 2 - Per Device CAL, 4 - Per User CAL$RDSCALMode = 2# RDS Licensing host name$RDSlicServer = "uk-rdslic1.woshub.com"# Set the server name and type of licensing in the registryNew-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

After the changes is made, simply restart the RDSH server to effect changes.

You can also configure the RDS license server parameters using GPO [a local or a domain policy]. If the RDS server is in a workgroup, it is best to use the local Group Policy Editor "gpedit.msc".

Navigate to "Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing".

To make this work, we need two policies:

i. Use the specified Remote Desktop license servers – enables the policy and specify the RDS license server address. If the license server is running on the same server, type 127.0.0.1

ii. You should set the Remote Desktop licensing mode by selecting the licensing mode. For example, Per User.

After restarting the server, open the "RD Licensing Diagnoser" and check the number of available RDS licenses and the licensing mode.

If it is behind a firewall on the network, then you must open the following ports from the RDSH host to the RDS licensing server – TCP:135, UDP:137, UDP:138, TCP:139, TCP:445, TCP:49152–65535 [RPC range].

Now, check for open ports using the "Test-NetConnection" cmdlet. 

We can open the closed ports on the local Windows Defender Firewall using the PowerShell cmdlets from the NetSecurity module.

Need support in solving licensing mode for the remote desktop session host? We are available to help you today.

"The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server." Set the remote Desktop Licensing mode to per device or per user based on the RDS License that you have purchased. fig. 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. How to fix RDS 2012r2 error: “Licensing mode for the Remote Desktop Session Host is not configured.” Remote Desktop Session Host [RD Session Host] enables a server to host RemoteApp programs or session-based desktops. Licensing Mode for Remote Desktop Session Host is not Configured The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server. The terminal services licensing grace period is about to expire on and the service has not registered with a license server with installed licenses. The annoying thing is, I've set this multiple times and it still keeps saying "Not configured". I'm checking under the RD Licensing Diagnoser to make sure everything is proper and I keep getting this error: "The licensing mode for Remote Desktop Session Host server is not configured." The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server. and: EventID: 1128 Source: TerminalServices-RemoteConnectionManager. Connections to the RD Session Host server will be denied unless a license server is configured for the RD Session Host server. Hey! It appears that even though I have install Session Host, the server is still in Remote Desktop for Administration mode. The licensing mode for the Remote Desktop Session Host server is not configured. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up. The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. In this mode it is not possible to specify a license server or licensing mode. 2. Remote Desktop Services will stop working in xx days. The Remote Desktop Session Host server is within its grace period, but the Session Host server has not been configured with any license server. The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server. If you install Remote Desktop Services [Terminal Server], you have a 120 day grace period to configure a licensing server. How to fix RDS 2012r2 error: “Licensing mode for the Remote Desktop Session Host is not configured.” Remote Desktop Session Host [RD Session Host] enables a server to host RemoteApp programs or session-based desktops. The grace period for the Remote Desktop Session Host server has expired, but the RD Session Host server has not been configured with any license servers. Without a license server configured it will revert to the 120 day grace period you get as standard with a session host. The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. Configuring Windows Server 2012 Remote Desktop Services Licensing involves 2 step process. Still the same issue. Although I have set GPO to specify the Remote Desktop Session Host server and the licensing mode for the Remote Desktop Session Host server I had to manually do these changes on the license server itself using PowerShell. I followed the suggested resolutions, which I did before hand as well. However, one day the time runs out and RDS server breaks all the client connections. Well, that’s not a big deal, you know, because Microsoft provides the 120-day grace period for the platform! While running a Windows Server 2016 Server or Windows Server 2012 R2 with the Remote Desktop Licensing role, you may receive this notification popup in the lower right corner saying “Remote Desktop Licensing Mode is not configured. Remote Desktop Services will stop working in XX days. A RD Licensing server is required for continuous operation. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up. The setting is best applied from Microsoft GPO policy so that it is applied for all the Domain joined machine, or can be applied via local group policy on individual servers having the issue. To re-enable the supplemental grace period, customers must install another retail license, which grants a new 15-day supplemental grace period if and when you exceed the subsequent maximum installed licenses limit. This led me to output all parameters from the Win32_TerminalServiceSetting object. "Remote Desktop licensing mode is not configured. Thanks Until you do so, you will see the error: The licensing mode for the Remote Desktop Session Host is not configured.Here's how to do that: This signifies that the administrator do not specify the RDS Licensing Server and/or the licensing mode. Licensing mode must be configured for continuous operation. On the RD Connection Broker server, use Server Manager to specify the Remote Desktop licensing mode and the license server. And Licensing Mode is set to "Not configured". The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. Set the Remote Desktop licensing mode: This policy setting allows you to specify the type of Remote Desktop Services client access license [RDS CAL] that is required to connect to this RD Session Host server. EVENT_LICENSING_MODE_NOT_CONFIGURED_PAST_GRACE_PERIOD: Message: The RD Licensing grace period has expired and Licensing mode for the Remote Desktop Session Host server has not been configured. License servers that are installed on domain controllers in the same domain as the RDS host. The grace period for the Remote Desktop Session Host server has expired, but the RD Session Host server hasn't been configured with any license servers. Unless licensing is configured during the initial installation of the Remote Desktop Services role on Windows Server 2008 R2, a 120 day grace period is provided before a license server needs to be installed and activated. Remote Desktop Services [formerly Terminal Services] provides a licensing grace period during which users are able to establish Remote Desktop sessions on an RD Session Host server without valid RDS CALs having been installed on an RD license server. At start it said the licensing mode for the server is not configured and its entering grace period [120 days left]. Users can connect to RD Session Host servers in a session collection to run programs, save files, and use resources on … Continue reading Licensing mode for the Remote … This problem occurs if a Remote Desktop license server is unavailable to provide a license to start a remote session. You can use this policy setting to select one of two licensing modes: Per User or Per Device. 2. If not you will need to set one up, but it can be used to serve existing 2008 RDS servers if you wanted to consolidate everything onto one server. Error: Remote Desktop licensing mode is not configured.Remote Desktop Services will stop working in XX days. This can be configured by using either the Local Group Policy editor or the Group Policy Management console. The supplemental grace period is not automatically re-enabled once it completes. The group policy setting the Remote Desktop licensing mode is located in: Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing . Sometimes, guys running home labs do not have licenses for Remote Desktop Services [RDS]. Licensing Mode - Not configured Warnings: "The licensing mode for the Remote Desktop Session Host server is not configured." These events indicate that the terminal server has not yet registered with a license server and the grace period will be expiring soon [ID 1009] or has already expired [ID 1008]. What part of licensing am I mssing A RD Licensing server is required for continuous operation. I've recently deployed Windows Server 2019 RD Session Host for Windows Virtual Desktop. 1. If you disable or do not configure this policy setting, the RDS host uses the license server discovery mode specified in the Remote Desktop Session Host Configuration tool. License servers that are published in Active Directory Domain Services. The licensing mode for the Remote Desktop Session Host server is not configured. To specify a license server for the Remote Desktop Session Host server, use the Remote Desktop Session Host Configuration tool. fig.1. “Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server” To activate the licenses or better to hook the RDS service to the already inserted licenses you must launch GPEDIT.MSC and go to: Once Grace period expires, the server does not allow even a single Remote Desktop session via RDP and all we can do is 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 and it starts accepting default two RDP sessions. 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. ... double click on the Remote Desktop licensing mode entry located in the Edit settings box listed under Licensing. The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server. Suggested Resolution 2: Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server Hi russellrussel, I think that you just have to specify the Remote Desktop Licensing server and License Mode on your Remote Desktop Session Host [on W2012 R2 server] and then the problem will be fixed. This is how I discovered the root cause for the limitation. Connections to the RD Session Host server will be denied unless a license server is configured for the RD Session Host server. License server is not available. It can be caused by several scenarios, even though a Remote Desktop Session Host role was set up on the VM: There was never a Remote Desktop licensing role in the environment, and the grace period, 180 days, is over. Remote Desktop Services will stop working because this computer is past its licensing grace period...." So it seems that after setting up the Remote Desktop Services role, for some odd reason the licensing stopped working. Remote Desktop licensing mode is not configured.

Otaku Desu Apk, Southbury, Ct Online Land Records, Da Form 5790, Green Dot Direct Deposit Time, Who Killed Tony In Queen Of The South, Cashing A Money Order, Lake Charles Lng, Bl2 Best Badaboom For Rocket Jumping, Doctors Hospital Anesthesiology Residency,

Video liên quan

Chủ Đề