Teams on Azure Virtual Desktop - How to disable startup

SenhorDolas 1,326 Reputation points
2022-02-07T17:38:14.797+00:00

hi
Following these docs https://learn.microsoft.com/en-us/microsoftteams/msi-deployment#use-group-policy-recommended + https://learn.microsoft.com/en-us/microsoftteams/scripts/powershell-script-teams-reset-autostart + http://woshub.com/disable-teams-autostart/ was able to achieve some results but not full.

I am able to disable Teams startup but if a user launches it then it will startup next login.

Is there a more permanent way to disable Teams from starting up?

I am using the Market Place images to build my AVD machines so Teams comes installed already.

Thanks, M

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,844 questions
Windows for business | Windows Client for IT Pros | User experience | Other
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

Accepted answer
  1. Alan Kinane 16,951 Reputation points MVP Volunteer Moderator
    2022-02-07T17:52:36.497+00:00

    I'm assuming you don't want to simply uninstall MsTeams?

    I believe MsTeams by default is now installed in machine-wide mode for the multi-session images instead of per user profile and I think the GPO option you are using is for the per-user installation.

    I think you would need to install MsTeams in the machine-wide mode but use the switch option as below to prevent it from auto-starting.

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

    I haven't tested this but this is referenced in the same link that you posted: https://learn.microsoft.com/en-us/microsoftteams/msi-deployment#disable-auto-launch-for-the-msi-installer


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.