

Get-AppxPackage MicrosoftTeams*|Remove-AppxPackage -AllUsers If you want to uninstall Teams for all users and remove it from your Windows 11 image (as a Staged app), use PowerShell:

Find Microsoft Teams in the list of installed apps and remove it (by clicking Uninstall in the menu).īut this will remove the Teams app for the current user only. To uninstall the APPX client of Teams Chat for the current user, go to Settings -> Apps -> Apps and features ( ms-settings:appsfeatures). How to Completely Uninstall Teams in Windows 11?

With this information, we can create two simple scripts to get the job done. This can be done by running: Get-AppxPackage -Name MicrosoftTeams | Remove-AppxPackage -ErrorAction stop With the remediation script, we remove the Teams app. To retrieve the name from the Teams client, run below in PowerShell: Get-AppxPackage -Name *teams* But we first need to determine what the name of the app is. In the remediation script, we check if the Teams app is installed by using the Get-AppxPackage command. Proactive remediation consists of a detection script and a remediation script. So if the app is reinstalled again, at the next scheduled run it is also removed again. The benefit of using proactive remediations is that these scripts are not run once but at a repeated schedule. But this Microsoft Teams app seems to be installed over and over again (by Windows updates I assume), so I switched to using a script with Proactive remediations which is available with Microsoft Intune.

I first used the approach to use a PowerShell script, wrapped it as win32 app, and deployed it (during Autopilot enrolment). For Windows 11, this seems not possible because of the changes in the Store.Īnother solution for Windows 10, and also for Windows 11, is to use a PowerShell script to remove those apps from Windows. Remove the built-in Teams clientįor Windows 10 we could use the store apps, and Microsoft Intune to uninstall the built-in Windows Store apps. Let’s see how easy it is to remove the Teams client and chat icon from Windows 11.
