GithubHelp home page GithubHelp logo

asheroto / uninstallonedrive Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 1.0 41 KB

Uninstall OneDrive in less than a minute.

Home Page: https://bit.ly/UninstallOneDrive

PowerShell 100.00%
erase microsoft onedrive remove uninstall one-drive delete ms powershell remover script uninstaller

uninstallonedrive's Introduction

UninstallOneDrive

GitHub Release Date - Published_At GitHub Downloads - All Releases GitHub Sponsor Ko-Fi Button

UninstallOneDrive

Uninstall OneDrive in less than a minute.

Features

  • OneDrive process killed
  • Multiple locations checked, including the most common locations as well as the EXE specified in the Uninstall registry key
  • Registry keys cleaned up
  • Scheduled tasks removed
  • User folders are NOT removed

Setup

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.

Method 1 - PowerShell Gallery

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.

Open PowerShell as Administrator and type

Install-Script UninstallOneDrive -Force

Follow the prompts to complete the installation (you can tap A to accept all prompts or Y to select them individually.

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.

Usage

UninstallOneDrive

If UninstallOneDrive is already installed, you can use the -Force parameter to force the script to run anyway.

The script is published on PowerShell Gallery under UninstallOneDrive.

Tip - How to trust PSGallery

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

Install-PackageProvider -Name "NuGet" -Force
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted

Method 2 - One Line Command (Runs Immediately)

The URL asheroto.com/uninstallonedrive always redirects to the latest code-signed release of the script.

If you just need to run the basic script without any parameters, you can use the following one-line command:

irm asheroto.com/uninstallonedrive | iex

Method 3 - Download Locally and Run

As a more conventional approach, download the latest UninstallOneDrive.ps1 from Releases, then run the script as follows:

.\UninstallOneDrive.ps1

Parameters

No parameters are required to run the script, but there are some optional parameters to use if needed.

Parameter Description
-CheckForUpdate Checks if there is an update available for the script.
-UpdateSelf Updates the script to the latest version.
-Version Displays the version of the script.
-Help Displays the full help information for the script.

Example Parameters Usage

UninstallOneDrive -UpdateSelf

Contributing

If you'd like to help develop this project: fork the repo, edit, then submit a pull request. ๐Ÿ˜Š

uninstallonedrive's People

Contributors

asheroto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

vavavr00m

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.