How to configure an automatic Citrix Logoff


Hi there,

I’m trying to log off a users workspace session after the user logs off from windows.

Learn more, read the entire thread inside the IGEL Community o Slack

So far I was using `sessions.xlock0.options.countdown_condition_cmd` with parameter `pgrep wfica` and `sessions.xlock0.options.countdown_done_cmd` with parameter `-logoff` .

This works most of the time, but I need a 100% working configuration 😄

So my idea was to terminate the Citrix Workspace with `sessions.xlock0.options.countdown_down_cmd` instead of “just” the session.

Does anyone know how that process is called? or what I should type as parameter?

KR and thx in advance ^^


We do this.


why trying to do it overcomplicated when it can be that easy 😄

thx Barry!


The countdown timer registry keys are more of an inactivity timeout. The one above is what happens when a session ends, so different options there 🙂

for teh countdown_done_cmd, I would recomend calling

“`/usr/bin/pnlogoff“`

instead of calling wfica -logoff directly.

This will gracefully disconnect the session 🙂

Continue reading and comment on the thread ‘How to configure an automatic Citrix Logoff’.  Not a member? Join Here!

Learn more, search the IGEL Knowledge Base



Ask a question or comment on the above message thread?

Join or log in to the IGEL Community to ask us anything and meet other IGEL customers, partners, and EUC enthusiasts.

Submit a question, or Join Today!


Popular Message Threads


Categories & Tags: