[THIN] Re: W2K3 Immediate Seamless Citrix Exit

  • From: "James Scanlon" <James.Scanlon@xxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 1 Feb 2011 12:34:02 -0000

You rock Jeremy - thanks again!

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Jeremy (J House Consulting)
Sent: 01 February 2011 12:02
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: W2K3 Immediate Seamless Citrix Exit



The IntervalsForLogoffCheck value has been available for years Andy, but
rarely comes up. They "recently" phased it out for
LogoffCheckerStartupDelayInSeconds, which more often than not is a
default requirement for XenApp 6 environments.

 

Glad it helped James.

 

Cheers,

Jeremy.

 

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Andy Friar
Sent: Tuesday, 1 February 2011 6:13 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: W2K3 Immediate Seamless Citrix Exit

 

Nice little find,

 

Certainly one to look out for in the future.

 

Andy

 

 

 

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of James Scanlon
Sent: 31 January 2011 17:47
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: W2K3 Immediate Seamless Citrix Exit

 

we enabled "LogoffCheckerStartupDelayInSeconds" and set to 10 seconds.

That seems to have improved things somewhat, apps certainly now not
logging off

Thanks again to everyone for your helpful input!

JS

 

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Jeremy (J House Consulting)
Sent: 30 January 2011 13:11
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: W2K3 Immediate Seamless Citrix Exit

I think you'll find that it's related to the logon process, where if the
timing is wrong and the app doesn't start up quick enough, the system
may log the session off. There are two registry keys that you can try.
IntervalsForLogoffCheck or LogoffCheckerStartupDelayInSeconds. Below is
an excerpt from my adm template. LogoffCheckerStartupDelayInSeconds is a
common requirement in XenApp 6 environments.

 

Cheers,

Jeremy.

 

CLASS MACHINE

CATEGORY "MACHINE Custom Settings"

CATEGORY "Citrix XenApp Settings"

CATEGORY "XenApp Session Settings"

 

POLICY !!CitrixIntervalsForLogoffCheck

EXPLAIN !!CitrixIntervalsForLogoffCheckExplain

KEYNAME "SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI"

PART "This setting has been superseded by the
LogoffCheckerStartupDelayInSeconds setting." TEXT

END PART

PART "IntervalsForLogoffCheck" NUMERIC REQUIRED SPIN 1000

VALUENAME "IntervalsForLogoffCheck"

DEFAULT 5000

MAX 12000

MIN 3000

END PART

 

END POLICY

POLICY !!CitrixLogoffCheckerStartupDelayInSeconds

EXPLAIN !!CitrixLogoffCheckerStartupDelayInSecondsExplain

KEYNAME "SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI"

PART "LogoffCheckerStartupDelayInSeconds" NUMERIC REQUIRED SPIN 10

VALUENAME "LogoffCheckerStartupDelayInSeconds"

DEFAULT 10

MAX 6000

MIN 5

END PART

END POLICY

 

END CATEGORY

END CATEGORY

END CATEGORY

 

[strings]

CitrixIntervalsForLogoffCheck="IntervalsForLogoffCheck - Wait for
processes to start during login process"

CitrixIntervalsForLogoffCheckExplain="When launching certain published
applications, the session was logged off before the application was
started. The issue occurred if both session and application startup took
several seconds. This fix adds support for a registry setting to
configure the time allotted before checking to determine if the session
should be logged out because no more user processes exist.\n\nThis
setting has been superseded by the LogoffCheckerStartupDelayInSeconds
setting.\n\nRequires the Rollup hotfix for MF XP 1.0 SP4 at minimum."

CitrixLogoffCheckerStartupDelayInSeconds="LogoffCheckerStartupDelayInSec
onds - Prevent a published app from immediately closing on launch"

CitrixLogoffCheckerStartupDelayInSecondsExplain="This setting allows you
to set the length of time a client session waits for an application to
start before disconnecting. The length of time, in seconds, to wait for
application start. Enter the delay time in seconds, up to 100 minutes
(6000 seconds).\n\nRequires:\n- Hotfix Rollup Pack 5 for Presentation
Server 4.0 for Windows 2000 Server.\n- Hotfix Rollup Pack 3 for XenApp
5.0 and Presentation Server 4.5 for Windows Server 2003.\n- Works with
base release of XenApp 5.0 on Windows Server 2008R1.\n- Works with base
release of XenApp 6.0 on Windows Server 2008R2."

 

 

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of James Scanlon
Sent: Saturday, 29 January 2011 11:25 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: W2K3 Immediate Seamless Citrix Exit

 

