If users cannot be logged off through the Citrix Director it mostly can be solved by restarting the Broker Agent (Citrix Desktop Service) Service.
It’s a short procedure but if done fast and dirty can cause many errors (by OSI Layer 8). I wrote a really small script so everyone can easily restart the service.
<code>param( [string]$server ) get-service -ComputerName $server -name BrokerAgent | restart-service -Verbose</code>
Just give it to the Service Desk and they can now restart the BrokerAgent with .\restartbrokeragent.ps1 -server XA-Server