This message was deleted.
# citrix-vad
s
This message was deleted.
d
You could check the client with parts of my “Citrix client notification” script and if the user is connected with HTML5 you could block Teams.exe with FSLogix AppMasking 😉. You could set an environment variable for the client platform and use this variable for the AppMasking rule. Hmmm, great idea! I will create a script for that 😁 Citrix/Citrix Client notification at main · Mohrpheus78/Citrix (github.com)
d
I already looked at your script (great content btw 🙂 ) and the respective registry keys. Will get back here once I found out more.
d
It’s difficult to define a filter for the AppMasking rule. Only environment variables present at sign-on are supported. Environment variables set during sign-on aren’t supported. So, an environment variable is not the way to go. But what else???
d
Maybe old school technology with placing teams.exe in HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun ? It's the respective registry setting for "Don't run specified Windows applications". Poor peoples app locker 😄
j
why not just disabling Teams (headset/mic are not available) if not optimized using the reg key. so the user still can chat but no audio/video meeting.
d
Where would I disable this?
j
HKCU\Software\Microsoft\Office\Teams, DisableFallback (DWORD) set to 1.
j
So that actually disables A/V on Teams?
j
yes if not optimized
j
I've got to test this, wasn't aware of it
@Dennis do you know of an easy way to "force" Teams to be non-optimized? I guess I could just use an old client 🙂 wondering if you have any tricks around this to save time
j
it works great, I've been using the same for Skype.
d
@James Rankin Not the right Dennis, but can't you just connect via HTML5 to test it?
j
you're right, html5 won't offload.
j
I was just wondering if there was a flag I could set that would force it - can easily use HTML5 though, good point
d
So setting the DisableFallback key is everything I need to do to disable A/V? No prior HTML detection via other regkeys?
j
that's all you need yes, easy.
d
Thanks a lot. My Teams GPO just has GPPs for customizing the registry for now. Might consider WEM in the future 😄 Its a pity that MS has no real GPOs for Teams
@jvitech I just set HKCU\Software\Microsoft\Office\Teams, DisableFallback (DWORD) to 1 as advised, but Teams AV is still available when connecting through HTML5. Any hints?
As per https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/multimedia/opt-ms-teams.html If Microsoft Teams fails to load in optimized VDI mode (“Citrix HDX Not Connected” in Teams/About/Version), the VDA falls back to legacy HDX technologies like Webcam redirection and client audio and microphone redirection. Note that if you are using a Workspace app version/platform OS that does not support Teams optimization, fallback registry keys do not apply IMO that means that HTML5 does not respect the fallback regkeys
j
Setting that to 1 works for me, you get a message saying "calling is unavailable" at the top of the screen. And it is HTML5 I am using to test it, so yes it does respect them
it means the CWA version, the full client
d
Strange
j
Works for me on three different customers 🤷‍♂️
What Citrix Workspace App version is installed on the client you are using to connect?
d
2102
j
I'm using 2010
d
Lol after killing CWA via the tray icon it works
How does the HTML5 access know about this?
Okay, now it doesn't make sense anymore. After clicking around from one chat to another it enables AV again
j
It works for me, nothing special to do except this reg key 🧐