Microsoft Teams App

Discussion in 'Windows 11' started by alessio89g, Oct 19, 2021.

  1. alessio89g

    alessio89g MDL Member

    Jan 20, 2013
    200
    14
    10
    There is any way to prevent Microsoft Teams App to automatically install during first Internet connection (I know that I can uninstall it, or disable it to run at startup, or simply ignore it)?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    286
    94
    10
    #2 crypticus, Oct 19, 2021
    Last edited: Nov 8, 2021
    edit: u may block it before install in setupcomplete by folder restrictions
     
  3. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    There is way to remove uup app after installing first time
    With little tweak to prevent it re install again
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. alessio89g

    alessio89g MDL Member

    Jan 20, 2013
    200
    14
    10
    I use a custom image with Sysprep. The
    I use a high customized image with sysprep. During sysprep the OS remove most of the UWP apps (too many, to tell the truth… eg I need to re-enable Windows Security UI and Microsoft Store with an automated script during first starup). Microsoft Teams is removed, but during first connection it installs again.
    I need a way to deny it.
    If I correctly understand, your command don't deny the installation, but hide the icon app only.
    If you have a command for my needs, I can add it to my script and test it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. alessio89g

    alessio89g MDL Member

    Jan 20, 2013
    200
    14
    10
    Can you share your little tweak?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    #6 The.Rock, Oct 19, 2021
    Last edited: Nov 8, 2021
    it remove Chat, Widget from system Level.
    Also remove teams --> [ Teams == Chat ].
    and in case of UUP version installed, prevent it from Reinstall itself.
    thank to our friend crypticus with his icacls Idea. [ plus >echo. Trick ]

    Edit
    Update to Xd v2.0
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. thiih_

    thiih_ MDL Novice

    Mar 22, 2008
    26
    16
    0
    I've being trying to prevent Microsoft Teams auto installation too with no lucky.
    just tried this xd file and didn't work :(

    VirtualBox
    fresh install build 22000.258 with LAN disconnected
    executed "xd.cmd" and Chat Icon gets removed (and other stuff from script)
    restarted, enabled Lan connection...
    Microsoft Teams Gets Installed

    so annoying...

    does it worked for you @alessio89g ?
     
  8. alessio89g

    alessio89g MDL Member

    Jan 20, 2013
    200
    14
    10
    No, also for me it doesn't working, so I gave up, at least until (and if) someone will share a working solution here…
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    #9 The.Rock, Nov 6, 2021
    Last edited: Nov 6, 2021
    It's working :cool:
    I don't have teams icon anymore
    I can only thing of few reasons it will not work
    This script re lunch himself as system ?
    It run twice, first time as admin. Sec time as system.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    #10 The.Rock, Nov 6, 2021
    Last edited: Nov 6, 2021
    I upload debug script for you to test.
    Copy paste Log file here
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. alessio89g

    alessio89g MDL Member

    Jan 20, 2013
    200
    14
    10
    The problem is prevent Teams from installing automatically, not uninstall it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    It will not able to install after that :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. alessio89g

    alessio89g MDL Member

    Jan 20, 2013
    200
    14
    10
    Ok, I'll try the new script soon.
    One more thing: when I runned the first script, it also removed Teams Win32 app installed with Office 2021. I would like to keep it; how can I edit the script in order to do it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    Good question ⁉️
    Need to think about that
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. thiih_

    thiih_ MDL Novice

    Mar 22, 2008
    26
    16
    0
  16. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    #17 The.Rock, Nov 8, 2021
    Last edited: Nov 8, 2021

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Xtreme21

    Xtreme21 MDL Addicted

    Jun 21, 2021
    688
    999
    30
  18. thiih_

    thiih_ MDL Novice

    Mar 22, 2008
    26
    16
    0

    Attached Files:

  19. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    560
    698
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...