UninstallTeams

1.0.1

Uninstalls Microsoft Teams and removes the Teams directory for a user.

The script stops the Teams process, uninstalls Teams from the AppData directory, removes the Teams AppxPackage, deletes the Teams directory, uninstalls Teams from the Uninstall registry key, and removes Teams from the startup registry key.

You can also optionally disable the Chat widget (Win+C) f
Uninstalls Microsoft Teams and removes the Teams directory for a user.

The script stops the Teams process, uninstalls Teams from the AppData directory, removes the Teams AppxPackage, deletes the Teams directory, uninstalls Teams from the Uninstall registry key, and removes Teams from the startup registry key.

You can also optionally disable the Chat widget (Win+C) for Microsoft Teams.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name UninstallTeams -RequiredVersion 1.0.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • asherto

Tags

PowerShell Microsoft Teams remove uninstall delete erase

Functions

Get-ChatWidgetStatus Set-ChatWidgetStatus Check-GitHubRelease GetUninstallString

Dependencies

This script has no dependencies.

Release Notes

[Version 0.0.1] - Initial Release.
[Version 0.0.2] - Fixed typo and confirmed directory existence before removal.
[Version 0.0.3] - Added support for Uninstall registry key.
[Version 0.0.4] - Added to GitHub.
[Version 0.0.5] - Fixed signature.
[Version 0.0.6] - Fixed various bugs.
[Version 0.0.7] - Added removal AppxPackage.
[Version 0.0.8] - Added removal of startup entries.
[Version 1.0.0] - Added ability to optionally disable Chat widget (Win+C) which will reinstall Teams. Major refactor of code.
[Version 1.0.1] - Added URL to -CheckForUpdates function when script is out of date.

FileList

Version History

Version Downloads Last updated
1.2.5 139,299 8/1/2024
1.2.4 82 8/1/2024
1.2.3 159,934 1/7/2024
1.2.2 8 1/7/2024
1.2.0 692 10/14/2023
1.1.4 14 10/14/2023
1.1.3 8 10/14/2023
1.1.2 313 8/30/2023
1.1.1 36 8/25/2023
1.1.0 9 8/25/2023
1.0.3 33 6/20/2023
1.0.2 8 6/20/2023
1.0.1 (current version) 8 6/20/2023
1.0.0 11 6/20/2023
0.0.8 20 5/2/2023
0.0.7 41 8/29/2022
0.0.6 15 8/29/2022
0.0.5 15 8/23/2022
0.0.3 13 8/23/2022
0.0.2 30 7/30/2022
0.0.1 15 7/30/2022
Show less