Windows Server / Services, IIS & Secure Operations
Investigate Remote Desktop Session Host licensing before changing connection limits
A session host can reject users because its licensing configuration or license-server dependency is wrong. Identify the server role and exact event first.
Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
Get-WindowsFeature RDS-RD-Server, RDS-Licensing
What the results mean
This ServerManager query identifies installed session-host and licensing roles. It does not prove entitlement, CAL availability or correct licensing-mode configuration.
Fix the cause and check again
Use the supported RDS licensing diagnostics and event logs to compare configured mode and server reachability. Correct the managed licensing configuration with the responsible owner.
Before changing production
Do not reset grace periods, edit licensing databases or bypass licensing controls to admit more sessions.