Forum Discussion
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
- whackasstechCopper 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. - checkVTsupportCopper Contributorarturorosario
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. - LainRobertsonSilver Contributor
Have a read of this article:
Deploy Microsoft Teams with Microsoft 365 Apps - Deploy Office | Microsoft Docs
If your clients are native Azure-joined then you'd be looking to use an MDM like InTune to deliver any policy settings.
If your clients are hybrid-joined, you can leverage Active Directory group policy.
Cheers,
Lain
- arturorosarioCopper ContributorHi 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.- LainRobertsonSilver Contributor
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