TechBuzzPro

How to Uninstall OneDrive on Windows

· 4 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can uninstall OneDrive on Windows, but the method depends on your Windows version. On Windows 10 and 11, OneDrive is deeply integrated, so complete removal requires using Command Prompt or PowerShell, not just the standard Apps & Features menu. This guide shows how to fully remove or disable OneDrive safely, what it affects, and how to reverse it if needed.

What You'll Need

  • A Windows PC running Windows 10 or 11 (Home, Pro, or Enterprise)
  • Administrator access to run system commands
  • Optional: external or alternative cloud storage (like Google Drive or Dropbox) if you rely on cloud syncing
  • Basic familiarity with Command Prompt or PowerShell

Step-by-Step

  1. Close OneDrive first. Right-click the OneDrive cloud icon in the system tray (near the clock) and select Close OneDrive. If you don’t see it, open Task Manager (Ctrl+Shift+Esc), find Microsoft OneDrive under Processes, right-click it, and choose End task.
  2. Open File Explorer and go to C:\Users\[YourUsername]\OneDrive. Back up any files you want to keep to an external drive or another folder. Uninstalling OneDrive does not automatically delete your files, but it’s safer to move them manually.
  3. Determine your Windows version. Press Win + R, type winver, and press Enter. Note whether it's 32-bit or 64-bit. This matters for the correct uninstall command.
  4. Open Command Prompt as Administrator. Press Win + X and choose Command Prompt (Admin) or Windows PowerShell (Admin) from the menu. Click Yes if prompted by User Account Control.
  5. Enter the correct uninstall command based on your system architecture:
    • For 64-bit Windows: "C:\Program Files (x86)\Microsoft OneDrive\Setup.exe" /uninstall
    • For 32-bit Windows: "C:\Program Files\Microsoft OneDrive\Setup.exe" /uninstall
    Press Enter. The process runs silently and may take 10–20 seconds. No confirmation message appears when done.
  6. Restart your computer. After reboot, OneDrive should no longer run at startup or appear in File Explorer.
  7. Verify removal. Open Task Manager and check the Processes tab for any OneDrive entries. Also, open File Explorer and look under Quick Access or Desktop for OneDrive folders. If folders remain, you can safely delete them after confirming your files are backed up.

Common Mistakes

  • Not closing OneDrive first: If OneDrive is running, the uninstall command may fail or produce errors. Always end the process via Task Manager.
  • Using the wrong command path: Entering the wrong directory (e.g., Program Files instead of Program Files (x86)) will result in “file not found” errors. Double-check your system type and path.
  • Skipping backup: Even though uninstalling doesn’t delete files, leaving them in the OneDrive folder after removal can make them hard to access later. Always back up first.
  • Expecting full removal on all Windows versions: On Windows 11 Home, OneDrive may automatically reinstall after updates. Complete removal is more stable on Pro or Enterprise editions.

Tips

  • If you plan to reinstall OneDrive later, note that you can redownload it from the Microsoft website or use the command "C:\Program Files (x86)\Microsoft OneDrive\Setup.exe" (without /uninstall) if the file still exists.
  • To disable OneDrive without uninstalling, go to Settings > Apps > Startup and turn off OneDrive. This stops it from launching at login but keeps it available.
  • Use Group Policy (available on Windows Pro/Enterprise) to disable OneDrive system-wide. Open gpedit.msc, navigate to Administrative Templates > Windows Components > OneDrive, and enable Prevent the usage of OneDrive for file storage.
  • For users on shared PCs, removing OneDrive can improve privacy and reduce background resource usage.

Troubleshooting

  • Command returns “file not found”: The OneDrive installation path may be missing or corrupted. First, check if the Microsoft OneDrive folder exists in C:\Program Files or C:\Program Files (x86). If not, OneDrive may have been removed already, or the system uses a different method (common on some OEM builds).
  • OneDrive reappears after reboot: This often happens on Windows 11 Home. Microsoft integrates OneDrive more tightly in consumer editions. In this case, disable it via Startup settings or use a third-party script only if you trust the source (not recommended for average users).
  • Files still appear in File Explorer: The OneDrive folder may remain as a shell namespace item. You can remove it via Registry Editor (regedit), but this is advanced. Navigate to HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}, set the System.IsPinnedToNameSpaceTree value to 0. Back up the registry first.
  • Uninstall command runs but OneDrive still starts: Some Windows updates re-enable OneDrive. After uninstalling, check for pending updates and consider pausing feature updates temporarily if removal is critical.

Frequently Asked Questions

Can I reinstall OneDrive after uninstalling?

Yes. You can reinstall OneDrive by downloading it from the official Microsoft website or signing into a Microsoft account, which may trigger a reinstall prompt.

Does uninstalling OneDrive delete my files?

No, your files remain in the OneDrive folder unless you manually delete them. Always back up important data before uninstalling.

Why can’t I uninstall OneDrive from Apps & Features?

OneDrive is a system-integrated app on Windows 10 and 11. It doesn’t appear in the standard uninstall list because Microsoft treats it as a core component.

Will removing OneDrive improve system performance?

Slightly. It stops background syncing and reduces startup load, but the impact is usually minimal on modern PCs.

Is it safe to remove OneDrive?

Yes, it’s safe. Windows functions normally without OneDrive. You lose cloud sync with Microsoft services, but local file management is unaffected.

Does this work on Windows 11?

Yes, the same steps work on Windows 11, but OneDrive may return after major updates, especially on Home edition.