This message was deleted.
# _general
s
This message was deleted.
j
have you tried GPO? User Configuration | Administrative Templates | System | Logon | Do Not process the legacy run list
n
Let me get this right, you have a published app that when launched you want to stop Teams launching, but when the same users launch a desktop session on the same VDA’s Teams still needs to auto launch?
j
I think Teams is auto-launching when the user runs the published app (which is not Teams)
And they want to stop it
But yes, if they want to launch a desktop session from the same one with Teams auto-start - well they're knackered
Unless (this is a long shot) - how about an FSLogix Masking Rule to block the app.exe process (the published app) from being able to read the HKCU\Run key?
I smell a blog post coming on here....
👍 2
s
maybe a script that looks for explorer.exe running and if it isn't it does a process kill for Teams?
n
That will work (FSLogix App Masking), assuming that app isn’t used as part of a desktop session too
j
That doesn't happen in my testing - the published app launches but Teams doesn't....however I am using HKLM currently not HKCU.....
Doesn't happen with HKCU Run entry either. Hmmm. OP seems to be exhibiting some odd behaviour.
k
Thanks for the suggestions. Trust it to be my env that's messed up... Teams is installed with alluser=1 and allusers=1 in server 2016. Shortcuts and run hklm stripped, ivanti EM desktop created conditional action to .... Ahh... Wait.. it's a process start action NOT HKCU start. I bet that's it! I'll try Monday with a plain old HKCU run with system initiated. I did try an additional (and new to me) condition in EM to NOT run teams process if the published app name matched that specified. Didn't work. Still I think it could be EM start process causing the Argy bargy. Cheers thus far all
j
Yes, that sounds much more likely. My testing shows that Citrix ignores the "Run" keys with published apps, which is what I would expect - there is often crap like SFB that gets in there, although I can definitely remember the Language bar wending its way into many published apps
k
Cheers as always, James. I'll post an update on Monday. Probably my typical EM over engineering causing a stir.
n
Yeah the shell (explorer.exe) isn’t launched for a published app, hence why “Run” doesn’t run, same goes for Active Setup. Good spot James
k
Hi All, Yes and yes. It was a case of Teams interfering and running due to an "Execute" action in Ivanti EM to run Teams. I believe I used this action to circumvent an issue with Teams not honouring the run minimized settings and by doing it this way It would if paired with the right script. Lesson learned...
Cheers to all who offered advice. Appreciated.