@mdl052020 can you look at widgets component? i am searching for a way like Remove Teams.cmd for widgets
Ok thanks, i removed it by component completely. now i need to remove chat/teams as component too. since its cleaner @zucrin btw for teams remove script you might want to add folder inherit restrictions? since that registery protection might fail in the future.
its an appx package so modern app. can be reinstalled later if needed. but i don't know what it does rather than widgets.
I succeeded in removing Chat from settings by enabling the following policy setting Computer Configuration/Administrative Templates/Windows Components/Chat
appxpackage complete removal i think is via getting srdrepository database write permission then remove triggers set to block isinbox app policy to 0 then set isinbox to 0 & execute appxpackage removal pwsh command via safe OGV param so that user will know which packages to remove or which to not via selecting apps from User Grid View & press ok i see lots of ?s . shared absolutely correct way to remove them according to M$ structure. in win11 sechealthui plus desktopappinstaller is now on provisioned apppackages but same non removable policy is applied via M$ so that users cant remove them but the correct srdrepository tweak will remove them from an current w11 system. Only this i can share via my side rest users can create a script for the same according to the scenario i have mentined but user must be good at sqlite commandline interface for this to work correctly as well as wont remove those triggers whch will create issue in there systemapps . be carefull. it needs research about many factors but users are always eager to get a pre created solution & then will criticize dev of the script that his or her script is worst script they have ever seen in this IT world. Very good keep going great way to criticize hard workers so that they will stop sharing there projects online on any forums world. Edit: One more thing i forgot to say that these words of mine dont apply to people asking help here on this thread of MDL forums so as no any misunderstanding will arrose due to some ?s. i hope people with good intention always will understand the Concrete Point of View with Concrete Evidenced Material.
it seems it find component name webExp ... but don't see any registry key later with widget or exp that i can change v4.0 Fixed Version Code: :: Remove Chat >nul 2>&1 REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v TaskbarMn /t REG_DWORD /d 0 >nul 2>&1 REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Chat" /f /v ChatIcon /t REG_DWORD /d 3 :: Remove Widget >nul 2>&1 REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v TaskbarDa /t REG_DWORD /d 0 >nul 2>&1 REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh" /f /v AllowNewsAndInterests /t REG_DWORD /d 0 >nul 2>&1 REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" /f /v EnableFeeds /t REG_DWORD /d 0 >nul powershell -noprofile -executionpolicy bypass -command "Get-AppxPackage -Name *WebExperience* | Foreach {Remove-AppxPackage $_.PackageFullName}" >nul powershell -noprofile -executionpolicy bypass -command "Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match 'WebExperience' } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -PackageName $_.PackageName }" Remove desktop Switch. Code: >nul 2>&1 REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v ShowTaskViewButton /t REG_DWORD /d 0
Good morning. I tried various scripts to remove Microsoft Teams, after some time reappears. I don't know if there is some other method. Thanks
try here --> https://forums.mydigitallife.net/threads/microsoft-teams-app.84327/#post-1703073 Or here --> https://forums.mydigitallife.net/threads/microsoft-teams-app.84327/#post-1703089