Remove MS Teams Personal edition - consumer edition from Windows 11

Remove MS Teams Personal edition / consumer edition from Windows 11
UPDATE 24.05.2025 : Microsoft has merged the MS Teams consumer edition with the MS Teams for Work edition. Therefore this method doesn’t work anymore.
- Open an elevated PowerShell window (Run as Administrator).
- Run the following command to remove the MS Teams consumer edition:
$MSTeams = "MicrosoftTeams"; $WinPackage = Get-AppxPackage | Where-Object { $_.Name -eq $MSTeams }; $ProvisionedPackage = Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq $WinPackage }; if ($null -ne $WinPackage) { Remove-AppxPackage -Package $WinPackage.PackageFullName }; if ($null -ne $ProvisionedPackage) { Remove-AppxProvisionedPackage -Online -Packagename $ProvisionedPackage.Packagename }; $WinPackageCheck = Get-AppxPackage | Where-Object { $_.Name -eq $MSTeams }; $ProvisionedPackageCheck = Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq $WinPackage }; if (($WinPackageCheck) -or ($ProvisionedPackageCheck)) { throw }
Authors
SysOps Engineer | IT Consultant | IT Teacher
Alexis is a SysOps Engineer and IT teacher at ETML in Lausanne. Rooted in systems and infrastructure, he combines automation and custom development with a growing interest in AI to solve practical problems. He offers IT consulting, custom solutions, and hosting.