How to hide all disabled Citrix XenApp applications in 7.X

While preparing a new farm, I realised that there is no GUI feature to hide a disabled application in XenApp 7.X unlike it was in 6.X.

This is causing issues for users when trying to open a disabled app. They will receive a error message “The resource you requested is no longer available from the server or you are no longer permitted to access it.” or similar.

At this time there is no option to do this from within Citrix Studio. But you can do it easily using PowerShell.

This 3 lines will hide all disabled apps at once.

asnp citrix.*
$app = Get-BrokerApplication -Enabled $false
Set-BrokerApplication -InputObject $app -Visible $false

Was this useful for you? Please leave comment.

3 thoughts on “How to hide all disabled Citrix XenApp applications in 7.X

  1. just write Appname. No need to put “-InputObject” as that was for calling a variable.

    Set-BrokerApplication Appname -Visible $false

  2. Hi Casey

    Whats the error message?

  3. Mathias,
    I am trying to hide an individual application. I’m not even going to show all the different syntax I have tried. It seems like this should work but doesn’t:
    Set-BrokerApplication -InputObject Appname -Visible $false

    Thanks!

Leave a Reply to Mathias Irmer Cancel reply

Your email address will not be published. Required fields are marked *

eleven + 11 =