{"id":14063528,"url":"https://github.com/asheroto/UninstallOneDrive","last_synced_at":"2025-07-29T15:33:50.312Z","repository":{"id":114849101,"uuid":"527848771","full_name":"asheroto/UninstallOneDrive","owner":"asheroto","description":"Uninstall OneDrive in less than a minute.","archived":false,"fork":false,"pushed_at":"2024-01-11T09:13:27.000Z","size":41,"stargazers_count":27,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-04T01:08:50.610Z","etag":null,"topics":["delete","erase","microsoft","ms","one-drive","onedrive","powershell","remove","remover","script","uninstall","uninstaller"],"latest_commit_sha":null,"homepage":"https://bit.ly/UninstallOneDrive","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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},"funding":{"github":"asheroto","ko_fi":"asheroto","patreon":"asheroto","custom":"https://www.buymeacoffee.com/asheroto"}},"created_at":"2022-08-23T05:43:42.000Z","updated_at":"2024-11-28T20:22:26.000Z","dependencies_parsed_at":"2023-11-14T07:29:44.233Z","dependency_job_id":"65bb7205-723c-43f2-ae8c-c71af4dafe85","html_url":"https://github.com/asheroto/UninstallOneDrive","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallOneDrive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallOneDrive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallOneDrive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FUninstallOneDrive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asheroto","download_url":"https://codeload.github.com/asheroto/UninstallOneDrive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228028472,"owners_count":17858340,"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","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":["delete","erase","microsoft","ms","one-drive","onedrive","powershell","remove","remover","script","uninstall","uninstaller"],"created_at":"2024-08-13T07:03:23.019Z","updated_at":"2024-12-04T01:30:57.614Z","avatar_url":"https://github.com/asheroto.png","language":"PowerShell","readme":"![UninstallOneDrive](https://github.com/asheroto/UninstallOneDrive/assets/49938263/783d328b-5bf9-4cad-ba63-3a007bd8d0c3)\n\n[![GitHub Release Date - Published_At](https://img.shields.io/github/release-date/asheroto/UninstallOneDrive)](https://github.com/asheroto/UninstallOneDrive/releases)\n[![GitHub Downloads - All Releases](https://img.shields.io/github/downloads/asheroto/UninstallOneDrive/total)](https://github.com/asheroto/UninstallOneDrive/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# UninstallOneDrive\n\nUninstall OneDrive in less than a minute.\n\n## Features\n- OneDrive process killed\n- Multiple locations checked, including the most common locations as well as the EXE specified in the Uninstall registry key\n- Registry keys cleaned up\n- Scheduled tasks removed\n- User folders are **NOT** removed\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 UninstallOneDrive -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. If you do not use `-Force`, it will _not_ overwrite the script if outdated.\n\n#### Usage\n\n```powershell\nUninstallOneDrive\n```\n\nIf `UninstallOneDrive` is already installed, you can use the `-Force` parameter to force the script to run anyway.\n\nThe script is published on [PowerShell Gallery](https://www.powershellgallery.com/packages/UninstallOneDrive) under `UninstallOneDrive`.\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/uninstallonedrive](https://asheroto.com/uninstallonedrive) always redirects to the [latest code-signed release](https://github.com/asheroto/UninstallOneDrive/releases/latest/download/UninstallOneDrive.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/uninstallonedrive | iex\n```\n\n### Method 3 - Download Locally and Run\n\nAs a more conventional approach, download the latest [UninstallOneDrive.ps1](https://github.com/asheroto/UninstallOneDrive/releases/latest/download/UninstallOneDrive.ps1) from [Releases](https://github.com/asheroto/UninstallOneDrive/releases), then run the script as follows:\n\n```powershell\n.\\UninstallOneDrive.ps1\n```\n\n## Parameters\n\n**No parameters are required** to run the script, but there are some optional parameters to use if needed.\n\n| Parameter         | Description                                            |\n| ----------------- | ------------------------------------------------------ |\n| `-CheckForUpdate` | Checks if there is an update available for the script. |\n| `-UpdateSelf`     | Updates the script to the latest version.              |\n| `-Version`        | Displays the version of the script.                    |\n| `-Help`           | Displays the full help information for the script.     |\n\n### Example Parameters Usage\n\n```powershell\nUninstallOneDrive -UpdateSelf\n```\n\n## Contributing\n\nIf you'd like to help develop this project: fork the repo, edit, then submit a pull request. 😊","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":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2FUninstallOneDrive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasheroto%2FUninstallOneDrive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2FUninstallOneDrive/lists"}