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%"
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?
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.
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.
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))