Benjamin Oumlsterle Posted July 21, 2015 Share Posted July 21, 2015 Hello, im using XenApp 7.6 on Windows Server 2012 R2 (Published Desktops). When the user logs of the session is stuck and it looks like the screenshot in the attachments. The following processes are running: csrss.exe dwm.exe LogonUI.exe winlogon.exe i am not able to sign of the session. In this moment the user is not able to login on another server. When i kill winlogon.exe the session closes, but the user is still not able to login. When i restart the server the problem is temporary solved.. On the DDC i got this error in event viewer: Error ID 12346, No available ressource found for user Any idea on this issue? 2 Link to comment
0 Anatoly Strashnikov1709152972 Posted March 3, 2016 Share Posted March 3, 2016 Hi every one. We have the same issue with XenDesktop 7.7 and VDA version 7.7. After update VDA to 7,8 the issue doesn't fix. Also we disable USB device rediretion and Usb plug and play device redirection, but it also doesn't help us. Maybe someone have any positive update? Link to comment
0 Mike Yuen Posted March 15, 2016 Share Posted March 15, 2016 We are still on PVS 7.6 (and vDisks on 7.6), but the VDAs for all other systems are 7.7. We're now 1 week after the 2nd month of maintenance, and no stuck session so far. With that said, since we're now 2 months behind with Windows Updates, I have no choice but to reboot the PVS XA clients sometime this week. But it's encouraging that no session has been stuck again since the 7.7 VDA upgrade. We've been on XenDesktop 7.7 since the last maintenance window (about a month ago), and so far, no stuck sessions. Until we get another stuck session, we can't really proceed with Citrix escalation. I'm going to prevent our Citrix servers from rebooting this Friday during our monthly maintenance and see how it holds up for another month without reboot. The only "fix" we have performed so far is to simply upgrade the entire infrastructure to 7.7, with exception of the PVS Servers themselves (they are still on 7.6). Steps I took was to uninstall VDA 7.6, then install 7.7 onto the XA/Server OS servers. Upgraded Director, Studio to 7.7. Upgraded License Server to the latest recently. Upgraded to StoreFront 3. Clients in our environment got upgraded to Receiver for Windows 4.3. PVS will be upgraded to 7.7 eventually too, then the vDisks to 7.7. It's the only infrastructure item that's still on the older version. Netscaler VPX is still on v10, I think. Link to comment
0 Jonathan Pitre Posted March 19, 2016 Share Posted March 19, 2016 VDA 7.8 with the following process added to LogoffCheckSysModules works for me.AppSwitcher.exe,acrotray.exe,splwow64.exe,wisptis.exe,LyncMonitor2013.exe,SelfServicePlugin.exe,AuthManSvr.exe,concentr.exe,wfcrun32.exe,taskhost.exe,vmtoolsd.exe The list is actually longer but I removed our business specific apps. Link to comment
0 Mike Yuen Posted April 7, 2016 Share Posted April 7, 2016 We are still on PVS 7.6 (and vDisks on 7.6), but the VDAs for all other systems are 7.7. We're now 1 week after the 2nd month of maintenance, and no stuck session so far. With that said, since we're now 2 months behind with Windows Updates, I have no choice but to reboot the PVS XA clients sometime this week. But it's encouraging that no session has been stuck again since the 7.7 VDA upgrade. We are still good. We had our case closed for now. Below are the details: The issue you reported to Citrix Technical Support on 11/23/2015 has been closed. This Service Request will remain active for the next 30 days if additional troubleshooting or contact with Citrix Technical Support is required. Please find the Service Request summary below: Opened Date: 11/23/2015 Closure Date: 4/7/2016 [1] What was the problem or question? On occasion, some users cannot log in to Citrix. Director shows multiple sessions open in various states (Active, Disconnected, Connected). Trying to Disconnect or Logoff on them via Director is unsuccessful. There are no sessions shown for those users in Task Manager for those XenApp servers, but there is a "User" with the designation of "(4)" with 4 Windows processes in Disconnected state XA 7.6, PVS 7.6, Windows Server 2012 R2 [2] What steps were taken to resolve the problem or answer the question? Updated vda to 7.6.3 [3]What caused the problem or question? citrixcseengine, customer is running 2.4 version Link to comment
0 Mick Swanson Posted April 13, 2016 Share Posted April 13, 2016 I'm getting the same thing, but on a single XenDesktop 7.6 Win8.1 application (out of ~40 VMs using the same template). Event viewer shows a logoff attempt from Citrix Desktop Service... about 3 minutes later it is followed by: Winlogon Event ID 4004 - The Windows logon process has failed to terminate the currently logged on user's processes. Winsrv Event ID 10002 - The following application was terminated because it was hung: explorer.exe. The user's session doesn't show up in Citrix Studio to log off, but the user is not able to log back in afterward until I restart the entire VM. I suppose next time it happens I should probably RDP in as a different user and see what's stuck running. Link to comment
0 Mick Swanson Posted April 15, 2016 Share Posted April 15, 2016 VDA 7.8 with the following process added to LogoffCheckSysModules works for me. AppSwitcher.exe,acrotray.exe,splwow64.exe,wisptis.exe,LyncMonitor2013.exe,SelfServicePlugin.exe,AuthManSvr.exe,concentr.exe,wfcrun32.exe,taskhost.exe,vmtoolsd.exe The list is actually longer but I removed our business specific apps. This seems like something I may want to do - How did you come up with that list? I got a chance to check out my customer's XenDesktop after he managed to get it stuck logging off again. I RDP'd in as an admin and checked which processes his user account was still running and came up with this list: VDARedirector.exe - "Citrix FTA, URL VDA Redirector (32 bit)" ctxgfx.exe - "Citrix Graphics" gfxmgr.exe - "Citrix Graphics Manager" csrss.exe - "Client Server Runtime Process" dwm.exe - "Desktop Window Manager" taskhostex.exe - "Host Process For Windows Tasks" explorer.exe - "Windows Explorer" explorer.exe - "Windows Explorer" (2) winlogon.exe - "Windows Logon Application" The problem is, I don't know which of these is safe to add to LogoffCheckSysModules. From the Citrix article on the topic of that registry key, it looks like I've got two basic rules to follow: 1. Do not place the executable name of the main published application in this key 2. Do not place the executable name of a secondary process that has a visible window in this key By this, I'm assuming I can add: * VDARedirector.exe - "Citrix FTA, URL VDA Redirector (32 bit)" * ctxgfx.exe - "Citrix Graphics" * gfxmgr.exe - "Citrix Graphics Manager" * csrss.exe - "Client Server Runtime Process" * dwm.exe - "Desktop Window Manager" * taskhostex.exe - "Host Process For Windows Tasks" Winlogon.exe looks like it's already baked into LogoffCheckSysModules so I can ignore that. Jonathan Pitre - I see you've got taskhost.exe in your list so I'm guessing my taskhostex.exe is safe to add. I'm assuming explorer.exe shouldn't get added since it has a "visible window", however, it's the one thing that event viewer calls out for being hung. I'm wondering if it would be safe to add to the list as well? Just kind of talking out loud here. Any insight would be appreciated. Link to comment
0 Jonathan Pitre Posted April 18, 2016 Share Posted April 18, 2016 mswanso769, You are correct you should not add any processes with visible windows, just the hidden ones and the tray icons. Here's how I identify the processes that needs to be added. I open a seamless session and launch every apps that I have publish. Then I close all of them one by one and I take a look at the ones still running. At this point I kill the remaining one(s) until I figure which one triggers a logoff. Finally I edit the LogOffCheckSysModules value and add the problematic processes. And then I test again to ensure the session close probably. Trial and error mostly. I would not add explorer.exe else published explorer will just close automatically after launch. Hope it helps. Link to comment
0 Simon Ratcliff Posted May 3, 2016 Share Posted May 3, 2016 Is this just an issue with published apps? I see it with published desktops, Win 2012 R2, XenApp 7.6 Link to comment
0 Steffen Brendler Posted May 25, 2016 Share Posted May 25, 2016 @Simon Ratcliff, i think yes, we have the problem twice, XA7.6 Desktop and seamless APP (XA7.6), it is not reproducable. Link to comment
0 Phil Bedell Posted June 8, 2016 Share Posted June 8, 2016 I just ran into this problem today where all sessions for published App IE 11 do not log off when the users close IE. Through troubleshooting the remaining processes that were open I found that ending task on the VDARedirector.exe ("Citrix FTA, URL VDA Redirector (32 bit)" would cause the users session to log off. Using guidance from http://support.citrix.com/article/CTX891671 I added VDARedirector.exe as the "LogoffCheckSysModules" and tested. When the IE session is terminated now the session logs off as expected. I believe the VDARedirector.exe (URL and File Type Association redirector) is triggered by the launch of IE and possibly other browsers as I do not see it for users under Non-IE published app sessions. This may be the reason why the problem is difficult to reproduce. Assuming IE or other browser is not launched during the troubleshooting session. Hope this helps. Link to comment
0 Francesco Nicosia Posted June 9, 2016 Share Posted June 9, 2016 Interesting, what happens if you un-register the add-ons within the browser and do not configure the LogoffCheckSysModules for VDARedirector.exe? http://docs.citrix.com/en-us/xenapp-and-xendesktop/7/cds-deliver-landing/cds-hosted-apps-intro/laa-overview/laa-redirecting-web-content.html To unregister Add-ons on hosted desktops Internet Explorer<VDA_Installation_Folder>\VDARedirector.exe /unregIE Firefox<VDA_Installation_Folder>\VDARedirector.exe /unregFF Chrome<VDA_Installation_Folder>\VDARedirector.exe /unregChrome All browsers<VDA_Installation_Folder>\VDARedirector.exe /unregAl Link to comment
0 Manish Kumar1709151768 Posted June 17, 2016 Share Posted June 17, 2016 Hi, If you have XenApp76 on windows 2012 on hyper-v. please check and confirm the below issues are with you:- 1) your session stuck on the servers and give welcome scren or the logon process hangs at the "Welcome" screen or the "Please wait for the User Profile Service" error message window. 2) you find the session are discoonected status on the server and you can't logoff the users sessions. 3) you are reboot the servers and then it's work. Please try with the below patch "https://support.microsoft.com/en-us/kb/3132080#bookmark-prerequisites" Link to comment
0 Johan Schuurman Posted June 23, 2016 Share Posted June 23, 2016 We are experiencing the same problems in a customers environment - XenApp 7.8 with one published application (IBM Notes) - 4 CTX servers (Windows Server 2012 R2) with VDA 7.8 installed - 1 SF server (StoreFront, Studio, Director) with XenApp 7.8 installed All servers are Windows Server 2012 R2 (virtual on a VMware environment). This issue occurs almost daily, so I have to put one server in maintenance mode and reboot it every day. That is not how it should be. When this problem occurs, I see this in Taskmanager (also see screenshot) (4) Client Server Runtime Process Desktop Window Manager Windows Logon Application Windows Logon Users Interface Host I can't see the sessionname in TaskManager, but I can stil see the session in the Director. It also happens sometimes that the server crashes and reboots when I'm working on this problem. Link to comment
0 Michael Love1709152450 Posted June 23, 2016 Share Posted June 23, 2016 Same issue in 7.9 identical to Johan's description. Link to comment
0 Shannon Weir Posted June 28, 2016 Share Posted June 28, 2016 Same issue in 7.6 as Johan's Link to comment
0 Wendell Pinegar Posted June 30, 2016 Share Posted June 30, 2016 We are experiencing the same problems in a customers environment - XenApp 7.8 with one published application (IBM Notes) - 4 CTX servers (Windows Server 2012 R2) with VDA 7.8 installed - 1 SF server (StoreFront, Studio, Director) with XenApp 7.8 installed All servers are Windows Server 2012 R2 (virtual on a VMware environment). This issue occurs almost daily, so I have to put one server in maintenance mode and reboot it every day. That is not how it should be. When this problem occurs, I see this in Taskmanager (also see screenshot) (4) Client Server Runtime Process Desktop Window Manager Windows Logon Application Windows Logon Users Interface Host I can't see the sessionname in TaskManager, but I can stil see the session in the Director. It also happens sometimes that the server crashes and reboots when I'm working on this problem. @Johan, Instead of going to the Processes tab in Task Manager go to the Details tab. Right-click on the column heading and choose Select Columns. Choose to show the Session ID then sort the processes by Session ID. What processes are still running for the sessions that are hung? Have you tried killing some the sessions associated with the processes to see if the hung session will close? Link to comment
0 George Spiers1709154522 Posted July 1, 2016 Share Posted July 1, 2016 Depending on what process is hanging, you can kill the process on logoff using scripts. In my case, wfshell was the culprit http://www.jgspiers.com/citrix-logoff-hangs-wfshell/ Personally, with a hung session, I'd try killing off each process of in a process of elimination fashion using scripts until I got the one that finally allows the session to close. Link to comment
0 Johan Schuurman Posted July 12, 2016 Share Posted July 12, 2016 I've made an screenshot with the processes. Earlier I tried to kill some processes, but the server crashed. So I'm a bit afraid that the crash will happen again when I kill some processes. Link to comment
0 Steffen Brendler Posted July 27, 2016 Share Posted July 27, 2016 Hello All, our experience with thees problem as follows: - VDA - WS2012R2 full patched with XA76FP2 patched untit hotfix ICATS760WX64032 - problem occours sporadically - updated VDA with FP3 - "session hung" Problem is gone but we must update on each FP3 VDA to UPM 5.4.1 because no "logon duration" and "Profile Infos" in Director - user session details Kind Regards Steffen Link to comment
0 Wendell Pinegar Posted July 28, 2016 Share Posted July 28, 2016 @Johan, your issue sounds a lot like a known problem with XenApp 7.6 and RPM.DLL. There were some pretty significant problems with RPM.DLL in XenApp 7.6 RTM that are corrected in 7.6 FP3. Did you try a fresh install of XenApp 7.6 FP3 VDA? Have you tried 7.6 LTSR CU1? What antivirus product are you running? Link to comment
0 Michael Junger Posted August 4, 2016 Share Posted August 4, 2016 Hi all, we fixed this issue switching from MS GPO to Citrix policies. Since we have removed the Microsoft GPOs for the UPM and use now the Citrix policies (in Citrix Studio) instead we dont have this issue anymore. Please note, that the Citrix policies for UPM does not work for a delivery group but for AD OU. So maybe you have to reorganize your AD structure. After half of year having headache I hope this will help you, too. Link to comment
0 Michael Lupp Posted August 11, 2016 Share Posted August 11, 2016 Hi, did you already tried to end only the dwm.exe process of the affected user? If you do that you should get a warning message where you have to click on the checkbox and then you can click on the Button "Shut down". Sounds bad, but it only "shuts down" the User from the Server. Should not have any affect to other users on that server. What did the user before you wanted to log him off? BR Link to comment
0 Christian Rios1709155670 Posted September 14, 2016 Share Posted September 14, 2016 Hi Michael! Which version of UPM are you using through Citrix Policies (In Citrix Studio) Thanks in advance Regards Link to comment
0 Michael Junger Posted September 15, 2016 Share Posted September 15, 2016 Hi Christian, we still have XenApp 7.6 FR3 which includes UPM 5.3.0.7003. Regards. Link to comment
0 Christian Rios1709155670 Posted September 15, 2016 Share Posted September 15, 2016 Thank you Michael! Appreciate it Link to comment
Question
Benjamin Oumlsterle
Hello,
im using XenApp 7.6 on Windows Server 2012 R2 (Published Desktops).
When the user logs of the session is stuck and it looks like the screenshot in the attachments.
The following processes are running:
csrss.exe
dwm.exe
LogonUI.exe
winlogon.exe
i am not able to sign of the session.
In this moment the user is not able to login on another server.
When i kill winlogon.exe the session closes, but the user is still not able to login.
When i restart the server the problem is temporary solved..
On the DDC i got this error in event viewer:
Error ID 12346, No available ressource found for user
Any idea on this issue?
Link to comment
Top Posters For This Question
9
4
3
3
Popular Days
Jan 12
3
Jan 28
3
Jul 21
2
Nov 23
2
Top Posters For This Question
Mike Yuen 9 posts
Patrick Henle 4 posts
Guy Mcpherson 3 posts
Johan Schuurman 3 posts
Popular Days
Jan 12 2017
3 posts
Jan 28 2016
3 posts
Jul 21 2015
2 posts
Nov 23 2015
2 posts
Posted Images
73 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now