Summary
The command CTRX_LOGOFF does not logoff user from the session
Question
The command of force logoff using CTRX_LOGOFF does not logoff user from the session. The used session still can be seen from Task Manager --> Users Tab.
Answer
The CTRX_LOGOFF work with Citrix Agent.
Please ensure Citrix Agent is install at Citrix Server.
Next , please make sure the CTRX_LOGOFF command are place before the CTRX_DISCONNECT_SERVER.
CTRX_LOGOFF need to be executed before the CTRX_DISCONNECT_SERVER.