Fix: "Your session will be disconnected in 60 minutes"
Resolving the 60-minute time limit error on Windows Server Remote Desktop Services.
⚠️ The Problem: When you log into your Windows Server via RDP, you see a popup message stating: "Remote Desktop licensing mode is not configured... Your session will be disconnected in 60 minutes."
This error occurs because the 120-day Licensing Grace Period has expired, and the server does not know which Licensing Server to contact or which Licensing Mode (User vs. Device) to use.
Method 1: Configure via Group Policy (Recommended)
This is the most reliable fix as it overrides any misconfiguration in the Server Manager GUI.
- Press Win + R, type
gpedit.msc, and press Enter. - Navigate to:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing
- Set the Licensing Mode:
- Double-click Set the Remote Desktop licensing mode.
- Select Enabled.
- Under Options, choose Per User or Per Device (match the CALs you purchased).
- Click OK.
- Set the License Server:
- Double-click Use the specified Remote Desktop license servers.
- Select Enabled.
- Enter the IP address or Hostname of your server (use
127.0.0.1if the licenses are installed on the same server). - Click OK.
- Run Command Prompt as Administrator and type:
gpupdate /force
Method 2: Using PowerShell
If Group Policy is not an option, you can force the configuration using PowerShell commands. Run PowerShell as Administrator.
1. Set the Licensing Mode:
(Replace 4 with 2 if you are using Per Device CALs)
$obj = Get-WmiObject -Namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.ChangeMode(4)
(Key: 4 = Per User, 2 = Per Device)
2. Set the License Server:
(Replace server-name with your actual server name or IP)
$obj = Get-WmiObject -Namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.SetSpecifiedLicenseServerList("server-name")
Method 3: Reset the Grace Period (Temporary Fix)
If you need immediate access but don't have CALs installed yet, you can reset the 120-day grace period by deleting a registry key. Note: This is a temporary measure.
- Open Registry Editor (
regedit). - Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod
- Right-click the GracePeriod key and select Permissions.
- Grant Administrators Full Control (you may need to take ownership of the key first).
- Delete the binary value inside the folder (usually starts with
L$RTMTIMEBOMB...). - Restart the server.
Verification
Check the Diagnoser:
Open Server Manager > Tools > Remote Desktop Services > RD Licensing Diagnoser.
You should see 0 Errors and the "Licensing Mode" should be correctly set.
Author Bio
Microsoft Certified Professional
With over 20 years of experience deploying and managing enterprise Windows Server environments, Keloth leads technical implementation at RDS CAL Store. He specializes in Remote Desktop Services infrastructure, secure remote architecture, and helping IT teams seamlessly scale their official licensing.
Related Posts
How to Create a Remote Desktop User in Windows Server (2016, 2019, 2022 & 2025)
Home – How to Create a Remote Desktop User in Windows Server (2016, 2019, 2022 & 2025) How to Create a Remote Desktop User in Windows Server (2016, 2019, 2022 & 2025) Provisioning remote access for a new employee requires more than just creating a standard Windows account. To securely connect to a Session Host,…
How to Fix the CredSSP “Encryption Oracle Remediation” RDP Error
Home – How to Fix the CredSSP “Encryption Oracle Remediation” RDP Error How to Fix the CredSSP “Encryption Oracle Remediation” RDP Error If you are managing Windows Servers, you have likely encountered this terrifying error message when trying to connect via Remote Desktop: “An authentication error has occurred. The function requested is not supported… This…
How to Configure the RDS “Startup Environment” in Server 2016, 2019, 2022 & 2025
Home – How to Configure the RDS “Startup Environment” in Server 2016, 2019, 2022 & 2025 How to Configure the RDS “Startup Environment” in Server 2016, 2019, 2022 & 2025 If you recently upgraded your infrastructure, you likely noticed a glaring omission: Microsoft removed the Environment, Sessions, and Remote Control tabs from the Active Directory…
How to configure “Licensing Mode” and “License Server to Use” on a Windows Server
Home – How to configure “Licensing Mode” and “License Server to Use” on a Windows Server Configuring RDS Licensing Mode and License Server A guide for Windows Server 2016, 2019, 2022, and 2025. Configuring the Remote Desktop Services (RDS) licensing mode and license server on a Windows Server is a critical step for allowing more…