Ms teams

Uninstall Microsoft Teams

This is a script to uninstall MS Teams


This script would fetch the current user logged in and then proceed with the uninstallation. Once it has uninstalled and deleted the folders would check for the Teams folder in the user profile in App Data. If the folder is found would send an email.
In the script, the only modification that needs to be done is replacing the email address and if required the Body of the email.

  • Name: John Rai
  • Company: Kaseya
  • Website:
  • Contact Developer
  • Summary
  • Uninstall Microsoft Teams
  • Version:
  • Initially Released July 20th, 2020
  • Reviews

    Uninstall Microsoft Teams has no reviews.

    Gravatar for Oscar Carmona
    Oscar Carmona 9 months ago

    Doesn't remove the Teams Machine Wide Installer

    Gravatar for Gertjan
    Gertjan 8 months ago

    Does this work properly?

    Gravatar for M
    M 8 months ago

    It does but it's missing a step to remove the machine wide installer.

    I added a step to fix that on my end, so it does remove it all.  add a line for  uninstallbyProductGUID(39AF0813-FA7B-4860-ADBE-93B9B214B914) 

    Note that the GUID can change for different versions of teams. Mine were all that one guid, you might have to check your systems and tweak the guid or if you have more, add another line for another version guid. 

    Hope this help!

    Gravatar for Gertjan
    Gertjan 7 months ago

    Hi M, Thanks!