The service has been disabled for all appsense. No joy

Sincerely

James Scanlon

 

http://www.jamesscanlonmusic.com


On 29 Jan 2011, at 15:11, Andy Friar <Andy.Friar@xxxxxxxxxxx> wrote:

        This is a race condition experienced with Appsense EM & Citrix.

         

        Disable EM and test again.

         

        I believe there is a workaround i just haven't had the time to
test it.

         

        Rgds

        
        Andy

         

        
________________________________


        From: thin-bounce@xxxxxxxxxxxxx [thin-bounce@xxxxxxxxxxxxx] on
behalf of James Scanlon [scanjam@xxxxxxxxxxx]
        Sent: 29 January 2011 12:48
        To: thin@xxxxxxxxxxxxx
        Subject: [THIN] Re: W2K3 Immediate Seamless Citrix Exit

        We launch core desktop first (w2008) with pnagent publishing
apps to tier 2 (appv w2003 apps) 

         

        Where do u think the licensing issue would be? TS, ctx? Ms
licensing key??

         

        I'll check it out :) cheers
        
        Sincerely 

        James Scanlon

         

         

        
        On 28 Jan 2011, at 18:16, "Joe Shonk" <joe.shonk@xxxxxxxxx>
wrote:

                Licensing issue?

                 

                From: thin-bounce@xxxxxxxxxxxxx
[mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of James Scanlon
                Sent: Friday, January 28, 2011 10:55 AM
                To: thin@xxxxxxxxxxxxx
                Subject: [THIN] W2K3 Immediate Seamless Citrix Exit

                 

                Greetings List 

                we are having only SOME users (not all) log into Windows
2003R2 SP2, XenApp 5.0 (and R06) with a seamless app - and immediately
getting logged off (regardless of app)

                they can launch it 4-5 times without success, then 6th
time, boom they are in and using .... wait for it ... notepad! ( 

                We have 

                *       duplicated a user with the problem, removed that
user from ALL groups except ctx desktop ones - FAIL 
                *       disabled all printing services, - FAIL 
                *       disabled appsense services - FAIL 
                *       disable all citrix edgesight services 
                *       removed the mandatory profile path - FAIL 
                *       tried roaming profile - FAIL 
                *       disable all APP-V serices - FAIL 
                *       find little in the userdebug.log other than -
FAIL 
                *       removed weird DLL's launching in the APPINT

                 

                RestoreUserProfile:  Profile path = <> 
                USERENV(22c.388) 17:15:50:863 ExtractProfileFromBackup:
Failed to open key Software\Microsoft\Windows
NT\CurrentVersion\ProfileList\S-1-5-21-3123293120-245831523-2052999451-3
0645 with error 2

                USERENV(22c.388) 17:15:50:863 ExtractProfileFromBackup:
Couldn't open backup profile key.  Error = 2 
                CExtSessionLogger::Delete: Failed to DeleteInstance with
0x80041002 
                ImpersonateUser: Failed to impersonate user with 5. 
                GetUserDNSDomainName: Failed to impersonate user 

                Any ideas, or assistance would be very much
appreciated!!! 
                Cheers 

                 

                James 

                ______________________________________

                 

                C. Hoare & Co. is authorised and regulated by the
Financial Services Authority with registration no. 122093. The FSA's
address is 25, The North Colonnade, Canary Wharf, London E14 5HS.

                Registered in England no. 240822. Registered office 37
Fleet St, London, EC4P 4DQ

                 

                Confidentiality Disclaimer:

                This message and attachments are confidential and may be
privileged, and are sent for the personal attention of the addressee(s).
If you are not the intended addressee, any use, disclosure or copying of
this document is unauthorised. Information transmitted by email may be
intercepted, lost, destroyed, corrupted or delayed and as a result, C.
Hoare & Co. do not accept responsibility for any errors or omissions in
the contents of this message. If you would like to confirm the contents
of this email, please request a hard copy version.

                 

                If the contents of this message are of a personal
nature, the email will have been sent in a personal capacity and not on
behalf of C. Hoare & Co.

                 

                Monitoring/Viruses:

                C. Hoare & Co. may monitor all incoming and outgoing
emails in line with current legislation. Although emails are screened
for viruses, C. Hoare & Co. cannot guarantee that any transmissions will
be virus free.

                ________________________________________

                 

Other related posts: