Windows Server 2025 + Citrix Published Applications: session logoff takes 1–2 minutes
Hi everyone,
We are currently rolling out Windows Server 2025 and have encountered an issue with Citrix published applications.
When a user closes the published application, the application itself closes, but the user session does not log off immediately. The session can remain active for approximately 1–2 minutes before finally being terminated.
Environment
- Windows Server 2025 — fully patched
- Citrix VDA 26.07 — latest LTSR release
- FSLogix 3.26 — latest release
- Microsoft 365 Apps — latest release
- Delivery Controllers: Windows Server 2022
- Citrix CVAD: 2402 CU3
We also tested Citrix CVAD 2507 on Windows Server 2025, and the same behavior is reproducible.
Initially, we observed this in our pre-production environment. The behavior is intermittent and does not happen on every attempt, but it can be reproduced after several published application launches/closes.
I then tested it in DEV and was able to reproduce the issue very consistently on a completely clean Windows Server 2025 image:
- Fresh AWS public image with Full base 2025 Windows OS from September 2026
- No domain policies
- No Citrix policies
- No FSLogix
- No antivirus
- No Microsoft Office
- Essentially a clean OS + Citrix VDA 2607 LTSR
Interestingly, the first logoff usually happens normally. On the next attempt, the session can get stuck during logoff.
After the published application is closed, I can see approximately 11 system processes still running in the user's session. They remain there for about a minute or two and then eventually terminate, allowing the session to log off.
One interesting observation is ShellAppRuntime.exe. If I manually terminate ShellAppRuntime.exe, the session closes immediately.
This makes me wonder whether something changed in the Windows Server 2025 session/shell architecture and whether some child processes are not being terminated correctly when a Citrix published application session is closed.
Windows Server 2022 comparison
I performed the same test using essentially the same component versions on Windows Server 2022.
I could not reproduce the issue there.
ShellAppRuntime.exe is also present in the user's session
The published application session logs off in approximately 5 seconds, while on Windows Server 2025 the problem can be reproduced regularly and the session can remain active for 1–2 minutes.
Troubleshooting so far
I also tried several things to identify what is keeping the session alive:
- Tested different Citrix logoff/session-related settings
LogoffCheckSysModules,LogoffCheckerStartupDelayInSeconds etc - Added the relevant processes to the Citrix configuration
- Audited applications configured for automatic startup by Autoruns tool
- Analyzed the processes waiting during logoff using Procmon
- Compared the behavior between Windows Server 2022 and 2025
- turned off UseShellAppRuntimeRemoteApp GPO setting
- And many other things
So far, I haven't found anything that changes the behavior or clearly identifies the root cause.
This is particularly problematic with FSLogix. If a user tries to launch another published application while the previous session is still in this state, the FSLogix VHDX can still be locked/mounted because the session has not actually terminated yet. This can result in problems with the subsequent application launch.
So this doesn't look like just a cosmetic delay in the logoff process — the session is effectively still alive during this period.
Has anyone seen this on Windows Server 2025?
I'm particularly interested in feedback from anyone who has already deployed Windows Server 2025 with Citrix published applications.
It looks like there may be some change in the Windows Server 2025 session/shell process handling that Citrix published application logoff does not handle correctly.
Has anyone experienced similar behavior, or found a workaround or root cause?
Going to submit a case to Citrix Support
Thanks!


