RDS CAL License Registry Key — Detailed Review and Guidance
This happens when the RDS service is running. You must stop TermService before certain deletions, especially GracePeriod.
Prefer PowerShell over Regedit
Use Set-ItemProperty or New-ItemProperty to reduce mistakes. Example:
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM" -Name "SpecifiedLicenseServers" -PropertyType MultiString -Value "licserv.domain.com"
Document Every Change
Save screenshots or .reg exports before each edit. rds cal license registry key
Use Group Policy for Production
Instead of manually editing SpecifiedLicenseServers, set the policy “Use the specified license servers” via GPO. Registry edits should only be temporary.
Monitor Event Logs
After registry edits, check Event Viewer → Applications and Services Logs → Microsoft → Windows → TerminalServices-Licensing → Operational.
Never Delete the Entire RCM Key
Doing so will completely break Remote Desktop Services, requiring a repair installation or full server rebuild. Title RDS CAL License Registry Key — Detailed
Remote Desktop Licensing (RD Licensing) manages the issuance of CALs. When a device connects to an RD Session Host, the License Server issues a temporary or permanent CAL. This license is cryptographically bound to the hardware ID of the device.
Microsoft does not document these registry keys in the Windows UI; they are stored in binary format and encrypted. Direct manipulation of these keys is unsupported and can lead to licensing failures.
Instead of direct registry manipulation, use: Document Every Change Save screenshots or
# List installed license packs
Get-WmiObject -Class Win32_TSIssuedLicense -Namespace root\cimv2\terminalservices
Error 1: Access Denied (Even as Admin)
Some RDS registry keys are owned by NT SERVICE\TermService. To edit them, you must:
- Take ownership via Regedit → Permissions → Advanced → Change owner to Administrators.
- Grant yourself Full Control.
Procedure C: Clear Stuck CAL Tokens
If a single user consistently receives a temporary license instead of a permanent CAL:
- Navigate to:
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\LicensingCore\TemporaryLicenses
- Look for entries matching the problematic user or device.
- Delete those specific keys.
- Restart the RDS service.
Background
- Purpose: RDS CALs control and track licensing for Remote Desktop Services (formerly Terminal Services). Windows stores configuration and some status information about RDS licensing in the registry so the RDS Licensing service and client components can locate license servers, apply licensing mode (Per User vs Per Device), and cache client-side license information.
- When it matters: Admins interact with RDS licensing registry entries when configuring or troubleshooting RDS deployment, moving license servers, clearing corrupted license caches, or diagnosing CAL issuance problems.