How to completely uninstall OneDrive on Windows 11

Yes, you can install or uninstall OneDrive on Windows 11, and here's how.

OneDrive WinGet installation
OneDrive WinGet installation
  • To uninstall OneDrive on Windows 11, open Command Prompt (admin) and run the “winget uninstall Microsoft.OneDrive” command.
  • You can also open Settings > Apps > Install apps and choose the Uninstall option for the “Microsoft OneDrive” app.
  • To install OneDrive on Windows 11, open Command Prompt (admin) and run the “winget install Microsoft.OneDrive” command, or you can download the installer from the Microsoft support website.

On Windows 10 (or Windows 11), you can use the Windows Package Manager (WinGet) command to uninstall or install the OneDrive sync client application. Although OneDrive is installed by default on every Windows installation, sometimes you may need to reinstall the client because it is not working correctly or because you don’t use it. 

Regardless of the reason, on Windows, in addition to downloading and installing the client manually from the Microsoft website, you can also use the WinGet tool through Command Prompt to install and uninstall the app.

WinGet is a command-line tool designed to make it easier to automate the process of searching, downloading, installing, upgrading, and configuring applications on your computer. The tool was designed for developers, but anyone can install apps like OneDrive, Microsoft Teams, and VirtualBox.

In this guide, I’ll explain how to add or remove the OneDrive application on either Windows 10 or 11.

Uninstall OneDrive on Windows 11

On Windows 11, you can remove OneDrive in at least two ways using the Settings app and Command Prompt through the Windows Package Manager tool.

Command Prompt method

To uninstall OneDrive on Windows 11 with commands, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. (Optional) Type the following command to view a list of the apps you can uninstall with the Windows Package Manager and press Enter:

    winget uninstall
  4. Type the following command to uninstall OneDrive on Windows 11 and press Enter:

    winget uninstall Microsoft.OneDrive

    WinGet uninstall OneDrive

After you complete the steps, the OneDrive sync client application will be removed from your computer.

Settings app method

To uninstall the OneDrive app from your computer, use these steps:

  1. Open Settings on Windows 11.

  2. Click on Apps.

  3. Click the Installed apps page.

    Quick note: On Windows 10, you must navigate to Settings > Apps > Apps & features.
  4. Click the three-dot button next to the “Microsoft OneDrive” app.

  5. Choose the Uninstall option.

    Settings app uninstall OneDrive

  6. Click the Uninstall option again.

Once you complete the steps, your Microsoft account will be unlinked from your computer, and the app will be completely removed.

The option to remove the sync client through the Settings app has recently been added. In the past, the only option was to use the Windows Package Manager, but that has now changed, as reflected on the Microsoft support website.

Install OneDrive on Windows 11

You can reinstall the OneDrive app using the Command Prompt or download the installer from the web.

Command Prompt method

To install OneDrive on Windows 11, use these steps:

  1. Open Start on Windows 11.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to search the app and press Enter:

    winget search OneDrive
  4. Type the following command to install OneDrive on Windows 11 (or 10) using the app ID and press Enter:

    winget install Microsoft.OneDrive

    WinGet install OneDrive

Once you complete the steps, the Windows Package Manager will automatically download and install the OneDrive app on Windows.

Offline installer method

To download and install OneDrive on your computer, use these steps:

  1. Open the Download OneDrive page.

  2. Click the Download button and save the installer on your computer.

    Microsoft download OneDrive

  3. Double-click the file to install the app. 

After you complete the steps, the app is installed on the computer.

Update March 11, 2024: This guide has been updated to ensure accuracy and reflect changes to the process.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 14 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].