Fix: ‘Remote Desktop licensing mode is not configured’

How to Fix Remote Desktop licensing mode is not configured

Fix: 'Remote Desktop licensing mode is not configured'

How to resolve licensing errors and grace period expirations on Windows Server.

This error typically occurs when the 120-day licensing grace period has expired, or the RD Session Host role is installed but hasn't been told which license server to query. Even if you have installed CALs, the server will block connections until the configuration is explicitly set.

⚠️ The Symptom: Users cannot connect via Remote Desktop, receiving an error stating that the "Remote Desktop licensing mode is not configured" or "The licensing grace period has expired."

Method 1: Using Local Group Policy (Recommended)

This is the most reliable method, as it forces the configuration at the system level, overriding any GUI glitches in Server Manager.

  1. Press Windows Key + R, type gpedit.msc, and press Enter.
  2. Navigate to the following path:
    Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing
  3. Step A: Set the Licensing Mode
    • Double-click Set the Remote Desktop licensing mode.
    • Select Enabled.
    • Under "Specify the licensing mode for the RD Session Host server," select either Per User or Per Device (depending on your purchased CALs).
    • Click OK.
  4. Step B: Set the License Server
    • Double-click Use the specified Remote Desktop license servers.
    • Select Enabled.
    • Enter the IP address or Hostname of your license server (use 127.0.0.1 if the license server is the same machine).
    • Click OK.
  5. To apply changes immediately, open Command Prompt as Administrator and run:
    gpupdate /force

Method 2: Using PowerShell (For Standalone Servers)

If you are not using a domain or if Group Policy is not applying correctly, you can use PowerShell to force the setting via WMI objects.

1. To set the Licensing Mode:
Run the following command (Replace 4 with 2 for "Per Device" mode):

$RDS = Get-WmiObject -Class Win32_TerminalServiceSetting -Namespace "root\cimv2\terminalservices"
$RDS.ChangeMode(4)

(Note: 2 = Per Device, 4 = Per User)

2. To set the License Server:
Run the following command (Replace your-server-name with your actual server name or IP):

$RDS = Get-WmiObject -Class Win32_TerminalServiceSetting -Namespace "root\cimv2\terminalservices"
$RDS.SetSpecifiedLicenseServerList("your-server-name")

How to Verify the Fix

Once you have applied the settings, you should verify that the server recognizes the configuration.

verification: Open Server Manager, go to Tools > Remote Desktop Services > RD Licensing Diagnoser. You should see 0 errors, and the "Licensing Mode" should clearly state your selection.

Author Bio

Mr. 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.

Microsoft Certified Professional

MCSE MCSA MCTS MCP MCP+I A+ Security+

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

Understanding RDS CAL Downgrade Rights

July 12, 2025

Home – Understanding RDS CAL Downgrade Rights Understanding RDS CAL Downgrade Rights When managing a Remote Desktop Services environment, hardware and software upgrades rarely happen all at once. You might purchase new Client Access Licenses (CALs) today, but still need them to authorize connections to older servers running in your datacenter. Microsoft accommodates this reality…

How to Disable Remote Desktop Easy Print in Windows Server (2016-2025)

July 12, 2025

Home – How to Disable Remote Desktop Easy Print in Windows Server (2016-2025) How to Disable Remote Desktop Easy Print in Windows Server (2016-2025) Remote Desktop Easy Print is the default driver Windows uses to map local client printers into a remote session. While convenient, it strips away advanced printer features (like stapling, tray selection,…

How to Create a Remote Desktop User in Windows Server (2016, 2019, 2022 & 2025)

July 12, 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

July 12, 2025

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…