KeepMeLoggedIn Tool
Citrix have released a new cool tool thats is called KeepMeLoggedIn Tool
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.