
.png)
LicensingMode values Set the method for how the license server and the licensing mode will be applied on the RDSH server To do so, run the following PowerShell command: $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting Verify the license servers and current licensing mode that's configured on the Remote Desktop Session Host (RDSH) server Instead, you must implement a license server together with a license pack. However, we don't recommended this approach. Reset grace period: The grace period can be reset to 120 Days. Or by running the following PowerShell command: $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting The current grace period on a computer can be read by running the following command: wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (_CLASS !="") CALL GetGracePeriodDays Troubleshooting specific RDP error messages to a Windows VM in Azure.License your RDS deployment with client access licenses (CALs).For more information, see the following articles: Once the grace period ends, clients must have a valid RDS CAL issued by a license server before they can log on to an RD Session Host server. There is a licensing grace period of 120 Days during which no license server is required. The listed resources in this article can help you resolve Remote Desktop Services (RDS) licensing issues. Try our Virtual Agent - It can help you quickly identify and fix common Active Directory replication issues
