There are two versions of Teams installation. This tutorial will use Windows 10 Build 19043.
And if you will follow along, you will need a Windows 10 computer. Removing and Reinstalling Machine-Wide Teams Installation.Updating Machine-Wide Teams Installations.Preventing Teams Installation using the Registry.Preventing Teams Installation using Group Policy.Excluding Teams Installation from the Microsoft Endpoint Manager.Excluding Teams Installation from the Office Deployment Tool.Installing Teams with Microsoft 365 Apps for Enterprise.Setting Up Teams with Microsoft 365 Apps for Enterprise.Disabling Teams Autostart using Group Policy.Disabling Teams Autostart From the Command Line.Installing the Teams Machine-Wide Installer.Discovering the Teams Installation Scope.