<?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: Cannot logoff while Windows session is locked in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438021#M10517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems this is a common problem. Doesn't any else got any related issues??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It breaks a some user friendliness when users need to close the whole View client to get a new desktop, if not they only get a local administer user logon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems the credentials is not passed to the new desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: We also use F5 as loadbalancing cluser with persistent rule to the last logged on connection server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 09:20:17 GMT</pubDate>
    <dc:creator>prime_id2</dc:creator>
    <dc:date>2014-12-17T09:20:17Z</dc:date>
    <item>
      <title>Cannot logoff while Windows session is locked</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438019#M10515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have thought this was by design since I cant find any information about this.&lt;/P&gt;&lt;P&gt;But this is there a workaround so that the View client can still logoff user even if the session is locked?&lt;/P&gt;&lt;P&gt;The only way to logoff for the user is to unlock Windows and logoff from View client menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use Windows 8.1 with VMware View 5.3.1. &lt;/P&gt;&lt;P&gt;Linked-clones non-persistent pool&lt;/P&gt;&lt;P&gt;Windows Server 2012 R2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: We have removed the logoff button in Windows because we want only one way(from View client) for users logoff to keep simplicity. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 13:49:35 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438019#M10515</guid>
      <dc:creator>prime_id2</dc:creator>
      <dc:date>2014-11-28T13:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot logoff while Windows session is locked</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438020#M10516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the Error message "the remote session cannot be logged off because it is locked.Please unlock the remote session and try again "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround: From the pool Settings&amp;gt;Under Remote Settings &amp;gt;Automatically logoff After Disconnect &amp;gt;Immediately so whenever a user would close the View client or disconnect the View Client he would be logged off &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 08:25:04 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438020#M10516</guid>
      <dc:creator>Gaurav_Baghla</dc:creator>
      <dc:date>2014-12-01T08:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot logoff while Windows session is locked</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438021#M10517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems this is a common problem. Doesn't any else got any related issues??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It breaks a some user friendliness when users need to close the whole View client to get a new desktop, if not they only get a local administer user logon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems the credentials is not passed to the new desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: We also use F5 as loadbalancing cluser with persistent rule to the last logged on connection server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 09:20:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438021#M10517</guid>
      <dc:creator>prime_id2</dc:creator>
      <dc:date>2014-12-17T09:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot logoff while Windows session is locked</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438022#M10518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have the same Issue. We have a couple of Users who we can not logoof while the Windows session is locked. Have anybody a solution for this Issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 21:10:39 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438022#M10518</guid>
      <dc:creator>Yorick1</dc:creator>
      <dc:date>2015-04-28T21:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot logoff while Windows session is locked</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438023#M10519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can disable the ability to lock the workstation, which we did, and which made this issue go away, but the problem is that doing so introduces another issue noted in a KB article in which the only resolution is to &lt;EM&gt;enable&lt;/EM&gt; workstation locking.&amp;nbsp; This issue has been frustrating us for awhile now.&amp;nbsp; The closest I can get is running a script to force logoffs, and then noting which users it fails for and manually sending a VM reset (looking at the Sessions, sorting by Status so Disconnected are at the top).&amp;nbsp; Save the code below as something like "Logoff.ps1" and kick it off from PowerCLI on one of the Connection Brokers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$DisconnectedSessions = Get-RemoteSession -State "Disconnected" | Sort&lt;/P&gt;&lt;P&gt;foreach ($DisconnectedSession in $DisconnectedSessions) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; Send-SessionLogoff -Session_id $DisconnectedSession.session_id&lt;/P&gt;&lt;P&gt;&amp;nbsp; write-host "$($DisconnectedSession.username) has been logged off."&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That at least makes it easy to see which sessions are going to hang up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 06:50:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438023#M10519</guid>
      <dc:creator>JHT_Seattle</dc:creator>
      <dc:date>2015-04-30T06:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot logoff while Windows session is locked</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438024#M10520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the vm you wan to log someone out of, use the reset or remove button in horizon view admin or use reset in vsphere. Once the computer reboots, the user will not be logged in anymore. Sometimes this results in the vm being falgged with status "already used"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use "psexec \\computername logoff 1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where 1 is usually the session number of the logged in user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 18:14:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438024#M10520</guid>
      <dc:creator>EricNichols</dc:creator>
      <dc:date>2016-01-14T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot logoff while Windows session is locked</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438025#M10521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;expected?&lt;/P&gt;&lt;P&gt;i guess you might be right. why have an option and then have that option work..&lt;/P&gt;&lt;P&gt;why not? right? because reasons?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/73790i3E0DCFD20D79B6A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click logoff session, click ok on confirmation, fail. &lt;/P&gt;&lt;P&gt;yeah, that is right inline with vmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so no, this to me is not an expected behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me guess, this too will be ignored and never looked into or resolved.&lt;/P&gt;&lt;P&gt;vmware already has the overpriced $$. just keep pushing out unreliable products.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:34:05 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Cannot-logoff-while-Windows-session-is-locked/m-p/438025#M10521</guid>
      <dc:creator>brickleberry</dc:creator>
      <dc:date>2017-07-07T12:34:05Z</dc:date>
    </item>
  </channel>
</rss>

