User gets logged off right after logging in on published desktop

Since yesterday all of a sudden a few users get logged of right after the desktop appears. We are running Citrix XenApp 6.5 on Windows 2008 R2. The users log in using a published desktop. We are using TS profiles (RDP nowadays).

Already tried removing profiles etc. Same result.

Created a new user with same groups membership etc. which can login just fine.

Have been searching all day but still no solution found.

We have been running this Farm for over 2 years now and have never seen this before. I have seen some issues with messages that the user already had (or still) had a session active although this wasn't the case. dsmaint recreatelhc did the job in that case. Also after rebooting the session hosts that issue solved itself.

But this is different, although I'm under the impression this is some kind of a similar issue, but not quite sure.

We are still on XA6.5 rollup 1, because it has performed well for us over the years. We run provisioned servers with cache in device ram with overflow on hard disk. At first we ran cache on server, but since PVS 7.2 it works quit well so that's the current situation.

Any suggetions?

Already tried the LogoffCheckerStartupDelayInSeconds option ( Makes no difference other than that the user gets logged on but now after about ten seconds gets logged off..

Thanks in advance!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sekar ChinnakannuStaff EngineerCommented:
Any patches installed or changed made in gpo? if so try to revert  the same and check. Also check event logs and post the details.
issieweerAuthor Commented:
No, no updates or patches installed since last few weeks. Nor GPO changes. So nothing to revert to. Golden image was updatet on the 15th of may and has been running since.

Also the event logs don't give any errors. Not in the infra structure server, nor on the access gateway nor on the session hosts.
Sekar ChinnakannuStaff EngineerCommented:
You can try to change LogoffCheckerStartupDelayInSeconds to 400 and check for steps
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Brian CTXSupportCitrix ConsultantCommented:
400 second delay on LogoffCheckerStartupDelay???  Even if that did happen to work, I wouldn't recommend it as it's just a band-aid and not a fix to the problem that's causing that sort of delay.

Does the same issue occur if you login via RDP instead of ICA?

Also, by chance when you are seeing notification that there's an active session, can you see any sessions in a down state in Terminal Server admin?  The Citrix console will not show sessions reported in a down state, so  there could be some validity to the message you saw.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dirk KotteSECommented:
check the Microsoft RDP and Citrix licenses and the eventlogs.
issieweerAuthor Commented:
Dear All,

It happened to be an application which is used for self-service allowing clients to logoff sessions which won't reconnect. The application had gone mad. Al the users who used the Citrix Logoff application suffered because the database didn't release their accounts.

Thanks for your replies.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.