{"id":22322946,"url":"https://github.com/asheroto/uninstallteams","last_synced_at":"2025-08-08T07:19:39.742Z","repository":{"id":114849081,"uuid":"527848592","full_name":"asheroto/UninstallTeams","owner":"asheroto","description":"Uninstall Teams in less than a minute.","archived":false,"fork":false,"pushed_at":"2025-04-14T14:20:41.000Z","size":107,"stargazers_count":55,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-29T16:19:44.760Z","etag":null,"topics":["change","chat","disable","enable","erase","microsoft","microsoft-teams","powershell","powershell-module","remove","teams","uninstall","uninstaller","widget","windows"],"latest_commit_sha":null,"homepage":"https://bit.ly/UninstallTeams","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asheroto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"asheroto","ko_fi":"asheroto","patreon":"asheroto","custom":"https://www.buymeacoffee.com/asheroto"}},"created_at":"2022-08-23T05:42:56.000Z","updated_at":"2025-07-22T09:07:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"3707758f-1aa0-441f-990d-e1640f0c1fb8","html_url":"https://github.com/asheroto/UninstallTeams","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/asheroto/UninstallTeams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallTeams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallTeams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallTeams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallTeams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asheroto","download_url":"https://codeload.github.com/asheroto/UninstallTeams/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallTeams/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269381053,"owners_count":24407748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["change","chat","disable","enable","erase","microsoft","microsoft-teams","powershell","powershell-module","remove","teams","uninstall","uninstaller","widget","windows"],"created_at":"2024-12-04T01:08:52.841Z","updated_at":"2025-08-08T07:19:39.683Z","avatar_url":"https://github.com/asheroto.png","language":"PowerShell","funding_links":["https://github.com/sponsors/asheroto","https://ko-fi.com/asheroto","https://patreon.com/asheroto","https://www.buymeacoffee.com/asheroto","https://github.com/sponsors/asheroto?frequency=one-time\u0026sponsor=asheroto","https://img.buymeacoffee.com/button-api/?text=Buy","https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee\u0026emoji=\u0026slug=asheroto\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Lato\u0026outline_colour=000000\u0026coffee_colour=ffffff"],"categories":[],"sub_categories":[],"readme":"![Uninstall Teams](https://github.com/asheroto/UninstallTeams/assets/49938263/5d786fb1-6716-4636-b407-6feb1e7a48fd)\n\n[![GitHub Release Date - Published_At](https://img.shields.io/github/release-date/asheroto/UninstallTeams)](https://github.com/asheroto/UninstallTeams/releases)\n[![GitHub Downloads - All Releases](https://img.shields.io/github/downloads/asheroto/UninstallTeams/total)](https://github.com/asheroto/UninstallTeams/releases)\n[![GitHub Sponsor](https://img.shields.io/github/sponsors/asheroto?label=Sponsor\u0026logo=GitHub)](https://github.com/sponsors/asheroto?frequency=one-time\u0026sponsor=asheroto)\n\u003ca href=\"https://ko-fi.com/asheroto\"\u003e\u003cimg src=\"https://ko-fi.com/img/githubbutton_sm.svg\" alt=\"Ko-Fi Button\" height=\"20px\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.buymeacoffee.com/asheroto\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=seb6596\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Lato\u0026outline_colour=000000\u0026coffee_colour=ffffff](https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee\u0026emoji=\u0026slug=asheroto\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Lato\u0026outline_colour=000000\u0026coffee_colour=ffffff)\" height=\"40px\"\u003e\u003c/a\u003e\n\n# UninstallTeams\n\nUninstallTeams is a PowerShell script that allows you to quickly uninstall Microsoft Teams from all locations on your Windows machine. Desktop and Start Menu shortcuts are also removed.\n\nYou can also adjust the ability to access the Chat widget (Win+C) by enabling, disabling, or unsetting (default / effectively enabling). By default, the chat widget is enabled (unset). You can disable it by running the script with the `-DisableChatWidget` parameter. The `-AllUsers` parameter can be used to apply the setting to all user profiles on the machine, excluding the current one, as they are not applied to the current user profile (HKLM/HKCU registry hives).\n\nBy default when installing Microsoft Office, Teams is installed. To prevent Teams from being installed when installing Office, you can run `-EnablePreventTeamsInstall` _before_ you install Office. To re-enable Teams to be installed when installing Office, you can run `-DisablePreventTeamsInstall`. This is a machine-wide setting.\n\nIf you specify a paramter, it will not uninstall Teams. If you do not specify a parameter, it will uninstall Teams.\n\nMicrosoft Teams user data is not removed.\n\n**Note:** If you just installed Microsoft Office, you may need to restart the computer once or twice and then run UninstallTeams to prevent Teams from reinstalling.\n\n## Setup\n\n**Note:** For a stable experience, use one of the methods listed below (#1, #2, or #3) to fetch the latest version. **Using the version directly from the GitHub repository is not advised**, as it could be under active development and not fully stable.\n\n### Method 1 - PowerShell Gallery\n\n**This is the recommended method, because it always gets the public release that has been tested, it's easy to remember, and supports all parameters.**\n\nOpen PowerShell as Administrator and type\n\n```powershell\nInstall-Script UninstallTeams -Force\n```\n\nFollow the prompts to complete the installation (you can tap `A` to accept all prompts or `Y` to select them individually.\n\n**Note:** `-Force` is optional but recommended, as it will force the script to update if it is outdated.\n\nThe script is published on [PowerShell Gallery](https://www.powershellgallery.com/packages/UninstallTeams) under `UninstallTeams`.\n\n### Tip - How to trust PSGallery\n\nIf you want to trust PSGallery so you aren't prompted each time you run this command, or if you're scripting this and want to ensure the script isn't interrupted the first time it runs...\n\n```powershell\nInstall-PackageProvider -Name \"NuGet\" -Force\nSet-PSRepository -Name \"PSGallery\" -InstallationPolicy Trusted\n```\n\n### Method 2 - One Line Command (Runs Immediately)\n\nThe URL [asheroto.com/uninstallteams](https://asheroto.com/uninstallteams) always redirects to the [latest code-signed release](https://github.com/asheroto/UninstallTeams/releases/latest/download/UninstallTeams.ps1) of the script.\n\nIf you just need to run the basic script without any parameters, you can use the following one-line command:\n\n```powershell\nirm asheroto.com/uninstallteams | iex\n```\n\nDue to the nature of how PowerShell works, you won't be able to use any parameters like `-DisableOfficeTeamsInstall` with this command. You can either use Method [#1](https://github.com/asheroto/UninstallTeams#method-1---powershell-gallery), [#3](https://github.com/asheroto/UninstallTeams#method-3---download-locally-and-run), or if you absolutely need to use a one-line command with parameters, you can use the following:\n\n```powershell\n\u0026([ScriptBlock]::Create((irm asheroto.com/uninstallteams))) -DisableOfficeTeamsInstall\n```\n\n### Method 3 - Download Locally and Run\n\n-   Download the latest [UninstallTeams.ps1](https://github.com/asheroto/UninstallTeams/releases/latest/download/UninstallTeams.ps1) from [Releases](https://github.com/asheroto/UninstallTeams/releases)\n-   Run the script with `.\\UninstallTeams.ps1`\n\n## Usage\n\nIn PowerShell, type\n\n```powershell\nUninstallTeams\n```\n\nThis will execute the script and uninstall Microsoft Teams from your machine.\n\n### Parameters\n\nThese options are used independent of the main script. If you do not use any options, the script will uninstall Teams. If you use any of the options, the script will not uninstall Teams.\n\nUninstallTeams provides additional options to manage the Chat widget (Win+C) for Microsoft Teams, as well as the ability to prevent Teams from being installed when installing Microsoft Office.\n\n| Parameter                    | Description                                                                                 |\n| ---------------------------- | ------------------------------------------------------------------------------------------- |\n| `-EnableChatWidget`          | Enables the Chat widget (Win+C) for Microsoft Teams.                                        |\n| `-DisableChatWidget`         | Disables the Chat widget (Win+C) for Microsoft Teams.                                       |\n| `-UnsetChatWidget`           | Removes the Chat widget value, effectively enabling it since that is the default.           |\n| `-AllUsers`                  | Applies the Chat widget setting to all user profiles on the machine.                        |\n| `-EnableOfficeTeamsInstall`  | Enables the ability for Office to install Teams.                                            |\n| `-DisableOfficeTeamsInstall` | Disables the ability for Office to install Teams.                                           |\n| `-UnsetOfficeTeamsInstall`   | Removes the Office Teams registry value, effectively enabling it since that is the default. |\n| `-Version`                   | Outputs the current version of the script.                                                  |\n| `-Help`                      | Displays the full help information for the script.                                          |\n| `-CheckForUpdate`            | Checks for updates to the script on GitHub.                                                 |\n| `-Debug`                     | Debug information is natively supported with additional information presented if used.      |\n\n## Contributing\n\nIf you'd like to help develop this project: fork the repo, edit, then submit a pull request. 😊","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2Funinstallteams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasheroto%2Funinstallteams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2Funinstallteams/lists"}