HendersonD
Hot Shot
Hot Shot

View session not logging off properly after 10 hour timeout

We are a K-12 school district and nearly every day we have students that do not log off their View session by going to the Windows Start menu and choosing logoff. Normally this is no big deal. We have View setup with a 10 hour timeout so overnight these sessions are normally logged out and the desktop is refreshed. Over the past 6 weeks we have had these desktop try to log off after the 10 hour timeout and get stuck. When we look at them in the vSphere Console they say Logging Off on the screen. We have been running View for nearly three years and have never seen this until recently.

Any ideas?

0 Kudos
5 Replies
h3nkY
VMware Employee
VMware Employee

Seems there is something blocks logoff process.

You need to isolate the issue if there was newly installed application.

Trying to uninstall it to verify this is not the cause.

Usually, winlogon.exe (as well as csrss.exe) is waiting for internal communication with the process to close all applications.

The fastest way (but hard for user) is to suspend the VM and you can find .vmss file in the same directory of VM. Send this file to you support channel

for further analysis.

0 Kudos
HendersonD
Hot Shot
Hot Shot

I am not sure how to accomplish what you describe. Almost every morning we have a few View VMs in this state. If we go into the vSphere console and reset them, they go off, and are refreshed which would wipe out any record of the event since these are non-persistent desktops. Is there a way to force off the VM without it getting refreshed? Perhaps turning off provisioning? If I could do this and restart the VM without it being refreshed even the Windows event logs might help pinpoint the problem.

0 Kudos
h3nkY
VMware Employee
VMware Employee

You can set the VM into "maintenance" mode on View admin UI so it won't be refreshed.

0 Kudos
PhilNyeTheITGuy
Contributor
Contributor

Henderson

I'm currently having a similar issue (it may not be exactly the same).  We have a 12 hour timeout that forces log off but a few desktops a day will get hung with, Windows it trying to logoff and then it lists Taskhost.exe.  Forcing Taskhost.exe to stop obviously finishes the logoff process.  

VMware of course is now wiping their hands clean because they believe its a guest OS error, which is BS because view should be forcing the logoff.

Have you had any success? HendersonD

0 Kudos
Redbridge
Enthusiast
Enthusiast

We've had this problem since the start of the year and couldn't find anything blocking logoff, until we recently saw that the SQL Database Integrity Check on the vCenter Database was taking up to 11 hours to run, we took it out of the daily maintenance plan and have it running once a week on a sunday and haven't seen any problems with this since

0 Kudos