How to remove Windows 11 built-in Chat app in Settings?

Discussion in 'Windows 11' started by sfhfwsdq3et, Oct 6, 2021.

  1. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    maybe @mdl052020 know.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    @mdl052020 can you look at widgets component? i am searching for a way like Remove Teams.cmd for widgets
     
  3. no i dont know . Zucrin already knows that very well .
     
  4. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    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.
     
  5. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    Share how you did it ...

    Uup Teams remove will not return ever
    Replace folder with fake file :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    its an appx package so modern app. can be reinstalled later if needed. but i don't know what it does rather than widgets.
     
  8. milkom

    milkom MDL Junior Member

    Mar 25, 2017
    61
    55
    0
    I succeeded in removing Chat from settings by enabling the following policy setting

    Computer Configuration/Administrative Templates/Windows Components/Chat
     

    Attached Files:

  9. #30 Deleted member 1385001, Oct 17, 2021
    Last edited by a moderator: Oct 17, 2021
    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.
     
  10. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    I will use process monitor on this one trick :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    #32 Dark Dinosaur, Oct 17, 2021
    Last edited: Oct 17, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    #33 crypticus, Oct 17, 2021
    Last edited: Oct 17, 2021
    thanks testing now...
     
  13. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    i removed it via get-appx / Remove-appx Simple method ^^
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    #35 crypticus, Oct 17, 2021
    Last edited: Oct 17, 2021
    Reg entry works. thanks again.
     
  15. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    #36 Dark Dinosaur, Oct 17, 2021
    Last edited: Oct 18, 2021
    it seems it find component name webExp ...
    but don't see any registry key later with widget or exp
    that i can change :mad:

    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
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
  17. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    #38 Dark Dinosaur, Oct 17, 2021
    Last edited: Oct 18, 2021
    lets do it ^^

    Edit:
    Not remove it, only disable option

    Edit:
    Lets Add it anyway
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    356
    106
    10
    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
     
  19. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,755
    5,217
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...