Forum Discussion

arturorosario's avatar
arturorosario
Copper Contributor
Mar 24, 2022

In Azure AD joined PCs, how to prevent Teams from Auto-Launch

Need to prevent Teams from auto-launching on my Azure AD joined PCs.

10 Replies

  • whackasstech's avatar
    whackasstech
    Copper Contributor

    I just used the following article: https://whackasstech.com/microsoft/msintune/how-to-disable-microsoft-teams-auto-start-with-microsoft-intune/
    Your devices need to be Intune enrolled. In Intune there is a configuration profile setting from my understanding.

  • checkVTsupport's avatar
    checkVTsupport
    Copper Contributor
    arturorosario
    If you want an alternative to this, simply have a startup script that deletes the following registry key:
    HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\TeamsMachineInstaller

    Obviously this is if you installed Teams with the Machine-Wide Installer, which is the way many companies deploy it to the computers so that all users that log in have Teams and not a per user install, thus if you have this registry key, this is what causes every user to launch Teams upon startup/login for them.
    • arturorosario's avatar
      arturorosario
      Copper Contributor
      Hi Lain,

      I did use Intune's "Prevent Microsoft Teams from starting automatically after installation (User)"
      but sadly it does not work for me. I have deployed it to ALL DEVICES and ALL USERS.
      • LainRobertson's avatar
        LainRobertson
        Silver Contributor

        arturorosario 

         

        Yeah, fair enough.

         

        Did you read the "tip" in the green box?

         

        If you are deploying the policy setting after Teams has already been used by the user, it won't work just by deploying the setting on its own. You need to include the script linked inside that green "tip" box.

         

        That script needs to be run per user, not just once per machine.

         

        Pretty clunky solution in my opinion, but this is how things are these days.

         

        Cheers,

        Lain