<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Log Off After Disconnect not working in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2988263#M99965</link>
    <description>&lt;P&gt;This is a bit of education for your users. They don't log out correctly and thats why you get all this disconnected sessions.&lt;BR /&gt;Horizon cannot do anything for you in this. The only thing you can do, is set the log off after disconnect time very short.&lt;BR /&gt;Instruct your users to log off in Windows correctly is the only way to avoid this&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 07:07:22 GMT</pubDate>
    <dc:creator>RTVNoord</dc:creator>
    <dc:date>2023-09-26T07:07:22Z</dc:date>
    <item>
      <title>Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2885133#M95793</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;We run Horizon 8.3.0 with several different Desktop Pools. Within these desktop pools we have set the "&lt;SPAN&gt;Log Off After Disconnect" at 90 minutes.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Pool-settings.png" style="width: 606px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/92771i3E13149ABBD52360/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Pool-settings.png" alt="Pool-settings.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This setting is &lt;U&gt;not&lt;/U&gt; set in the VMware Horizon Agent GPO, but only within the Pools&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This "Log off after disconnect" setting is to make sure our lazy users who just hit the X instead of logging off &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@7D68089CE5FC1B844CFE0794BE460933/emoticons/1f624.png" alt=":face_with_steam_from_nose:" title=":face_with_steam_from_nose:" /&gt;, still will be (forced) logged off.&amp;nbsp;But.. this disconnect setting per desktop pool does not seem to work. As you can see in the image below, users are disconnected for many hours but not logged off.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Horizon-disconnected-users.png" style="width: 999px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/92770i58F1A7FE1DBD3856/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Horizon-disconnected-users.png" alt="Horizon-disconnected-users.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Finally, after the famous 10 hours (..the default setting for timeout is 10 hours) these users will finally be logged off.&lt;BR /&gt;&lt;BR /&gt;But as you can understand, that's not what we want. We want disconnected users to be logged off after 90 minutes, as set in the desktop pool. What's the bug overhere? And, how can we fix this so users are logged off after the set 90 minutes?&lt;BR /&gt;&lt;BR /&gt;Any ideas / help would be great&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@84D0B125ABBDD13E116082CCCBA171CD/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 18:35:50 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2885133#M95793</guid>
      <dc:creator>RTVNoord</dc:creator>
      <dc:date>2021-12-23T18:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2886522#M95883</link>
      <description>&lt;P&gt;Facing same issue, pls suggest&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 12:22:04 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2886522#M95883</guid>
      <dc:creator>ganeshteja55</dc:creator>
      <dc:date>2022-01-05T12:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2886644#M95886</link>
      <description>&lt;P&gt;Maybe check the global settings section and make sure it isn't set to never?&amp;nbsp; Also, I'm pretty sure every user on that list was disconnected for less than 90 minutes except for the last one.&amp;nbsp; The time on the right side isnt how long they have been offline, it is how long their session lasted before they disconnected.&amp;nbsp; So if they were connected for 4 hours and then disconnected the time on the right under the "Last session" heading will be 4 hours and the time under the duration heading will be 4 hours plus however long the session stays available after they disconnected&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 20:28:18 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2886644#M95886</guid>
      <dc:creator>rpeb1723</dc:creator>
      <dc:date>2022-01-05T20:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2894857#M96354</link>
      <description>&lt;P&gt;Did you make any progress on this? We are having the same issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 17:11:34 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2894857#M96354</guid>
      <dc:creator>jzumwalt</dc:creator>
      <dc:date>2022-02-22T17:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2894989#M96371</link>
      <description>&lt;P&gt;Sorry for the late response.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First of all, the error is not in Horizon. It is the wrong way we read the disconnect status. It is by design and cannot be modified.&lt;BR /&gt;Once you know it, it's simple.&lt;BR /&gt;&lt;BR /&gt;An explanation:&lt;/P&gt;&lt;P&gt;When a user is disconnected, the time the user is actually disconnected is the difference in time between the column: duration and last session. So you have to calculate yourself. And yes, this is very crooked.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In the example below (see also the image), you can clearly see what I mean:&lt;BR /&gt;Start Time: 2 hours 53 minutes&lt;BR /&gt;Last Session: 2 hours 5 minutes&lt;BR /&gt;This makes the total time that the user is actually disconnected: 48 minutes (Start Time - Last Session = Actual disconnect time)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In our environment I see, exactly after 1 hour, that the user is logged out.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope that makes it a bit more clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:14:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2894989#M96371</guid>
      <dc:creator>RTVNoord</dc:creator>
      <dc:date>2022-02-23T09:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2988165#M99954</link>
      <description>&lt;P&gt;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/3144653"&gt;@RTVNoord&lt;/a&gt;&amp;nbsp; Seems you didn't have issues at all like the other people, and your system was logging off disconnected sessions as it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, the log off should happen within 1 minute and it doesn't, and disconnected sessions can stay longer than 2 months as recorded over the summer when we didn't need any. Now we must clear the sessions daily or the students can't even access the remote computer lab as its full of disconnected sessions, meaning you can't connect to that PC unless you're the same person with the disconnect session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are looking at making a GP that will force computers to reboot at midnight to clear them, but this isn't the correct fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;has anyone found a fix for VM ? I checked logs, and I can see the log when someone disconnected correctly as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;log:&lt;BR /&gt;2023-09-25T05:22:29.090-06:00 INFO (11DC-1330) &amp;lt;4912&amp;gt; [wsnm_desktop] Session DISCONNECTED: sessionId=4, user DOMAIN\user, client=CYRUS, connectionId=83ee4b6c_c691_41ae_b2e8_6d2f6860f527, userDn=cn=s-1-5-21-3931225680-1871015619-2963001510-2180139,cn=foreignsecurityprincipals,dc=vdi,dc=vmware,dc=int&lt;BR /&gt;2023-09-25T08:46:33.735-06:00 INFO (11DC-1330) &amp;lt;4912&amp;gt; [wsnm_desktop] Delay JMS ENDED notification until fully logged out for sessionId=4 (timeout = 1800 seconds)&lt;BR /&gt;2023-09-25T08:46:34.745-06:00 INFO (11DC-1218) &amp;lt;TimerService&amp;gt; [wsnm_desktop] Session ENDED: sessionId=4 (delayed logoff)&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;debug:&lt;BR /&gt;2023-09-25T08:46:34.745-06:00 INFO (11DC-1218) &amp;lt;TimerService&amp;gt; [wsnm_desktop] Session ENDED: sessionId=4 (delayed logoff)&lt;BR /&gt;2023-09-25T08:46:34.745-06:00 DEBUG (11DC-1218) &amp;lt;TimerService&amp;gt; [wsnm_desktop] Publish SESSION ENDED&lt;BR /&gt;2023-09-25T08:46:34.746-06:00 DEBUG (66A0-3684) &amp;lt;Thread-3075&amp;gt; [ComponentResponse] Message is ENDED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but 98% don't disconnect and don't have that line about "delayed logoff".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 18:10:35 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2988165#M99954</guid>
      <dc:creator>CEDCHelp</dc:creator>
      <dc:date>2023-09-25T18:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2988187#M99955</link>
      <description>&lt;P&gt;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/3144653"&gt;@RTVNoord&lt;/a&gt;&amp;nbsp; did not work. still have a ton of stuck disconnected sessions not logging off. suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 20:09:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2988187#M99955</guid>
      <dc:creator>CEDCHelp</dc:creator>
      <dc:date>2023-09-25T20:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Log Off After Disconnect not working</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2988263#M99965</link>
      <description>&lt;P&gt;This is a bit of education for your users. They don't log out correctly and thats why you get all this disconnected sessions.&lt;BR /&gt;Horizon cannot do anything for you in this. The only thing you can do, is set the log off after disconnect time very short.&lt;BR /&gt;Instruct your users to log off in Windows correctly is the only way to avoid this&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 07:07:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Log-Off-After-Disconnect-not-working/m-p/2988263#M99965</guid>
      <dc:creator>RTVNoord</dc:creator>
      <dc:date>2023-09-26T07:07:22Z</dc:date>
    </item>
  </channel>
</rss>

