Update 10-05-2021: Updated the script to include XenApp sessions as well. And removed some typo’s.

If you are running Microsoft Teams in a Citrix environment you know you need to have the correct version of the Citrix Workspace App (CWA). If the version is to old users don’t have an optimized Teams and so Audio/Video will not be great and more server resources are being used.

This PowerShell script will help you with that issue. You can add it to the logon script or use it to startup Teams. (then you need to tweak it a little bit though).

Yeah I know, I could shorten the script 😉 Have fun with it and leave a comment when using it or when having issues.

Yes, you need to run it IN the HDX session.


Jeroen Tielen

Experienced Consultant/Architect with a demonstrated history of working in the information technology and services industry. Skilled in Citrix, Microsoft, VMware, Ivanti, etc.

4 Comments

Ernst · May 7, 2021 at 15:03

Hi
A little addition to your script… it only works on Workstation VDA. I used this on our Server VDA’s :

$SessionId = [System.Diagnostics.Process]::GetCurrentProcess().SessionId
HKLM:\SOFTWARE\Citrix\Ica\Session\$sessionid\Connection\

to query the reg keys.

    Jeroen Tielen · May 10, 2021 at 15:37

    Thanks Ernst,

    I’ve updated the script and wiped away some typo’s 😉

Robin · July 26, 2021 at 11:28

Precies wat ik zocht.
Excellent !
Bedankt

Maik · October 13, 2021 at 14:27

Hey Jeroen,
Super…. dit was waar ik naar op zoek was! Thx!

Leave a Reply

Avatar placeholder

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: