ADMX Viewer →

Set time limit for logoff of RemoteApp sessions

User Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits

User Policy name TS_SESSIONS_RemoteApp_End_Timeout terminalserver-server.admx Windows 11 25H2 3.0

Registry

Key (user)HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value namenone on the policy itself; the options below write their own values
Supported onAt least Windows Server 2008
NamespaceMicrosoft.Policies.TerminalServer-Server

Options

OptionValue writtenType and rangeDefault
RemoteApp session logoff delay: RemoteAppLogoffTimeLimit
  • 0 Immediately
  • 60000 1 minute
  • 300000 5 minutes
  • 600000 10 minutes
  • 900000 15 minutes
  • 1800000 30 minutes
  • 3600000 1 hour
  • 7200000 2 hours
  • 10800000 3 hours
  • 21600000 6 hours
  • 28800000 8 hours
  • 43200000 12 hours
  • 57600000 16 hours
  • 64800000 18 hours
  • 86400000 1 day
  • 172800000 2 days
  • 259200000 3 days
  • 345600000 4 days
  • 432000000 5 days
0

What each state writes

Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.

Enabled
HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services RemoteAppLogoffTimeLimit 0 REG_DWORD
Disabled
HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services RemoteAppLogoffTimeLimit value removed
Not configured
HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services RemoteAppLogoffTimeLimit value removed

In Intune

Microsoft's Policy CSP files (DDFv2Feb2026.zip) have no node for this policy, so the Intune Settings Catalog can't set it. Set it with Group Policy, or write the registry values above with a script (the builder below makes one).

Build it

Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.

Keep it set across your fleet

Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.

How Conformance works · Your baseline from this site

Source: Windows 11 2025 Update (25H2), version 3.0, published by Microsoft 2026-02-02. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.

ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.