Disconnecting a user
Disconnect closes the user's RDP connection but leaves the session on the server. The user can connect again later and find their work where they left it.

How to do it
Select one or more sessions in the User sessions list, then:
- Click Disconnect in the command row,
- Right-click and choose Disconnect, or
- Choose Users > Disconnect from the main menu.
A confirmation dialog titled with the user and server, for example Disconnect - ahall@RDS-NYC-02, says This will disconnect the selected users. Their sessions keep running on the server. and lists the sessions. Click Disconnect to proceed.
What happens on the server
The Windows API call WTSDisconnectSession runs on each target server. The session state changes to Disconnected. The user sees their RDP client window close; the applications keep running.
A disconnected session continues to consume memory and CPU. If you also want to free those resources, log the user off instead.
Common reasons it does not work
- The account running the program lacks the right to disconnect sessions on the target server. Adjust the permissions in the RDS session host configuration, or run the program under an account that has it.
- The session is in a transient state. Wait for it to settle and try again.