Microsoft Teams is a chat application that delivers the best of email, voice, and video conferencing. It can be used on any device (that’s compatible) to connect with your teams in real-time — whether they’re sitting at their desks or across town. This article walks you through how to uninstall Microsoft Teams from Windows 10.
The “how to remove microsoft teams account from windows 10” is a process that IT Pros must go through if they want to uninstall Microsoft Teams on Windows 10.
Microsoft Teams may be uninstalled if you no longer need it on your PC. Doesn’t it seem to be simple? Unfortunately, it isn’t that straightforward.
Microsoft Teams comes with a lot of things to remove, and you’ll need to take certain steps to make sure it doesn’t come back. It might be aggravating to see Microsoft Teams making a comeback!
You’ll discover how to uninstall Microsoft Teams on a Windows 10 device in this post. You’ll also discover how to prevent Microsoft Teams from installing or reinstalling in the first place! Finally, you’ll discover an option to uninstalling that may be able to assist you permanently cure your issue!
Prerequisites
If you want to go through the uninstall procedure step by step, you’ll need the following:
- A machine running Windows 10 — The build 18363 of Windows 10 will be used in this tutorial.
- To delete software from a Windows 10 PC, you’ll need local administrator permissions. Check view this Microsoft Office support page if you’re not sure whether you have local administrator access.
- Microsoft Teams is already installed on your computer. MSI-based installers may be obtained in Microsoft’s documentation, and per-user installations can be downloaded via https://aka.ms/getteams.
Understanding the Installation Process for Microsoft Teams
Microsoft Teams may be installed in two ways: per-user and Per-Machine. End-users may install it themselves using the per-user technique, which does not need local admin permissions. IT teams may utilize Per-Machine to deploy to all users on a system.
Per-User
Users of Windows 10 may install Microsoft Teams by going to https://aka.ms/getteams. Because it installs inside the user’s AppData folder, Windows users do not need local administrator access. When a person downloads an app for themself, it isn’t accessible to other users on the same computer.
Per-Machine
Administrators may install Microsoft Teams using an MSI package located here for a more automated experience. MSI packages are used by administrators to install Microsoft Teams on numerous PCs.
The MSI package sets an installer within the Program Files folder when you install using the Microsoft Teams MSI package. Machine-wide installations may be found in one of two locations, depending on the system architecture:
- The Teams.exe machine-wide installer is stored in C:Program Files (x86)Teams Installer for 64-bit Windows 10.
- The Teams.exe machine-wide-installer is stored at C:Program FilesTeams Installer for 32-bit Windows 10.
When a new user logs into Windows 10, the installer installs a copy of the Microsoft Teams software in their AppData folder. The MSI installer skips the procedure if the user already has a Microsoft Teams app installed in this location.
The per-user app will automatically update to the newest version once the user has Microsoft Teams installed in their profile. For each new user login into the Windows 10 system, the MSI installer installs the Microsoft Teams software.
Microsoft Teams is uninstalled from Windows 10
You can remove an application like Teams whether it’s installed per-user or per-machine. The procedure is almost same in this case. To do so, follow these steps:
- By right-clicking the Start menu and selecting Features and Apps, you may access the Settings app. If you have a lot of applications installed, utilize the search box to discover all of them and uninstall them.
Features and Apps
2. In the Apps & features windows, search for “Teams” in the search box to find the Microsoft Teams app instances. If you installed Teams with the per-user app installer, you’d only see Microsoft Teams. If you installed Teams using the MSI, you’d also see Teams Machine-Wide Installer.
3. To uninstall the per-user software installation, pick Microsoft Teams and then Uninstall. Select Teams Machine-Wide Installer if necessary to delete the MSI package as well. You can see an example of how to achieve this in the video below.
Items in Microsoft Teams
That concludes our discussion. That’s all there is to it when it comes to uninstalling Teams. Doesn’t it seem to be straightforward? No, not at all.
Clearing the Cache of the Microsoft Teams App
When you install Microsoft Teams, it produces a cache that is not associated with the installation. On the local system, it saves information like as icons, policy settings, and message history. When uninstalling Microsoft Teams, this cache may be left behind.
Information may be saved in two folders by teams:
- Location of all users – percent AppData percent MicrosoftTeams
- AppDataRoamingMicrosoftTeams under each user profile – Per-User Location
To guarantee that Microsoft Teams is completely deleted, you must delete these directories. You may do it in any manner you like, however we’ve included a PowerShell script to assist you.
The script is as follows:
- Uses the “>Get-ChildItem command retrieves all the folders in both the all users Teams directory and each user.
- Filters the list of folders found with the “>Where-Object cmdlet only returning expected folder names
- The Remove-Item command deletes the folder and any subfolders for each of the matched directories.
## Clear the caches of all users. This reads all user subdirectories in each user folder and eliminates them all if they match ## all folder names in the cache. Where-Object Name -in (‘application cache’,’blob storage’,’databases’,’GPUcache’,’IndexedDB’,’Local Storage’,’tmp’) |’ForEach Remove-Item
Microsoft Teams may be uninstalled if you no longer need it on your PC. Doesn’t it seem to be simple? Unfortunately, it isn’t that straightforward.
Microsoft Teams comes with a lot of things to remove, and you’ll need to take certain steps to make sure it doesn’t come back. It might be aggravating to see Microsoft Teams making a comeback!
You’ll discover how to uninstall Microsoft Teams on a Windows 10 device in this post. You’ll also discover how to prevent Microsoft Teams from installing or reinstalling in the first place! Finally, you’ll discover an option to uninstalling that may be able to assist you permanently cure your issue!
Prerequisites
If you want to go through the uninstall procedure step by step, you’ll need the following:
- A machine running Windows 10 — The build 18363 of Windows 10 will be used in this tutorial.
- To delete software from a Windows 10 PC, you’ll need local administrator permissions. Check view this Microsoft Office support page if you’re not sure whether you have local administrator access.
- Microsoft Teams is already installed on your computer. MSI-based installers may be obtained in Microsoft’s documentation, and per-user installations can be downloaded via https://aka.ms/getteams.
Understanding the Installation Process for Microsoft Teams
Microsoft Teams may be installed in two ways: per-user and Per-Machine. End-users may install it themselves using the per-user technique, which does not need local admin permissions. IT teams may utilize Per-Machine to deploy to all users on a system.
Per-User
Users of Windows 10 may install Microsoft Teams by going to https://aka.ms/getteams. Because it installs inside the user’s AppData folder, Windows users do not need local administrator access. When a person downloads an app for themself, it isn’t accessible to other users on the same computer.
Per-Machine
Administrators may install Microsoft Teams using an MSI package located here for a more automated experience. MSI packages are used by administrators to install Microsoft Teams on numerous PCs.
The MSI package sets an installer within the Program Files folder when you install using the Microsoft Teams MSI package. Machine-wide installations may be found in one of two locations, depending on the system architecture:
- The Teams.exe machine-wide installer is stored in C:Program Files (x86)Teams Installer for 64-bit Windows 10.
- The Teams.exe machine-wide-installer is stored at C:Program FilesTeams Installer for 32-bit Windows 10.
When a new user logs into Windows 10, the installer installs a copy of the Microsoft Teams software in their AppData folder. The MSI installer skips the procedure if the user already has a Microsoft Teams app installed in this location.
The per-user app will automatically update to the newest version once the user has Microsoft Teams installed in their profile. For each new user login into the Windows 10 system, the MSI installer installs the Microsoft Teams software.
Microsoft Teams is uninstalled from Windows 10
You can remove an application like Teams whether it’s installed per-user or per-machine. The procedure is almost same in this case. To do so, follow these steps:
- By right-clicking the Start menu and selecting Features and Apps, you may access the Settings app. If you have a lot of applications installed, utilize the search box to discover all of them and uninstall them.
Features and Apps
2. In the Apps & features windows, search for “Teams” in the search box to find the Microsoft Teams app instances. If you installed Teams with the per-user app installer, you’d only see Microsoft Teams. If you installed Teams using the MSI, you’d also see Teams Machine-Wide Installer.
3. To uninstall the per-user software installation, pick Microsoft Teams and then Uninstall. Select Teams Machine-Wide Installer if necessary to delete the MSI package as well. You can see an example of how to achieve this in the video below.
Items in Microsoft Teams
That concludes our discussion. That’s all there is to it when it comes to uninstalling Teams. Doesn’t it seem to be straightforward? No, not at all.
Clearing the Cache of the Microsoft Teams App
When you install Microsoft Teams, it produces a cache that is not associated with the installation. On the local system, it saves information like as icons, policy settings, and message history. When uninstalling Microsoft Teams, this cache may be left behind.
Information may be saved in two folders by teams:
- Location of all users – percent AppData percent MicrosoftTeams
- AppDataRoamingMicrosoftTeams under each user profile – Per-User Location
To guarantee that Microsoft Teams is completely deleted, you must delete these directories. You may do it in any manner you like, however we’ve included a PowerShell script to assist you.
The script is as follows:
- Uses the “>Get-ChildItem command retrieves all the folders in both the all users Teams directory and each user.
- Filters the list of folders found with the “>Where-Object cmdlet only returning expected folder names
- The Remove-Item command deletes the folder and any subfolders for each of the matched directories.
## Remove the all users’ cache. This reads all user subdirectories in each user folder matching ## all folder names in the cache and removes them all Get-ChildItem -Path “C:Users*AppDataRoamingMicrosoftTeams*” -Directory | ` Where-Object Name -in (‘application cache’,’blob_storage’,’databases’,’GPUcache’,’IndexedDB’,’Local Storage’,’tmp’) | ` ForEach {Remove-Item $_.FullName -Recurse -Force} ## Remove every user’s cache. This reads all subdirectories in the $env:APPDATAMicrosoftTeams folder matching ## all folder names in the cache and removes them all Get-ChildItem -Path “$env:APPDATAMicrosoftTeams*” -Directory | ` Where-Object Name -in (‘application cache’,’blob storage’,’databases’,’GPUcache’,’IndexedDB’,’Local Storage’,’tmp’) | ` ForEach {Remove-Item $_.FullName -Recurse -Force}
Related: Using PowerShell’s Where-Object to Filter Everything
How to Delete a User Profile Using PowerShell (Step-by-Step)
Using Customization to Remove Teams from a New Office Deployment
Microsoft Teams was introduced to existing Microsoft 365 Apps installations starting in July 2019. Starting with Version 1906, the installation is done as part of the usual update procedure.
If you have a lot of Office installations to handle, Microsoft has a tool called the Office Deployment Tool that may assist (ODT). The ODT is a useful tool for downloading and installing Microsoft 365 programs on your company’s workstations.
ODT allows administrators additional control over an Office installation, including the ability to choose which products and languages are installed, how the products are updated, and whether or not the installation is visible to users.
To remove Teams from an Office deployment using ODT, follow these steps:
- The Microsoft Office Deployment Tool is available for download.
2. Open the ZIP file and extract it. There will be two files in this folder: setup.exe and configuration.xml. The folder will be placed in C:ODT for the sake of this tutorial.
3. In the XML configuration file, add Microsoft Teams as an excluded app. An sample configuration file is shown below:
- Installs Office in 64-bit mode (OfficeClientEdition=”64″)
- Updates on the Current channel (Channel=”Current”) are configured.
- Excludes Microsoft Teams (<ExcludeApp ID=”Teams”/>)
<Configuration> <Add OfficeClientEdition=”64″ Channel=”Current”> <Product ID=”O365ProPlusRetail”> <Language ID=”MatchOS” /> <ExcludeApp ID=”Teams” /> </Product> </Add> <Display Level=”None” /> </Configuration>
4. Navigate to C:ODT using a Windows command prompt or PowerShell.
5. Run the setup.exe installer given by ODT with the /configure switch, specifying the path to the sample configuration XML file.
configuration.xml setup.exe /configure
Removing Teams from an Existing Office Deployment
Use the following configuration file to remove Microsoft Teams from an existing Office installation. This configuration file varies from the previous one in that it matches the current Microsoft 365 applications installation’s version (Add Version=”MatchInstalled”) and language (Language ID=”MatchInstalled”).
<Configuration> <Add Version=”MatchInstalled”> <Product ID=”O365ProPlusRetail”> <Language ID=”MatchInstalled” TargetProduct=”All” /> <ExcludeApp ID=”Teams” /> </Product> </Add> <Display Level=”None” /> </Configuration>
Assuring that Teams are No Longer Existing
It’s possible that Microsoft Teams may reappear after you remove it. To prevent Teams from being installed again by other processes, you’ll need to utilize Group Policy or create a registry entry. Teams, for example, is often reinstalled during an Online Repair of the Microsoft 365 Apps suite.
Preventing Microsoft Teams Installations using a Registry Key
Collection a registry setting if the machine or set of computers you want to prevent Teams from installing is part of a workgroup, or if you use another tool to deliver updates to workstations.
If you’re manually changing a registry setting on a PC, follow these steps:
- To use the Windows Registry Editor, go to Start > Programs > Accessories > Windows Registry Editor.
- HKEY LOCAL MACHINESOFTWAREPolicies is where you should look. MicrosoftOffice16.0commonofficeupdate
- Create the preventteamsinstall REG DWORD value.
- To prevent Microsoft Teams from installing again, set this value to 1.
Changing the Value in the Registry
Managing Microsoft Teams Installations using Group Policy
If you’re responsible for a large number of Windows PCs in an Active Directory domain, you probably won’t want to go through each one and utilize the Registry Editor manually. You have better choices, one of which is Group Policy.
Microsoft 365 Administrative Templates, thankfully, provide alternatives to block Microsoft Teams from installation.
You’ll require Microsoft 365 administrative templates version 4882.1000, which was published on July 9, 2019. The policy you need only applies to Microsoft 365 Apps Version 1905 or later (formerly Office 365 apps).
To guarantee that Microsoft Teams remains removed, write a GPO as follows:
- Configure your domain controllers using Microsoft 365 administrative templates.
2. Create a Group Policy Object (GPO) with the name it. Disable the installation of Microsoft Teams or anything similar.
3. Inside of the GPO, navigate to Computer Configuration —> Policies —> Administrative Templates —> Microsoft Office 2016 (Machine) —> Updates.
4. Select the Setting by double-clicking it. Microsoft Teams should not be installed or enabled with new Office installs or upgrades.
Microsoft Teams will not be deployed in the following cases if you activate this policy:
- Microsoft 365 Apps are being installed for the first time.
- Microsoft 365 app updates for existing installations
- The user installs Office 365 on their own using the Office 365 interface.
- Existing Microsoft 365 Apps may be repaired online.
Enabling Microsoft Teams should not be installed with new Office installs or upgrades.
Assign the GPO to the domain or OU of machines to whom it should be applied.
How to Create a GPO Report Using PowerShell
What is Group Policy, and How Does It Work (In Depth)?
Steps to Follow
While removing Microsoft Teams is simple, ensuring that it does not reappear or be installed in the first place requires additional measures. To keep on top of your Microsoft Teams client installations, administrators and desktop support people must grasp the many elements and circumstances.
Try to discover a technique to remotely delete the program or clear the cache without having to visit the user’s computer for your next task!
Visit https://jeffbrown.tech for more Microsoft Teams content.
.FullName -Recurse -Force ## Clear the cache for each user. This reads all subdirectories in the $env:APPDATAMicrosoftTeams folder and eliminates them all, matching ## all folder names in the cache. Get-ChildItem -Path “$env:APPDATAMicrosoftTeams*” -Directory |’ForEach Remove-Item
Microsoft Teams may be uninstalled if you no longer need it on your PC. Doesn’t it seem to be simple? Unfortunately, it isn’t that straightforward.
Microsoft Teams comes with a lot of things to remove, and you’ll need to take certain steps to make sure it doesn’t come back. It might be aggravating to see Microsoft Teams making a comeback!
You’ll discover how to uninstall Microsoft Teams on a Windows 10 device in this post. You’ll also discover how to prevent Microsoft Teams from installing or reinstalling in the first place! Finally, you’ll discover an option to uninstalling that may be able to assist you permanently cure your issue!
Prerequisites
If you want to go through the uninstall procedure step by step, you’ll need the following:
- A machine running Windows 10 — The build 18363 of Windows 10 will be used in this tutorial.
- To delete software from a Windows 10 PC, you’ll need local administrator permissions. Check view this Microsoft Office support page if you’re not sure whether you have local administrator access.
- Microsoft Teams is already installed on your computer. MSI-based installers may be obtained in Microsoft’s documentation, and per-user installations can be downloaded via https://aka.ms/getteams.
Understanding the Installation Process for Microsoft Teams
Microsoft Teams may be installed in two ways: per-user and Per-Machine. End-users may install it themselves using the per-user technique, which does not need local admin permissions. IT teams may utilize Per-Machine to deploy to all users on a system.
Per-User
Users of Windows 10 may install Microsoft Teams by going to https://aka.ms/getteams. Because it installs inside the user’s AppData folder, Windows users do not need local administrator access. When a person downloads an app for themself, it isn’t accessible to other users on the same computer.
Per-Machine
Administrators may install Microsoft Teams using an MSI package located here for a more automated experience. MSI packages are used by administrators to install Microsoft Teams on numerous PCs.
The MSI package sets an installer within the Program Files folder when you install using the Microsoft Teams MSI package. Machine-wide installations may be found in one of two locations, depending on the system architecture:
- The Teams.exe machine-wide installer is stored in C:Program Files (x86)Teams Installer for 64-bit Windows 10.
- The Teams.exe machine-wide-installer is stored at C:Program FilesTeams Installer for 32-bit Windows 10.
When a new user logs into Windows 10, the installer installs a copy of the Microsoft Teams software in their AppData folder. The MSI installer skips the procedure if the user already has a Microsoft Teams app installed in this location.
The per-user app will automatically update to the newest version once the user has Microsoft Teams installed in their profile. For each new user login into the Windows 10 system, the MSI installer installs the Microsoft Teams software.
Microsoft Teams is uninstalled from Windows 10
You can remove an application like Teams whether it’s installed per-user or per-machine. The procedure is almost same in this case. To do so, follow these steps:
- By right-clicking the Start menu and selecting Features and Apps, you may access the Settings app. If you have a lot of applications installed, utilize the search box to discover all of them and uninstall them.
Features and Apps
2. In the Apps & features windows, search for “Teams” in the search box to find the Microsoft Teams app instances. If you installed Teams with the per-user app installer, you’d only see Microsoft Teams. If you installed Teams using the MSI, you’d also see Teams Machine-Wide Installer.
3. To uninstall the per-user software installation, pick Microsoft Teams and then Uninstall. Select Teams Machine-Wide Installer if necessary to delete the MSI package as well. You can see an example of how to achieve this in the video below.
Items in Microsoft Teams
That concludes our discussion. That’s all there is to it when it comes to uninstalling Teams. Doesn’t it seem to be straightforward? No, not at all.
Clearing the Cache of the Microsoft Teams App
When you install Microsoft Teams, it produces a cache that is not associated with the installation. On the local system, it saves information like as icons, policy settings, and message history. When uninstalling Microsoft Teams, this cache may be left behind.
Information may be saved in two folders by teams:
- Location of all users – percent AppData percent MicrosoftTeams
- AppDataRoamingMicrosoftTeams under each user profile – Per-User Location
To guarantee that Microsoft Teams is completely deleted, you must delete these directories. You may do it in any manner you like, however we’ve included a PowerShell script to assist you.
The script is as follows:
- Uses the “>Get-ChildItem command retrieves all the folders in both the all users Teams directory and each user.
- Filters the list of folders found with the “>Where-Object cmdlet only returning expected folder names
- The Remove-Item command deletes the folder and any subfolders for each of the matched directories.
## Remove the all users’ cache. This reads all user subdirectories in each user folder matching ## all folder names in the cache and removes them all Get-ChildItem -Path “C:Users*AppDataRoamingMicrosoftTeams*” -Directory | ` Where-Object Name -in (‘application cache’,’blob_storage’,’databases’,’GPUcache’,’IndexedDB’,’Local Storage’,’tmp’) | ` ForEach {Remove-Item $_.FullName -Recurse -Force} ## Remove every user’s cache. This reads all subdirectories in the $env:APPDATAMicrosoftTeams folder matching ## all folder names in the cache and removes them all Get-ChildItem -Path “$env:APPDATAMicrosoftTeams*” -Directory | ` Where-Object Name -in (‘application cache’,’blob storage’,’databases’,’GPUcache’,’IndexedDB’,’Local Storage’,’tmp’) | ` ForEach {Remove-Item $_.FullName -Recurse -Force}
Related: Using PowerShell’s Where-Object to Filter Everything
How to Delete a User Profile Using PowerShell (Step-by-Step)
Using Customization to Remove Teams from a New Office Deployment
Microsoft Teams was introduced to existing Microsoft 365 Apps installations starting in July 2019. Starting with Version 1906, the installation is done as part of the usual update procedure.
If you have a lot of Office installations to handle, Microsoft has a tool called the Office Deployment Tool that may assist (ODT). The ODT is a useful tool for downloading and installing Microsoft 365 programs on your company’s workstations.
ODT allows administrators additional control over an Office installation, including the ability to choose which products and languages are installed, how the products are updated, and whether or not the installation is visible to users.
To remove Teams from an Office deployment using ODT, follow these steps:
- The Microsoft Office Deployment Tool is available for download.
2. Open the ZIP file and extract it. There will be two files in this folder: setup.exe and configuration.xml. The folder will be placed in C:ODT for the sake of this tutorial.
3. In the XML configuration file, add Microsoft Teams as an excluded app. An sample configuration file is shown below:
- Installs Office in 64-bit mode (OfficeClientEdition=”64″)
- Updates on the Current channel (Channel=”Current”) are configured.
- Excludes Microsoft Teams (<ExcludeApp ID=”Teams”/>)
<Configuration> <Add OfficeClientEdition=”64″ Channel=”Current”> <Product ID=”O365ProPlusRetail”> <Language ID=”MatchOS” /> <ExcludeApp ID=”Teams” /> </Product> </Add> <Display Level=”None” /> </Configuration>
4. Navigate to C:ODT using a Windows command prompt or PowerShell.
5. Run the setup.exe installer given by ODT with the /configure switch, specifying the path to the sample configuration XML file.
configuration.xml setup.exe /configure
Removing Teams from an Existing Office Deployment
Use the following configuration file to remove Microsoft Teams from an existing Office installation. This configuration file varies from the previous one in that it matches the current Microsoft 365 applications installation’s version (Add Version=”MatchInstalled”) and language (Language ID=”MatchInstalled”).
<Configuration> <Add Version=”MatchInstalled”> <Product ID=”O365ProPlusRetail”> <Language ID=”MatchInstalled” TargetProduct=”All” /> <ExcludeApp ID=”Teams” /> </Product> </Add> <Display Level=”None” /> </Configuration>
Assuring that Teams are No Longer Existing
It’s possible that Microsoft Teams may reappear after you remove it. To prevent Teams from being installed again by other processes, you’ll need to utilize Group Policy or create a registry entry. Teams, for example, is often reinstalled during an Online Repair of the Microsoft 365 Apps suite.
Preventing Microsoft Teams Installations using a Registry Key
Collection a registry setting if the machine or set of computers you want to prevent Teams from installing is part of a workgroup, or if you use another tool to deliver updates to workstations.
If you’re manually changing a registry setting on a PC, follow these steps:
- To use the Windows Registry Editor, go to Start > Programs > Accessories > Windows Registry Editor.
- HKEY LOCAL MACHINESOFTWAREPolicies is where you should look. MicrosoftOffice16.0commonofficeupdate
- Create the preventteamsinstall REG DWORD value.
- To prevent Microsoft Teams from installing again, set this value to 1.
Changing the Value in the Registry
Managing Microsoft Teams Installations using Group Policy
If you’re responsible for a large number of Windows PCs in an Active Directory domain, you probably won’t want to go through each one and utilize the Registry Editor manually. You have better choices, one of which is Group Policy.
Microsoft 365 Administrative Templates, thankfully, provide alternatives to block Microsoft Teams from installation.
You’ll require Microsoft 365 administrative templates version 4882.1000, which was published on July 9, 2019. The policy you need only applies to Microsoft 365 Apps Version 1905 or later (formerly Office 365 apps).
To guarantee that Microsoft Teams remains removed, write a GPO as follows:
- Configure your domain controllers using Microsoft 365 administrative templates.
2. Create a Group Policy Object (GPO) with the name it. Disable the installation of Microsoft Teams or anything similar.
3. Inside of the GPO, navigate to Computer Configuration —> Policies —> Administrative Templates —> Microsoft Office 2016 (Machine) —> Updates.
4. Select the Setting by double-clicking it. Microsoft Teams should not be installed or enabled with new Office installs or upgrades.
Microsoft Teams will not be deployed in the following cases if you activate this policy:
- Microsoft 365 Apps are being installed for the first time.
- Microsoft 365 app updates for existing installations
- The user installs Office 365 on their own using the Office 365 interface.
- Existing Microsoft 365 Apps may be repaired online.
Enabling Microsoft Teams should not be installed with new Office installs or upgrades.
Assign the GPO to the domain or OU of machines to whom it should be applied.
How to Create a GPO Report Using PowerShell
What is Group Policy, and How Does It Work (In Depth)?
Steps to Follow
While removing Microsoft Teams is simple, ensuring that it does not reappear or be installed in the first place requires additional measures. To keep on top of your Microsoft Teams client installations, administrators and desktop support people must grasp the many elements and circumstances.
Try to discover a technique to remotely delete the program or clear the cache without having to visit the user’s computer for your next task!
Visit https://jeffbrown.tech for more Microsoft Teams content.
.FullName -Recurse -Force |’Where-Object Name -in (‘application cache’,’blob storage’,’databases’,’GPUcache’,’IndexedDB’,’Local Storage’,’tmp’)
Related: Using PowerShell’s Where-Object to Filter Everything
How to Delete a User Profile Using PowerShell (Step-by-Step)
Using Customization to Remove Teams from a New Office Deployment
Microsoft Teams was introduced to existing Microsoft 365 Apps installations starting in July 2019. Starting with Version 1906, the installation is done as part of the usual update procedure.
If you have a lot of Office installations to handle, Microsoft has a tool called the Office Deployment Tool that may assist (ODT). The ODT is a useful tool for downloading and installing Microsoft 365 programs on your company’s workstations.
ODT allows administrators additional control over an Office installation, including the ability to choose which products and languages are installed, how the products are updated, and whether or not the installation is visible to users.
To remove Teams from an Office deployment using ODT, follow these steps:
- The Microsoft Office Deployment Tool is available for download.
2. Open the ZIP file and extract it. There will be two files in this folder: setup.exe and configuration.xml. The folder will be placed in C:ODT for the sake of this tutorial.
3. In the XML configuration file, add Microsoft Teams as an excluded app. An sample configuration file is shown below:
- Installs Office in 64-bit mode (OfficeClientEdition=”64″)
- Updates on the Current channel (Channel=”Current”) are configured.
- Excludes Microsoft Teams (<ExcludeApp ID=”Teams”/>)
<Configuration> <Add OfficeClientEdition=”64″ Channel=”Current”> <Product ID=”O365ProPlusRetail”> <Language ID=”MatchOS” /> <ExcludeApp ID=”Teams” /> </Product> </Add> <Display Level=”None” /> </Configuration>
4. Navigate to C:ODT using a Windows command prompt or PowerShell.
5. Run the setup.exe installer given by ODT with the /configure switch, specifying the path to the sample configuration XML file.
configuration.xml setup.exe /configure
Removing Teams from an Existing Office Deployment
Use the following configuration file to remove Microsoft Teams from an existing Office installation. This configuration file varies from the previous one in that it matches the current Microsoft 365 applications installation’s version (Add Version=”MatchInstalled”) and language (Language ID=”MatchInstalled”).
<Configuration> <Add Version=”MatchInstalled”> <Product ID=”O365ProPlusRetail”> <Language ID=”MatchInstalled” TargetProduct=”All” /> <ExcludeApp ID=”Teams” /> </Product> </Add> <Display Level=”None” /> </Configuration>
Assuring that Teams are No Longer Existing
It’s possible that Microsoft Teams may reappear after you remove it. To prevent Teams from being installed again by other processes, you’ll need to utilize Group Policy or create a registry entry. Teams, for example, is often reinstalled during an Online Repair of the Microsoft 365 Apps suite.
Preventing Microsoft Teams Installations using a Registry Key
Collection a registry setting if the machine or set of computers you want to prevent Teams from installing is part of a workgroup, or if you use another tool to deliver updates to workstations.
If you’re manually changing a registry setting on a PC, follow these steps:
- To use the Windows Registry Editor, go to Start > Programs > Accessories > Windows Registry Editor.
- HKEY LOCAL MACHINESOFTWAREPolicies is where you should look. MicrosoftOffice16.0commonofficeupdate
- Create the preventteamsinstall REG DWORD value.
- To prevent Microsoft Teams from installing again, set this value to 1.
Changing the Value in the Registry
Managing Microsoft Teams Installations using Group Policy
If you’re responsible for a large number of Windows PCs in an Active Directory domain, you probably won’t want to go through each one and utilize the Registry Editor manually. You have better choices, one of which is Group Policy.
Microsoft 365 Administrative Templates, thankfully, provide alternatives to block Microsoft Teams from installation.
You’ll require Microsoft 365 administrative templates version 4882.1000, which was published on July 9, 2019. The policy you need only applies to Microsoft 365 Apps Version 1905 or later (formerly Office 365 apps).
To guarantee that Microsoft Teams remains removed, write a GPO as follows:
- Configure your domain controllers using Microsoft 365 administrative templates.
2. Create a Group Policy Object (GPO) with the name it. Disable the installation of Microsoft Teams or anything similar.
3. Inside of the GPO, navigate to Computer Configuration —> Policies —> Administrative Templates —> Microsoft Office 2016 (Machine) —> Updates.
4. Select the Setting by double-clicking it. Microsoft Teams should not be installed or enabled with new Office installs or upgrades.
Microsoft Teams will not be deployed in the following cases if you activate this policy:
- Microsoft 365 Apps are being installed for the first time.
- Microsoft 365 app updates for existing installations
- The user installs Office 365 on their own using the Office 365 interface.
- Existing Microsoft 365 Apps may be repaired online.
Enabling Microsoft Teams should not be installed with new Office installs or upgrades.
Assign the GPO to the domain or OU of machines to whom it should be applied.
How to Create a GPO Report Using PowerShell
What is Group Policy, and How Does It Work (In Depth)?
Steps to Follow
While removing Microsoft Teams is simple, ensuring that it does not reappear or be installed in the first place requires additional measures. To keep on top of your Microsoft Teams client installations, administrators and desktop support people must grasp the many elements and circumstances.
Try to discover a technique to remotely delete the program or clear the cache without having to visit the user’s computer for your next task!
Visit https://jeffbrown.tech for more Microsoft Teams content.
The “uninstall microsoft teams command line” is a command-line tool that allows users to uninstall Microsoft Teams on Windows 10.
Related Tags
- uninstall microsoft teams windows 11
- how to uninstall microsoft teams windows 7
- uninstall microsoft teams ubuntu
- uninstall microsoft teams powershell
- microsoft teams registry keys