Key Points
- Check the host session model first, because Windows client editions allow one interactive session, Windows Server without Remote Desktop Services (RDS) allows two administrative sessions, and RDS adds multi-user capacity only when it’s properly licensed.
- Sign out disconnected sessions with Task Manager or the logoff command, because a disconnected session keeps its slot until it ends.
- Set Group Policy time limits for disconnected and idle sessions and end sessions automatically when a limit is reached.
- Enable Network Level Authentication (NLA), install Windows updates, and allow Remote Desktop only on Domain or Private firewall profiles to keep connections stable and secure.
- Run RDS-specific checks on full deployments to confirm the Session Host, Connection Broker, and Licensing roles are healthy, and client access licenses (CALs) show no errors in the RD Licensing Diagnoser.
Remote Desktop disconnected errors typically occur when the host has reached its maximum session limit or when disconnected sessions are not reclaimed. Windows client editions, such as Windows 11 Pro, support one interactive session at a time.
On Windows Server without Remote Desktop Services (RDS), two remote administrative sessions are available. RDS adds multi-user capability when properly licensed. This article will guide you through the process of resolving this common issue.
Fixing “Remote Desktop Disconnected: Limited Remote Desktop Session”
To resolve the disconnection issue, start by confirming the host’s session model, enter without consuming another session, enumerate the sessions, set timeouts, stabilize connectivity, and run RDS-specific checks when applicable.
Prerequisites:
- Local Administrator or equivalent rights on target machines
- Access to PowerShell, Task Manager, and built-in RDP tools
- If using RDS, access to RD Session Host, RD Licensing, and Collections configuration
- A maintenance window or end-user coordination to sign out active sessions
Step 1: Confirm the host’s session model and license posture
Use Case: Before connecting or ending sessions, identify the type of system you’re dealing with and the number of remote users it legally supports.
- Press Win, type Settings, then navigate System > About.
- Check Edition.
- Open Server Manager if it’s a Windows Server.
- Click Manage > Add Roles and Features and verify if the Remote Desktop Services roles are installed.
- If RD Licensing management tools are installed, press Win + R, type licmgr.exe, and press Enter.
- Otherwise, check licensing on the configured license server.
- Write down the following:
- System type (Client / Server / RDS)and whether RDS is installed
- If using RDS, licensing mode and client access license (CAL) count
Note: Installing Remote Desktop Services does not mean RD Licensing is installed locally. If the RD Licensing management tools are not installed, licmgr.exe will not be available locally, and licensing must be checked on the configured licensing server.
Step 2: Enter without consuming another session
Use Case: Sometimes you need to check a server without using up another RDS license or kicking someone off.
- Press Win + R.
- Copy and paste the following into the prompt, then press Enter:
- exe /admin
- Enter the server name or IP address and connect.
- Note: The /admin switch connects to an administrative session that doesn’t use an RDS CAL. On a server without the RD Session Host role, an /admin connection still takes one of the two administrative sessions, so it can’t help if both are in use. In that case, end a session remotely with the commands in Step 3.
Step 3: Free sessions
Use Case: When users report “session locked” or “can’t log in,” you may need to find and close inactive or disconnected sessions.
- Press Ctrl+Alt+Del and select Task Manager.
- Click the Users tab to see who’s logged in.
- Review the Status column carefully:
- Active > The user is currently logged in and working. Do not sign out unless coordinated.
- Disconnected > The user is no longer connected, but their session is still consuming a slot.
- Idle time (if shown) > Long idle durations may indicate an abandoned session.
- If a session shows Disconnected:
- Right-click the user name
- Select Sign Out
- If you can’t sign in to the host, and have the required remote access and permissions, list and end sessions from another computer on the same network, open Command Prompt or PowerShell as an administrator and run: Query session /server<hostname>
- Note the ID of any session in the Disc (disconnected) state, then sign it out: logoff <SessionID> /server:<hostname>
- If a session doesn’t respond to logoff, reset it as a last resort: reset session <SessionID> /server:<hostname>
Important: Always confirm with the user or check your ticketing system before signing out a session labeled Active. Forced sign-out may result in lost unsaved work.
Step 4: Set timeouts and single session limits
Use Case: Idle sessions waste server resources and can cause “too many users” errors. Setting timeouts and limits keeps things running smoothly.
- Press Win + R, type gpedit.msc, then press Enter.
- Navigate to:
- Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits
- Double-click Set time limit for disconnected sessions and enable it.
- Double-click Set time limit for active but idle sessions and set a reasonable timeout.
- Double-click End session when time limits are reached and set it to Enabled.
- Sessions that reach a time limit are then signed out automatically and stop holding a slot.
- Run gpuupdate /force to apply the changes.
- Afterward, go to:
- Remote Desktop Session Host > Connections
- Open Limit number of connections > enable and set a maximum.
- Open Restrict Remote Desktop Services users to a single session > set to Enabled.
- Click Apply > OK and close the editor.
Step 5: Stabilize connectivity and validate security configuration
Use Case: Bad network connections or outdated security settings can cause intermittent RDP drops or authentication errors.
- Press Win, type Control Panel, then press Enter.
- Navigate System > Remote Settings.
- Under Remote Desktop, check Allow connections only from computers running Remote Desktop with Network Level Authentication (NLA).
Afterward, follow the steps below:
- Press Win, type Settings, then press Enter.
- Go to Windows Update > Check for Updates.
If updated or done updating, verify your firewall isn’t blocking RDP:
- Open Control Panel > Windows Defender Firewall > Allow an app through firewall.
- Make sure Remote Desktop is allowed on the network profile the host uses, typically Domain or Private.
- Leave Public unchecked unless RDP access is explicitly required and appropriately secured for that network profile, because allowing RDP on untrusted networks can increase exposure to unauthorized access attempts..
Step 6: Run RDS-specific checks
Use Case: For full Remote Desktop Services environments, periodic licensing and session-limit checks help prevent lockouts.
- On the RDS server, open Server Manager.
- Click Remote Desktop Services > Overview.
- Confirm that the RD Session Host, Connection Broker, and Licensing Server roles show as green/healthy.
- Afterward, open the RD Licensing Diagnoser by pressing Win + R and typing lsdiag.msc, then pressing Enter.
- Check for errors. If they appear:
- Ensure the Licensing Server is activated.
- Re-install or re-register the CALs as needed.
- In Server Manager, go to Remote Desktop Services > Collections and open the properties for each collection.
- Check that session limits and timeouts match your policy.
Note: These checks apply to full Remote Desktop Services deployments. For standalone RD Session Host servers, validate licensing directly on the RD Licensing Server and review Session Host licensing settings instead of using the RDS Overview page or Collections.
Best practices to follow when fixing the “Remote Desktop Disconnected” issue
The table below summarizes the best practices to follow when fixing the disconnection issue:
| Practice | Purpose | Value delivered |
| Connect with mstsc.exe /admin | Perform administrative or troubleshooting tasks | Recover without worsening capacity |
| Enforce timeouts via GPO | Recycle slots | Fewer stuck sessions and tickets |
| Single session per user | Predictability | Prevent parallel idle hoarding |
| Verify RDS licensing | Compliance and scale | Supported and compliant multi-user capacity |
| Script detection and cleanup | Speed | Faster detection and documented remediation |
NinjaOne helps fix the “Remote Desktop Disconnected” issue
NinjaOne helps you catch session exhaustion before users report it. You can deploy custom scripts to device groups, run them on a schedule, and write results to NinjaOne Documentation. Configured monitoring conditions can trigger alerts or tickets when scripts detect excessive disconnected RDP sessions, helping technicians address potential issues early..
When RDP itself is the bottleneck, NinjaOne Remote gives technicians another way to reach the device from the NinjaOne console.
Reclaim servers by fixing a common disconnection issue
Limited desktop session errors are typically caused by exceeding the designed capacity, rather than a defect in the system. Check the host session model, connect with /admin, free up slots, enforce timeouts, and stabilize the network path to resolve incidents quickly and prevent repeats.
Related topics:

