RemoteApp Group Policy Best Practices
Introduction
This article lists the Group Policy settings we recommend for RDS hosts that publish apps through TruGrid RemoteApp. For each setting it explains what it does and why it matters for RemoteApp users.
TruGrid delivers the RDP connection to the RDS host. From that point on, the session is handled by Windows Remote Desktop Services on that host, exactly as it would be without TruGrid. That is why most RemoteApp session behavior, such as time limits and reconnecting, is controlled with Windows Group Policy.
Area | Setting | Recommended value | Applies to |
|---|---|---|---|
Time limits | Set time limit for logoff of RemoteApp sessions | Enabled, set to fit your environment (see section 1) | RDS hosts |
Time limits | Set time limit for disconnected sessions | Enabled, set to fit your environment (see section 1) | RDS hosts |
Time limits | Set time limit for active but idle Remote Desktop Services sessions | Enabled, set to fit your environment (see section 1) | RDS hosts |
Time limits | End session when time limits are reached | Disabled | RDS hosts |
Reconnecting | Restrict Remote Desktop Services users to a single Remote Desktop Services session | Enabled | RDS hosts |
Profiles | Roaming profile solution, for example FSLogix Profile Container | One option for pools of 2 or more hosts, see section 3 | RDS hosts |
Unlisted programs | Allow remote start of unlisted programs | Not configured, unless required (see section 4) | RDS hosts |
Publisher warning | Specify SHA1 thumbprints of certificates representing trusted .rdp publishers | Enabled, TruGrid thumbprint | User workstations |
The time limit values depend on how your users work. Section 1 explains what each limit does so you can pick values that fit.
Printer settings are covered separately in Granular Printer Mapping with TruGrid and Group Policy Preferences.
In this article:
Requirements
Create the GPO
Session time limits
Reconnecting users to their session
User profiles across servers
Unlisted Programs
Client side: Unverified Publisher warning
Verification
Troubleshooting
Requirements
- RDS hosts joined to the domain and placed in their own OU, separate from user workstations.
- Rights to create and link GPOs, and the Group Policy Management Console (RSAT).
- TruGrid RemoteApp already working, as described in How to use RemoteApp.
Create the GPO
Use two GPOs, because the settings apply to two different sets of machines:
GPO | Link it to | Contains |
|---|---|---|
TruGrid - RemoteApp Hosts | OU with the RDS hosts | Sections 1 to 4 |
TruGrid - Trusted RDP Publisher | OU with the user workstations | Section 5 |
- Open
gpmc.msc. - Right-click the OU that holds your RDS hosts and select Create a GPO in this domain, and Link it here.
- Name it TruGrid - RemoteApp Hosts.
- Right-click the new GPO and select Edit.



1. Session time limits
By default a RemoteApp session never ends on its own. When a user closes the last RemoteApp window, the session stays active for about 20 seconds, then goes to a disconnected state, where it stays indefinitely. The next time the user launches a RemoteApp, Windows reconnects them to that same session with their work intact (Microsoft).
This is convenient for users, but on a busy host disconnected sessions pile up and keep using memory. Time limits keep the convenience and clean up sessions nobody comes back to.
Go to Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits and set:

- Set time limit for logoff of RemoteApp sessions: Enabled, then pick a time in the RemoteApp session logoff delay list. After the user closes the last app, the session waits this long, then logs off. Opening an app within that time reconnects to the same session. A shorter value frees resources sooner, a longer one lets users come back to their open session. For example, this can be 15 to 30 minutes, enough for a user who closes an app and opens it again shortly after. Keep it shorter than the disconnected-session limit below.
- Set time limit for disconnected sessions: Enabled, then pick a time in the End a disconnected session list. This covers sessions dropped by the network or by closing the laptop lid. When the limit is reached the session is ended and unsaved work in it is lost, so set it longer than the breaks your users usually take. For example, this can be 1 to 2 hours, which covers a lunch break or a short network outage. Use a longer limit if users expect to come back to open work the next morning, and a shorter one on busy hosts that run low on memory.
- Set time limit for active but idle Remote Desktop Services sessions: Enabled. A session with no keyboard or mouse input is disconnected after this time. Users get a warning 2 minutes before. Because the session is only disconnected, not ended, this limit does not lose work, so it can be fairly short. For example, this can be 30 to 60 minutes.
- End session when time limits are reached: Disabled. Idle sessions are then only disconnected, so the user can reconnect and pick up where they left off. The disconnected-session limit logs them off later.
If you set this policy to Enabled, sessions that reach the idle limit (or an active-session limit, if you set one) are logged off and removed from the host instead of being disconnected. Any unsaved work in them is lost. Network drops are not affected. Use Enabled when sessions must not stay on the host after the limit, for example on hosts shared by many users with little memory, or when a security policy requires idle sessions to be closed. The TruGrid Toolkit template always deploys this policy as Disabled.


Deploy with the TruGrid Toolkit
The TruGrid SecureRDP - Windows Toolkit can create this GPO for you. In the Advanced view, open Group Policy and deploy TruGrid - Session Time Limits. The wizard:
- links the GPO to one OU that you select, so pick the OU with the RDS hosts;
- sets Disconnect idle sessions after and Log off disconnected sessions after to the values you choose;
- sets no maximum length for active sessions, and keeps idle sessions disconnected rather than logged off, as recommended above;
- saves a backup of the GPO to
Desktop\TruGrid Reports\gpo-backups\.
The template does not set Set time limit for logoff of RemoteApp sessions, or the single-session setting from section 2. Add both to the GPO the Toolkit created, or to your own GPO, as described in this article.
2. Reconnecting users to their session
Resuming a disconnected session is handled by Windows Remote Desktop Services on the host, not by TruGrid. TruGrid delivers the RDP connection to the server. Once it arrives, the server decides whether the user has an existing session to reconnect to.
To make sure the server always reconnects instead of opening a second session, go to Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections and set:
- Restrict Remote Desktop Services users to a single Remote Desktop Services session: Enabled.



This setting works per host. Windows can only reconnect a user to a session that exists on the host the connection arrives at. A disconnected session on another host in the pool stays there until its time limit ends it.
If users do not get their session back, check in this order:
1. The session was already ended. A short Set time limit for disconnected sessions or Set time limit for logoff of RemoteApp sessions ends sessions before the user returns. Compare the limits in section 1 with how long users are away.
2. The user landed on a different host. Run quser /server: against each host in the pool to see where the old session is.
3. User profiles across servers
In a pool with two or more RDS hosts, a user can land on any of them. How their settings and files follow them depends on the profile option you use. There are three options: FSLogix Profile Container, Roaming profiles with Folder Redirection, and Local profiles. Which one fits depends on your environment, for example available storage, the number of hosts, and how much data users keep in their profiles.
Option | When it fits | Pros | Cons |
|---|---|---|---|
FSLogix Profile Container | Pools of 2 or more hosts where the full profile, including app caches, must follow the user | Profile is mounted, not copied, so sign-in stays fast. Apps see it as a local profile | Needs a file share with enough space and speed. FSLogix must be installed and kept up to date on every host. By default one profile can be used in only one session at a time |
Roaming profiles and Folder Redirection | Environments that already use them, or users with small profiles | Built into Windows and Active Directory, no extra software. Folder Redirection keeps Documents and Desktop on a share | Profile is copied at every sign-in and sign-out, which gets slow as it grows. Signing in on two hosts at once can overwrite changes |
Local profiles | A single RDS host, or apps that keep no user settings | Nothing to set up, fastest sign-in | Each host has its own profile, so settings and files differ between hosts. Data is lost if a host is rebuilt |
FSLogix Profile Container
FSLogix stores each user's profile on a network share as a virtual disk and mounts it at sign-in, so apps see it as a local profile on whichever host the user lands on. Because the profile is mounted rather than copied, sign-in stays fast (Microsoft).
If you host FSLogix containers on a file share, note Microsoft's warning: the April 2026 Windows Server update changes the default Kerberos encryption from RC4 to AES-SHA1, and shares not upgraded to AES-SHA1 might have access issues (Microsoft).
FSLogix installation and its Group Policy settings are covered in a separate article.
Roaming profiles and Folder Redirection
Roaming profiles copy the user's profile to a share at sign-out and back at sign-in. Folder Redirection moves folders such as Documents and Desktop to a share, so they are not copied at all. Use them together: redirected folders keep the roaming profile small and sign-in fast. Best practices from Microsoft:
- Use a separate profile path for the RDS hosts. Set it per computer, so users get a separate RDS profile and their desktop profile is not mixed in. Go to
Computer Configuration > Policies > Administrative Templates > System > User Profilesand enable Set roaming profile path for all users logging onto this computer, for example\\fileserver\RDSProfiles$\%username%. This computer setting takes precedence over the profile path in the user's AD account. - Deploy Folder Redirection first, then roaming profiles, so existing profiles are already small when they start roaming. Folder Redirection is a User Configuration setting (
User Configuration > Policies > Windows Settings > Folder Redirection). Because the GPO is linked to the hosts' OU, enable loopback processing in Merge mode in that GPO so the user settings apply on the RDS hosts. Microsoft's step-by-step guides: Deploy Folder Redirection with Offline Files and Loopback processing of Group Policy. - Keep all hosts on the same Windows Server version. Each version keeps its own profile folder, and settings do not roam between versions.




With local profiles each host keeps its own copy of the profile, and nothing needs to be set up. This works well for a single RDS host, or for apps that keep no user settings. On hosts with many users, old profiles take up disk space. To clean them up automatically, go to Computer Configuration > Policies > Administrative Templates > System > User Profiles
and enable Delete user profiles older than a specified number of days on system restart.
For example, this can be 30 to 60 days. Pick a value longer than the longest absence your users usually have, such as a vacation. With local profiles, a deleted profile means the user starts with a new, empty profile and loses their app settings on that host. The cleanup runs only when the host restarts, so hosts that are rarely restarted keep old profiles longer.

4. Unlisted programs
By default an RDS host only starts RemoteApp programs that are on its RemoteApp allow list. A program that is not on the list fails with the message "The following RemoteApp program is not in the list of authorized programs". Leave this default in place unless you see that error.
If you do, allow unlisted programs with Group Policy:
- Go to
Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections - Set Allow remote start of unlisted programs to Enabled.
- Applies to every host the GPO applies to. It is stored as
fAllowUnlistedRemoteProgramsunderHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services


5. Client side: Unverified Publisher warning
Since the April 2026 Windows update, users see an "Unverified Publisher" prompt when a RemoteApp opens. The fix is to trust TruGrid's signing certificate on the users' computers. This is the only setting in this article that goes on the user workstations, not on the RDS hosts.
- Create a second GPO, TruGrid - Trusted RDP Publisher, linked to the OU with the user workstations.
- Go to
Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client - Enable Specify SHA1 thumbprints of certificates representing trusted .rdp publishers and enter TruGrid's thumbprint.



![]()
You can also deploy this GPO with the TruGrid SecureRDP - Windows Toolkit. In the Advanced view, open Group Policy and deploy TruGrid - Trust Signing Certificate. Select the OU with the user workstations, not the RDS hosts. The wizard links the GPO to one OU only. To cover workstations in other OUs, link the same GPO to them in GPMC with Link an Existing GPO.
The current thumbprint and the full steps, including a PowerShell option, are in How to suppress the "Unverified Publisher" Security Warnings.
Verification
Test on one RDS host before you roll out to the pool.
- On the host, apply the policy and confirm the GPO arrived:
gpupdate /force
gpresult /scope computer /r - Check the values Windows actually uses:
$p = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Get-ItemProperty -Path $p -ErrorAction SilentlyContinue |
Select-Object MaxDisconnectionTime, MaxIdleTime, RemoteAppLogoffTimeLimit, fResetBroken, fSingleSessionPerUser, fAllowUnlistedRemotePrograms
Time limits are stored in milliseconds, so 1 hour shows as3600000. - Test the RemoteApp logoff limit. Launch a RemoteApp through TruGrid, close it, then run
quseron the host. The session shows as Disc right after closing and disappears after the limit. - Test reconnecting. Launch a RemoteApp, close it, wait until
qusershows Disc, then launch another RemoteApp.qusershould show the same session ID as Active again. - On a user workstation in the second GPO, launch a RemoteApp. No Unverified Publisher prompt should appear.
Troubleshooting
Symptom | Likely cause | Fix |
|---|---|---|
Users lose their work after a short break | Disconnected-session or RemoteApp logoff limit is shorter than the break | Raise the limits in section 1. Remember the shortest limit wins |
Users get a new, empty session instead of their old one | The old session was already ended, or the user landed on another host | Check the limits in section 1. Run |
Disconnected sessions pile up on the hosts | No time limits are set | Apply the limits in section 1 |
Settings or files differ depending on the host | Local profiles on each host | Use a roaming profile solution, for example FSLogix, see section 3 |
"The following RemoteApp program is not in the list of authorized programs" | The program is not on the host's RemoteApp allow list | See section 4 |
"Unverified Publisher" prompt on every launch | TruGrid's certificate is not trusted on the workstation | See section 5 |
Settings do not apply | GPO not linked to the hosts' OU, or a conflicting GPO with higher precedence | Run |
Related articles
- How to use RemoteApp
- How to configure RDP settings via GPO
- How to suppress the "Unverified Publisher" Security Warnings
- Granular Printer Mapping with TruGrid and Group Policy Preferences
- TruGrid SecureRDP - Group Policy Guides
Updated on: 28/10/2026
Thank you!
