CTX128579
Feature Pack 1 for Presentation Server 4.5,Presentation Server 4.5 for Windows Server 2003,Presentation Server 4.5 for Windows Server 2003 x64 Edition,XenApp 5.0 for Windows Server 2003 x64,XenApp 5.0 for Windows Server 2003 x86,XenApp 5.0 for Windows Ser
Feature Pack 1 for Presentation Server 4.5,Presentation Server 4.5 for Windows Server 2003,Presentation Server 4.5 for Windows Server 2003 x64 Edition,XenApp 5.0 for Windows Server 2003 x64,XenApp 5.0 for Windows Server 2003 x86,XenApp 5.0 for Windows Ser
Tools and Resources
2015-12-15
2012-03-10
Download KeepMeLoggedIn.zip. /supportkc/filedownload?uri=/filedownload/ CTX128579/KeepMeLoggedIn.zip. Citrix Support. ...

KeepMeLoggedIn

Created Date: 2011/02/18

Description

KeepMeLoggedIn allows a user to quickly open published applications by leveraging session sharing. KeepMeLoggedIn keeps a user session opened after the last user process exits; it then exits when the timeout value expires causing the user session to close.

If a new application launches while KeepMeLoggedIn is still running, session sharing kicks in and the launched application should open quickly on the client machine (by avoiding opening a new session and re-using the existing user session).

KeepMeLoggedIn does not have any visible window and only works for ICA seamless sessions. It exits automatically if the session is an ICA published desktop or an RDP session.

Prerequisites

Microsoft Visual C++ 2010 Redistributable Package (x86) must be installed on the XenApp server prior to using KeepMeLoggedIn: http://www.microsoft.com/downloads/en/details.aspx?familyid=A7B7A05E-6DE6-4D3A-A423-37BF0912DB84&displaylang=en.

Installing KeepMeLoggedIn

For Windows 2008 and Windows 2008 R2:

Copy KeepMeLoggedIn.exe to C:\Users\Public\ and modify the registry key below as follows:

Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use the Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Type:
REG_SZ
Value:
Userinit = C:\Windows\system32\userinit.exe,c:\Users\Public\KeepMeLoggedIn.exe

For Windows 2003:

Copy KeepMeLoggedIn.exe to C:\Document and Settings\ All Users\ and modify the registry key below as follows:

Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use the Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Type:
REG_SZ
Value:
Userinit = C:\Windows\system32\userinit.exe,”C:\Document and Settings\ All Users\KeepMeLoggedIn.exe”

How to use KeepMeLoggedIn

KeepMeLoggedIn has a default timeout value of 120 seconds, that is, it exits two minutes after the last process in the user session was closed.

A local administrator of the XenApp server can configure this timeout value by setting the following registry key:

Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use the Registry Editor at your own risk. Be sure to back up the registry before you edit it.

For 32bit:

Name: HKEY_LOCAL_MACHINE\Software\Citrix\KeepMeLoggedIn
Type:
REG_DWORD
Value:
Timeout = time in seconds (decimal value)

For 64bit:

Name: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Citrix\KeepMeLoggedIn
Type:
REG_DWORD
Value:
Timeout = time in seconds (decimal value)

For example, a timeout value of 3600 (decimal) keeps the session open for one hour after the last process was closed by the user.

KeepMeLoggedIn also supports the LogoffCheckSysModules registry key described in CTX891671 – Graceful Logoff from a Published Application Renders the Session in Active State in order to exclude some processes from being monitored.

Follow the guidelines in the above article while adding a process to this list.

Note: Do not rename KeepMeLoggedIn.exe or if you do, add the new executable name to the LogoffCheckSysModules registry key described above.

Uninstalling KeepMeLoggedIn

For Windows 2008 and Windows 2008 R2:

Delete KeepMeLoggedIn.exe from C:\Users\Public\ and restore the Userinit registry key to its original value:

Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use the Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Type:
REG_SZ
Value:
Userinit = C:\Windows\system32\userinit.exe,

Note: The comma at the end of the line is present by default in any Microsoft Windows Operating System.

For Windows 2003:

Delete KeepMeLoggedIn.exe from C:\Document and Settings\ All Users\ and restore the Userinit registry key to its original value:

Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use the Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Type: REG_SZ

Value: Userinit = C:\Windows\system32\userinit.exe,

Note: The comma at the end of the line is present by default in any Microsoft Windows Operating System.

Security Permissions Required by KeepMeLoggedIn

None

Data Modified by KeepMeLoggedIn

None

How to Undo the Changes Made by KeepMeLoggedIn

Not Applicable

Contact Information

Questions? Concerns? Send any feedback for this tool to supporttools@citrix.com.

Disclaimer

These software applications are provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.

 

Join the conversation

Citrix Discussions

Open a case

Citrix Support

特别说明


本文来源为Citrix.com所有,翻译后版权归翻译者所有.如需转载请注明出处.

文档版本


.

广告招租


最新留言


.

广告招租


.