1. kovadimka

    kovadimka MDL Novice

    Mar 19, 2020
    40
    12
    0
    #20681 kovadimka, Oct 9, 2021
    Last edited: Oct 9, 2021
    It's very strange, I remove Microsoft Teams in Settings, it disappears in GUI, but it stays in WindowsApps and its icon present in system tray. Also didn't succeed to uninstall it wth Powershell.
     
  2. qommonsense

    qommonsense MDL Novice

    Mar 2, 2010
    25
    8
    0
    Couldn't this be averted by creating a registry key, taking ownership, and write protecting it?
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    There is no direct reference to Teams in registry but I think the Chat App present in the Taskbar is responsible for installing the Teams App.

    Removing the Chat App in the Taskbar may be the solution or we can add the deprovision key for Teams App and test if it gets installed or not.

     
  4. Titanos

    Titanos MDL Novice

    Dec 11, 2019
    31
    28
    0
    I just did an experiment:
    I deleted Windows Store, then connected to internet and checked for updates. I got only updates and Teams Chat wasn't installed.
    It was installed when I clicked on Continue on main window.

    chat-01.jpg
    chat-02.jpg

    So, I think store app is doing an update to chat app (or the app is pushed when store conects to apps update server).
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Of course Store back-end is required to install the Apps through system but In my test I have even removed not just the Store App but even it's Back-end component too.

    BTW as MS stated Teams Chat App is based on PWA and that's why it requires Edge Update and Edge WebView to work.

    Try adding this key to block it's deployment

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftTeams_8wekyb3d8bbwe]
    

     
  6. Bm.Lava

    Bm.Lava MDL Novice

    Nov 16, 2013
    49
    8
    0
    Can't integrate mail/calender app. Can't figure out what went wrong, checked all the dependencies. No luck.

    upload_2021-10-9_16-19-34.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Change this line in the script

    from

    Code:
    call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Mail", "%UIXaml26_Appx% %CommunicationsApps_Appx%", "%VCLibs14_Appx%", "%CommunicationsApps_License%"
    
    to

    Code:
    call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Mail", "%CommunicationsApps_Appx%", "%UIXaml26_Appx% %VCLibs14_Appx%", "%CommunicationsApps_License%"
    
     
  8. kovadimka

    kovadimka MDL Novice

    Mar 19, 2020
    40
    12
    0
    Would you be so kind to remind us the directory of Teams Chat or how to remove the icon of Teams Chat from the taskbar?
     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    #20691 MSMG, Oct 9, 2021
    Last edited: Oct 9, 2021
    (OP)
    The Chat icon present in Taskbar maybe it's just a stub installer to install the actual Teams App, it may be residing inside Windows folder, need to find out.

    The actual Teams App gets installed to Program Files\Windows Apps.

    Add this below tweaks to disable and hide Teams.

    Code:
    Windows Registry Editor Version 5.00
    
    ; Disable Microsoft Teams App from Installing
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftTeams_8wekyb3d8bbwe]
    
    ; Remove Chat Icon from Taskbar
    [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Windows Chat]
    "ChatIcon"=dword:00000003
    
    ; Disable Microsoft Teams Chat
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "TaskbarMn"=dword:00000000
    
    Do report me if it's not blocking the installation of Teams App will test further.

     
  10. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
  11. rorewe4314

    rorewe4314 MDL Member

    Jun 18, 2020
    107
    22
    10
    MSMG, Does the MSMG Toolkit support the Windows 11 RTM release?
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    The ClientWebExpereicne removal been fixed with yesterday's uploaded ToolKitHelper.exe.

    Had to rename it's directory before removing it to avoid long path name issue.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes, do use the latest version + Toolkit.cmd + ToolKitHelper.exe

     
  14. kovadimka

    kovadimka MDL Novice

    Mar 19, 2020
    40
    12
    0
    #20698 kovadimka, Oct 9, 2021
    Last edited: Oct 9, 2021
    MSMG, thanks a lot, you alone worth the whole team of MS developers!
    Now it's fine, after applying tweak the Chat icon is removed from taskbar and no signs of Teams App downloading/installing visible.
    Only [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Windows Chat] was not created and "ChatIcon"=dword:00000003 value was added in
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftTeams_8wekyb3d8bbwe]
    UPD:
    I was too fast, it appeared again))
     
  15. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes did noticed it, after some time it was installed, will check further to fix it.