Set time limit for logoff of RemoteApp sessions

This policy setting allows you to specify how long a user's RemoteApp session will remain in a disconnected state after closing all RemoteApp programs before the session is logged off from the RD Session Host server.

By default, if a user closes a RemoteApp program, the session is disconnected from the RD Session Host server, but it is not logged off.

If you enable this policy setting, when a user closes the last running RemoteApp program associated with a session, the RemoteApp session will remain in a disconnected state until the time limit that you specify is reached. When the time limit specified is reached, the RemoteApp session will be logged off from the RD Session Host server. If the user starts a RemoteApp program before the time limit is reached, the user will reconnect to the disconnected session on the RD Session Host server.

If you disable or do not configure this policy setting, when a user closes the last RemoteApp program, the session will be disconnected from the RD Session Host server but it is not logged off.

Note: This policy setting appears in both Computer Configuration and User Configuration. If both policy settings are configured, the Computer Configuration policy setting takes precedence.

Supported on: At least Windows Server 2008
Disable Policy:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value NameRemoteAppLogoffTimeLimit
Value TypeREG_SZ
Value0

RemoteApp session logoff delay:


  1. Immediately
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value0
  2. 1 minute
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value60000
  3. 5 minutes
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value300000
  4. 10 minutes
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value600000
  5. 15 minutes
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value900000
  6. 30 minutes
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value1800000
  7. 1 hour
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value3600000
  8. 2 hours
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value7200000
  9. 3 hours
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value10800000
  10. 6 hours
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value21600000
  11. 8 hours
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value28800000
  12. 12 hours
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value43200000
  13. 16 hours
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value57600000
  14. 18 hours
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value64800000
  15. 1 day
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value86400000
  16. 2 days
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value172800000
  17. 3 days
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value259200000
  18. 4 days
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value345600000
  19. 5 days
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    Value NameRemoteAppLogoffTimeLimit
    Value TypeREG_DWORD
    Value432000000


terminalserver-server.admx

Administrative Templates (Computers)

Administrative Templates (Users)