How do I configure session time limits?

disconnect user session time limits end remote desktop session

Sometimes you might want to set specific time limits or change the default behaviour for disconnected remote desktop users.

You can simply set some group policies, which give you a more detailed control over the session handling:

  1. Open your group policy editor (Start -> Run -> gpedit.msc)
  2. Navigate to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Session Time Limits
  3. Please reboot your machine, after you have changed a group policy.

Please note, if your machine is joined to a domain, a domain group policy might overwrite your local group policy.

Following policies are available:

  • Set time limit for disconnected sessions

    Specify the maximum amount of time that a disconnected session remains active on the server.

  • Set time limit for active but idle sessions

    Enable this policy to set to disconnect active but idle remote desktop sessions after a specified amount of time.

  • Set time limit for active sessions

    Set a time limit to automatically disconnect active sessions after the specified amount of time.

  • End sessions when time limits are reached

    Specify a time limit for active or idle remote desktop sessions. The user will get logged out instead of disconnected.


Related articles

  • Performance Issue with Windows 10?

    Under Windows 7 the first user logon usually takes less then 35 seconds for each user and the initial user profile weighs approx. 5MB. With Windows 10 this has increased...

  • Are server operating systems supported?

    Before installing XP/VS Server on a server operating system please make sure that the Terminal Server role and the Terminal Server licensing service are not installed.

  • Issues after recent Windows Updates?

    Perhaps you have installed some updates on Tuesday (Microsoft Patch-Day) which require new version of XPVS Server.

  • Why can I only connect with my Administrator account?

    Before installing XP/VS Server on a server operating system please make sure that the Terminal Server role and the Terminal Server licensing service are not installed.

  • How can I restrict remote users to a single session?

    How can I restrict remote users to a single remote session?

  • XP/VS Server and Core Isolation mode

    What can I do if following error is displayed: ThinRDPSrv is not a valid Win32 application.

  • Azure Virtual Machines

    Will XP/VS Terminal Server run on Azure virtual machines?

  • Remote Desktop Software

    Official partners