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.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.
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
Download this: https://helgeklein.com/download/ 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\