sodcalculator

10 Tech How-To

Remove OneDrive from Windows 10: A Step-by-Step Guide

Guide 10-33727 · Updated · Step by step

This guide shows you how to completely remove OneDrive from Windows 10, including uninstalling the app, disabling it at startup, and clearing leftover files. You’ll stop the sync client from running and free up system resources. No special tools are needed—just administrator access to your PC.

What You’ll Need

  • Administrator account on your Windows 10 PC
  • If you have files in OneDrive, back them up or move them elsewhere first (see FAQ).

Step-by-Step

  1. Close OneDrive completely. Right-click the OneDrive cloud icon in the system tray (bottom-right near the clock). Select Exit. If you don’t see the icon, click the upward arrow to show hidden icons.
  2. Uninstall OneDrive via Settings. Press Windows + I to open Settings. Go to Apps > Apps & features. In the search box, type “OneDrive”. Click on the result and select Uninstall. Confirm if prompted.
  3. If OneDrive is not in the list, it may be a built-in app. Open a Command Prompt as administrator (search “cmd”, right-click, Run as administrator). Type the following and press Enter:
    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
    For 32-bit Windows, use %SystemRoot%\System32\OneDriveSetup.exe /uninstall.
  4. Disable OneDrive from starting automatically. Press Ctrl + Shift + Esc to open Task Manager. Go to the Startup tab. Find “Microsoft OneDrive”, right-click it, and select Disable. If it’s not there, skip this step.
  5. Remove leftover OneDrive folders. Open File Explorer and navigate to C:\Users\YourUsername. If you see a folder named “OneDrive”, you can delete it if you no longer need the files. Also check C:\Users\YourUsername\AppData\Local\Microsoft and delete the “OneDrive” folder there. Be careful: the AppData folder is hidden by default; enable View > Hidden items to see it.
  6. Unregister OneDrive from the registry (optional but thorough). Press Windows + R, type regedit, and press Enter. Navigate to HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}. Right-click the key and select Permissions, then click Advanced. Change the owner to your user account and check “Replace owner on subcontainers and objects”. Close the dialog, then select Full control for your user. Now you can delete the key. Repeat for HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} if it exists. Warning: Editing the registry incorrectly can harm your system. Back up the registry before making changes (File > Export).
  7. Restart your PC. After rebooting, OneDrive should no longer appear in the system tray or Start menu.

Common Mistakes

  • Not exiting OneDrive before uninstalling – The uninstaller may fail or leave processes running.
  • Deleting the OneDrive folder without backing up – You lose all synced files permanently.
  • Skipping the registry step – OneDrive may still appear in context menus or auto-start.
  • Using the wrong uninstall command for your Windows architecture – Check if your Windows is 32-bit or 64-bit (Settings > System > About).

Tips

  • If you only want to stop OneDrive from syncing but keep the app, you can pause syncing or sign out instead of uninstalling.
  • After uninstalling, check the Startup tab again to ensure no OneDrive entry remains.
  • To prevent future updates from reinstalling OneDrive, you can block it via Group Policy (Windows 10 Pro/Enterprise) or by setting the registry key DisableFileSyncNGSC to 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive.
  • If you use Office 365, OneDrive integration in Office apps may still appear; you can disable it in Office settings.

Troubleshooting

OneDrive still appears after uninstall. Run the uninstall command again as administrator. Then restart and check the Startup tab. If it persists, use the registry method to remove the CLSID key.

Uninstall button is grayed out. This can happen if OneDrive is running. Exit it completely from the system tray. If that doesn’t help, use the command-line uninstaller.

OneDrive folder is locked or cannot be deleted. Close all File Explorer windows and try again. If the folder is still in use, restart your PC and delete it immediately after boot.

OneDrive reinstall after Windows update. Windows may reinstall OneDrive during feature updates. To prevent this, use the Group Policy or registry method mentioned in Tips.

System tray icon still shows after uninstall. This is usually a leftover icon cache. Restart your PC or log off and on again.

Frequently Asked Questions

Will uninstalling OneDrive delete my files? No, uninstalling the app does not delete your local OneDrive folder. However, if you delete the folder during the process, you will lose files that aren’t backed up elsewhere.

Can I reinstall OneDrive later? Yes. You can download the installer from Microsoft’s website or find it in the Windows Store. It will reinstall and you can sign in again.

Does uninstalling OneDrive affect Windows updates? No, Windows updates do not require OneDrive. It is an optional component.

How do I stop OneDrive from syncing without uninstalling? Right-click the OneDrive icon, select Settings, go to the Account tab, and click Stop sync. You can also pause syncing temporarily.

Is it safe to edit the registry to remove OneDrive? Yes, if you follow the steps carefully and back up the registry first. Incorrect changes can cause system instability, so proceed with caution.

Why does OneDrive keep coming back? Windows 10 may reinstall OneDrive during major updates. Using Group Policy or the registry key to disable it is the most reliable way to prevent this.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →