Skip to main content

Pia: Log Out User from Citrix Session

Overview​

Allows the Chat User to end user's Citrix sessions.

Platforms​

The package supports the following platforms

  • Cloud Hybrid
  • On Prem

Requirements​

Citrix needs to be preconfigured to allow PIA administrative access.

Setup & Configuration​

Opt-In This is an opt-in package. Please see these steps for enabling -link

Tag The Citrix Director tag must be added to all Orchestrator agent servers with the Citrix Director role. See these steps for enabling. -link

Citrix Admin Permission From a Citrix management server run the following PowerShell commands

  1. Import-Module 'C:\Program Files\Citrix\PowerShellModules\Citrix.DelegatedAdmin.Commands\Citrix.DelegatedAdmin.Commands.psd1'
  2. New-AdminRole -Name 'PIA' -Description 'Allows PIA to manage user sessions.'
  3. Add-AdminPermission -Role 'PIA' -Permission Applications_Read, DesktopGroup_Read, DesktopGroup_SessionManagement
  4. New-AdminAdministrator -Sid 'S-1-5-18' -Enabled $true
  5. Add-AdminRight -role 'PIA' -all -Administrator 'NT AUTHORITY\SYSTEM'

Process​

The steps that the package takes during process execution are:

  1. PIA scans agents to locate any agents tagged with the Citrix Director tag.
  2. PIA uses the located directors to retrieve a list of logged-in users.
  3. A list of users is presented to the Chat User to action.
  4. Selected users are logged out.