Remove Teams Chat

Removing Teams Chat (Personal) without scripts

There are many ways of getting rid of the Microsoft Teams Chat (Personal), most of the solutions are to use scripts. Scripts have many benefits depending on how they are used and applied. But you can actually remove it without using scripts.

Of course, the best solution would be for Microsoft to allow us to set the following registry value, so it never installs. (The registry key is owned by TrustedInstaller so we cannot edit this without taking ownership before we modify this)

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Communications]
ConfigureChatAutoInstall=0

https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-configurechatautoinstall

So to keep this simple, without using scripts we will simply use the Uninstall function for apps in Intune.

Download Microsoft Teams for home or small business.

First, we will need to download Teams Personal (Teams for home or small business)
Microsoft Teams Official Download Page
Make sure you select Teams for home or small business.

Teams Chat (Personal)

Extract the Teams installation file.

Using 7-zip or any other tool extract the content of the file (You do not need to do this, I just did it to get the msix download links that I have posted further down, you can skip this part and directly download the msix file if you want to)

After you extracted the MSTeamsSetup_c_l_.exe you should see a file named endpoint.json, opening this file we can see links to the msix files.

Endpoint.json content

{"pdsEndpoint":"https://teams.microsoft.com/desktopclient/installer/windows/","fallbackNextGenAppPayloadUrlX64":"https://aka.ms/maglev-x64","fallbackNextGenAppPayloadUrlX86":"https://aka.ms/maglev-x86","fallbackNextGenAppPayloadUrlARM64":"https://aka.ms/maglev-arm64","getInstallerEndpointUrl":"https://teams.live.com/downloads/getinstaller"}

You can see the download links for 64 bits package and 32 bits package. We will use the 64 bits package for this. (There is also a package for ARM)

Microsoft Teams for home or small business MSIX download links.

https://aka.ms/maglev-x86
https://aka.ms/maglev-x64
https://aka.ms/maglev-arm64

You should now have a file named: MicrosoftTeams-x64.msix

Line-of-business app in Intune

Now it’s time to add the application to Intune.

Go to Intune
Select AppsWindows apps.
Click on Add (to add a new app) Select Line-of-business app

Line of business app Intune

Select app package file and select the MicrosoftTeams-x64.msix

Upload App Package Intune

It will prepopulate the fields needed.

Now you can simply assign a user group to the Uninstall part and it will automatically uninstall Microsoft Teams for home or small business (Teams Personal/Chat)

The application will now auto install for the users in the group you have assigned it to.

0 0 votes
Article Rating
Subscribe
Notify of
guest

4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
ML ML
ML ML
1 year ago

Cool, is this also available for the Mail and Calendar App in Win11. Since the new store uninstall function is not working

Dorban
Dorban
9 months ago

Hi. I need to download the .exe file for Teams personal. When i click the lick that brings to MS page, it downloads teams for business even though I click to download teams Home. Is there any other link where I can download Teams home .exe? thank you