Contents

Hide Citrix Session

Website Visitors:
Contents

Issue:

User clicks on an app in netscaler gateway portal. It shows cannot start app APPNAME for all the apps in the netscaler gateway portal.

Troubleshooting:

Citrix DDC event viwer shows

The citrix broker service failed to broker a connection for user DOMAIN\USERID to resource APPNAME. The virtual machine VDI1.company.com rejected a request to prepare itself for a connection. This problem usually indicates that the VM is engaged in an activity such as restarting, entering a suspended state or processing a recent disconnection or logoff.

Please restart the VM.

When logged into the VDI, there is no session. Citrix Director doesn’t show the session. But in Citrix studio session is visible.

Solution:

Using below command, session was hidden from the studio.

1
2
asnp citrix\*
get-brokersession -username domain\userid | set-brokersession -hidden $true

Hidden sessions are treated as though they do not exist when brokering sessions; a hidden session cannot be reconnected to, but a new session may be launched using the same entitlement. Immediately user can access the apps.

Want to learn more on Citrix Automations and solutions???

Subscribe to get our latest content by email.

If you like our content, please support us by sponsoring on GitHub below: