OneDrive Service comes in-build with Windows 11, and it is enabled by default to sync your files and for backup. Which quickly get filled, so if you wish to disable to sync, it gets enable so often, which fulls the space on our drive. It is quite frustrating to deal with it today; in this article, we will be sharing how you can uninstall or install OneDrive using WinGet on your Windows 11

What is WinGet

It is a Command-line client which helps you to make some processes automated with searching, downloading, installation, upgrading and like this. Where, it also allows you to download and install or uninstall OneDrive, even Microsoft Team, VirtualBox and more. So without further ado, let’s check it out.

How to Install OneDrive using WinGet

IB Photography
/ Alamy Stock Photo | AndroidGreek
  • Open Windows Run dialogue box (Shortcut key: Windows + R)
  • Type CMD, and then press Ctrl + Shift + Enter to open Command Promot as administrator
  • In CMD Window, Type winget search OneDrive and hit enter to execute
  • Next, type winget install Microsoft.OneDrive and hit enter to execute
  • Wait for it to finish the installation.

This is all you have to do for the installation OneDrive using the WinGet command on CMD. It will download and install OneDrive from Windows Package manager; that’s it. Let’s see how you can uninstall OneDrive using WinGet Command.

How to Uninstall OneDrive using WinGet

  • Open Windows Run dialogue box (Shortcut key: Windows + R)
  • Type CMD, and then press Ctrl + Shift + Enter to open Command Promot as administrator
  • In CMD Window, Type winget uninstall and hit enter to execute
  • Next, type winget install winget uninstall Microsoft.OneDrive and hit enter to execute
  • Wait for it to finish the uninstallation

That’s it; OneDrive will be uninstalled from your computer. Hopefully, this article remains helpful for you. Suppose there is any query share with us in the comment section down below. Stay tuned for further updates in future on the same.