VMware Horizon Community
Stevend0
Contributor
Contributor

Microsoft Teams does not launch in Client Pool.

We used VM OSOT tool to optimize our gold images and for some reason, i could not launch MS Teams after deploying to client pool. It will execute and close right away in Task manager. And, I installed as a MSI option. Does anyone know how to fix this issue? Thanks.

Tags (1)
Reply
0 Kudos
9 Replies
scott28tt
VMware Employee
VMware Employee

Which VMware product are you using?


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Stevend0
Contributor
Contributor

VMware Vsphere 6 Desktop Host

Reply
0 Kudos
Shreyskar
VMware Employee
VMware Employee

Hi

Do you mean you are running horizon desktop pool and Teams fails to launch there? If yes, this thread can be moved to Horizon.

What is the template version you selected while running OS optimization tool?

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Horizon?

You should also note that OSOT is a Fling, therefore not formally supported.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator: Thread moved to the Horizon area.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Stevend0
Contributor
Contributor

I looked thru the discussions and found similar issues such as printer redirection and enable window update and most of them can be fixed through registry keys and local group policy. So I think this is probably a right place to bring up my issue. I think OSOT tool has disabled some registry keys which prevent MS Teams from running. I am hoping that you guys could shed a light on this issue and that's all. Thanks.

Reply
0 Kudos
Shreyskar
VMware Employee
VMware Employee

Hi

Which template did you use to run OS optimization? I hope you have gone through Best Practices for Delivering Microsoft Office 365 in VMware Horizon 7 | VMware  to deploy office365 with horizon desktop pool.

Also what exactly happens when you run teams on VDI? Can you provide any screenshot or error message when it fails? This will help to further trace down the issue.

Reply
0 Kudos
Stevend0
Contributor
Contributor

Unfortunately, our gold image was configured by someone else, i don't any information about the template. I have tried multiple versions of Teams and none of them are working. When i excute the application (exe), it will show installation process and create a new shortcut on desktop, nothing else, it does neither launch a login window nor display any error messages.

Reply
0 Kudos
kvmw2130
VMware Employee
VMware Employee

If you are using pool, power on parent image and perform below procedure:

Uninstall Teams and Clean Up Profiles of teams:

  • Uninstall the Teams app installed for every user profile. For more information, see Uninstall Microsoft Teams.
  • Delete the directory recursively under %localappdata%\Microsoft\Teams\.
  • Delete the HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\PreventInstallationFromMsi registry value.
  • Redeploy the MSI package to that particular computer.

Then Open elevated command prompt and install teams in all user mode:

msiexec /i Teams_windows_x64.msi OPTIONS="noAutoStart=true" ALLUSERS=1

If it is non persistent then follow : https://communities.vmware.com/people/kvmw2130/blog/2020/05/29/microsoft-teams-with-vmware-vdi-app-v...

Then take a snapshot and recompose the pool. For more information about this please refer: https://docs.microsoft.com/en-us/microsoftteams/msi-deployment