How to Uninstall OneDrive in Windows 10

Microsoft's OneDrive is a pre-installed cloud storage service on Windows 10 that automatically syncs files from your device. However, many users find it unnecessary and prefer to uninstall it to free up space or stop notifications. In this guide, we’ll explore how to completely remove OneDrive from Windows 10.

Method 1: Uninstalling OneDrive via Control Panel

  1. Open the Control Panel. Press Win + S and type "Control Panel" in the search bar.
  2. Go to "Programs and Features." Here, you’ll see a list of all installed programs on your device.
  3. Find Microsoft OneDrive in the list. Right-click it and select “Uninstall.”
  4. Follow the uninstall wizard’s instructions. Once complete, OneDrive will be removed from your device.

Method 2: Disabling OneDrive Using Local Group Policy Editor

This method is ideal for Windows 10 Pro and Enterprise users, allowing you to disable OneDrive without removing its files. This is a good option if you want to stop syncing but might use the app again in the future.

  1. Open the Local Group Policy Editor. Press Win + R, type gpedit.msc, and press Enter.
  2. Navigate to: Computer Configuration → Administrative Templates → Windows Components → OneDrive.
  3. Double-click “Prevent the usage of OneDrive for file storage.” Select “Enabled” and click “OK.”
  4. OneDrive will now be disabled and stop running on your device.

Method 3: Uninstalling OneDrive Using Command Prompt

To completely uninstall OneDrive, you can use Command Prompt, which allows a quick and straightforward removal process.

  1. Open Command Prompt as an administrator. Press Win + X and choose “Command Prompt (Admin)” or “Windows PowerShell (Admin).”
  2. Enter the following command to stop OneDrive’s process: taskkill /f /im OneDrive.exe and press Enter.
  3. For 64-bit Windows, run: %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall.
  4. For 32-bit Windows, use: %SystemRoot%\System32\OneDriveSetup.exe /uninstall.

Method 4: Removing OneDrive’s Remaining Files

After uninstalling the program, some OneDrive folders and files may remain. To remove them, follow these steps:

  1. Open File Explorer and go to: C:\Users\Your_Username\AppData\Local\Microsoft\OneDrive.
  2. Delete all files and folders related to OneDrive.
  3. Repeat for C:\Program Files (x86)\Microsoft OneDrive and C:\Program Files\Microsoft OneDrive.