1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    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%"
    
     
  2. 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?
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #20704 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.

     
  4. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    372
    107
    10
  5. rorewe4314

    rorewe4314 MDL Member

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

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    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.

     
  7. MSMG

    MSMG MDL Developer

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

     
  8. kovadimka

    kovadimka MDL Novice

    Mar 19, 2020
    40
    12
    0
    #20711 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))
     
  9. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    372
    107
    10
  10. MSMG

    MSMG MDL Developer

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

     
  11. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    372
    107
    10
    Isn't the content of the log folder?
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The remove components aren't logged since it doesn't use DISM.

     
  13. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    347
    484
    10
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210