Win11 - Prevent MS Teams from reinstalling

Configure and optimize you computer for Audio.
Post Reply New Topic
RELATED
PRODUCTS

Post

kingozrecords wrote:The Microsoft Teams chat popup thing is the worst; no matter whose guide you follow it always comes back. Computers are supposed to be simple and easy to use; talk about annoying. I guess the reason it is so, is because it re-installs itself, and there's special permissions given to the trustedinstaller built in that you can't undo in any reasonable amount of time.
It took me a week or two to come up with a working fix to this issue. But it came down to a good reddit post by Ichabod to solve it.
Screenshot 2024-01-23 034815.png
So, what he is suggesting is to create a .bat file from a text file; name it whatever. paste this text into it:

Code: Select all

Get-AppxPackage -Name *MicrosoftTeams* -AllUsers | Remove-AppPackage -AllUsersGet-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -like "*MicrosoftTeams*"} | Remove-AppxProvisionedPackage -Online

Copy-Item -Path "\\path to file\SetACL.exe" -Destination "C:\Deployments\"

C:\Deployments\SetACL.exe -on "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" -ot reg -actn setowner -ownr "n:Everyone"

C:\Deployments\SetACL.exe -on "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" -ot reg -actn ace -ace "n:Everyone;p:full"

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" /v ConfigureChatAutoInstall /t REG_DWORD /d 0 /f

C:\Deployments\SetACL.exe -on "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" -ot reg -actn setowner -ownr "n:NT Service\TrustedInstaller"

C:\Deployments\SetACL.exe -on "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" -ot reg -actn trustee -trst "n1:Everyone;n2:;ta:remtrst"

Remove-Item C:\Deployments\SetACL.exe -recurse

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Chat" /v ChatIcon /t REG_DWORD /d 3 /f
And, as dcg1k says; I added a line.

Download this: https://helgeklein.com/download/
Screenshot 2024-01-23 040357.png
press "Download the EXE version of SetACL 3.1.2 for 32-bit and 64-bit Windows" (like above).

Unzip, find "SetAcl.exe", place it in:

Code: Select all

C:\Deployments\
run the bat file, delete the deployments folder; all done.
You do not have the required permissions to view the files attached to this post.

Post

Use Win11Pro, disable defender/updates via GPO, update when you want. No more sudden updates or extras.
Soft Knees - Live 12, Diva, Omnisphere, Slate Digital VSX, TDR, Kush Audio, U-He, PA, Valhalla, Fuse, Pulsar, NI, OekSound etc. on Win11Pro R7950X & RME AiO Pro
https://www.youtube.com/@softknees/videos Music & Demoscene

Post

MS have finally added two useful settings into teams now, disable auto start and close (not minimise to system tray) and surprisingly they actually work.

Post

Shinizzle wrote: Tue Jan 23, 2024 6:04 pm MS have finally added two useful settings into teams now, disable auto start and close (not minimise to system tray) and surprisingly they actually work.
the chat still tried to open itself at the bottom left for those that upgraded to 11 from 10. That's only for a fresh install; you'd need to hunt down the .msi installer, and the image repository and rebuild; I read about it on github to have the system resources and image to do what you're saying. It's not on the windows acquisition files otherwise.

Post Reply

Return to “Computer Setup and System Configuration”