Uninstall Built-in Teams in Windows 11 With PowerShell and Intune

This blog post will show you how to remove Microsoft Teams home edition that comes with Windows using PowerShell and Intune.

By default, new installations of Windows 11 come with Microsoft Teams Home edition, which confuses many users. In a business environment where computers are Azure Active Directory joined, there is no need to keep both versions.

Below, you can see both versions, The first one (with the blue background) is the home version, and the one below it is the business edition (also known as work or school).

PowerShell

To remove the home edition version, run the following PowerShell cmdlet.

Get-AppxPackage MicrosoftTeams*|Remove-AppxPackage -AllUsers
Get-AppxProvisionedPackage -online | where-object {$_.PackageName -like "*MicrosoftTeams*"} | Remove-AppxProvisionedPackage -online –Verbose

If you would like to use Microsoft Intune, save the script as a .PS1 file and deploy it with Intune (see this post for more details)


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.