T The Triage ManualTechnical Guides for IT Emergencies
P2 · Windows Server

RDS CALs Exhausted or Licensing Server Unreachable — Users Blocked from Remote Desktop

Remote Desktop Services stops issuing sessions when the RDS CAL pool is exhausted or the RD Licensing Server cannot be reached. After the 120-day grace period expires, users are disconnected immediately after login. Emergency steps: extend grace or redirect to a working licensing server; proper fix is purchasing and installing sufficient Per-User or Per-Device RDS CALs.

Indicators

Likely causes

Diagnostic steps

  1. Run RD Licensing Diagnoser: Server Manager > Remote Desktop Services > Deployment Overview > Tasks > Edit Deployment Properties > RD Licensing — check status and grace period remaining
  2. Open licmgr.exe (RD Licensing Manager) on the licensing server — verify issued vs available CALs; right-click server to activate if not already activated
  3. Check GPO licensing config: Computer Config > Admin Templates > Windows Components > Remote Desktop Services > RD Session Host > Licensing — 'Use the specified RD license servers' and 'Set the RD licensing mode' (Per User or Per Device)
  4. Verify RPC connectivity: Test-NetConnection <LicServer> -Port 135; dynamic ports 49152–65535 must be open between RDSH and licensing server
  5. Emergency grace reset (temporary — for lab/test only): delete HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod (requires SYSTEM ownership); reboot
  6. Install additional CALs: in licmgr.exe > right-click server > Install Licences > enter agreement number and licence code from VLSC

Resolution path

Prevention

Tools

rdsremote-desktoprds-callicensingwindows-serverrdshterminal-servergrace-periodrpc