UninstallTeams

1.0.3

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 adjust the status of the Chat widget (Win+C)
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 adjust the status of the Chat widget (Win+C) by enabling, disabling, or unsetting (default / effectively enabling).

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.3

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.
[Version 1.0.2] - Improve description.
[Version 1.0.3] - Fixed bug with -Version.

FileList

Version History

Version Downloads Last updated
1.2.3 3,192 1/7/2024
1.2.2 6 1/7/2024
1.2.0 690 10/14/2023
1.1.4 11 10/14/2023
1.1.3 7 10/14/2023
1.1.2 299 8/30/2023
1.1.1 35 8/25/2023
1.1.0 8 8/25/2023
1.0.3 (current version) 32 6/20/2023
1.0.2 7 6/20/2023
1.0.1 7 6/20/2023
1.0.0 7 6/20/2023
0.0.8 19 5/2/2023
0.0.7 40 8/29/2022
0.0.6 14 8/29/2022
0.0.5 14 8/23/2022
0.0.3 12 8/23/2022
0.0.2 29 7/30/2022
0.0.1 14 7/30/2022
Show less