This guide shows you how to stop OneDrive from running, remove it from File Explorer, or completely uninstall it from Windows 10. You’ll need to be signed in as an administrator to make system-level changes, and you should back up any files currently stored in OneDrive before removing it.
What You’ll Need
- An administrator account on Windows 10
- Access to the Control Panel or Settings app
- A backup location for any files you want to keep (external drive or another cloud service)
Step-by-Step
Option 1: Disable OneDrive (Keep It Installed)
- Right-click the OneDrive cloud icon in the system tray (bottom-right corner, near the clock). If you don’t see it, click the up arrow to show hidden icons.
- Select Settings from the menu.
- Go to the Settings tab.
- Uncheck Start OneDrive automatically when I sign in to Windows.
- Click OK to save changes.
- To stop it for the current session, right-click the cloud icon again and choose Exit. This prevents OneDrive from running until you manually start it.
Option 2: Remove OneDrive from File Explorer
- Press Win + R to open the Run dialog.
- Type
regeditand press Enter. Click Yes if prompted by User Account Control. - Navigate to the following key:
HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} - In the right pane, double-click System.IsPinnedToNameSpaceTree.
- Change the value from
1to0and click OK. - Close Registry Editor and restart File Explorer (right-click the taskbar and select Task Manager, find Windows Explorer, right-click it, and choose Restart). The OneDrive icon will disappear from the navigation pane.
Option 3: Uninstall OneDrive Completely
- Press Win + I to open Settings.
- Go to Apps > Apps & features.
- Scroll down and find Microsoft OneDrive.
- Click on it and select Uninstall. Confirm any prompts.
- If you don’t see it in the list, open Control Panel > Programs > Programs and Features, select OneDrive, and click Uninstall.
- After uninstalling, restart your computer to ensure all components are removed.
Option 4: Remove OneDrive via Command Line (Advanced)
- Open Command Prompt as administrator (right-click Start and choose Command Prompt (Admin) or Windows PowerShell (Admin)).
- Type the following command and press Enter:
taskkill /f /im OneDrive.exe(this stops OneDrive if it’s running). - Then run this command to uninstall:
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall(on 64-bit systems) or%SystemRoot%\System32\OneDriveSetup.exe /uninstall(on 32-bit systems). - Wait for the process to finish. It may take a minute.
- Restart your PC.
Common Mistakes
- Not backing up files – Uninstalling OneDrive does not delete your local files, but if you have files that are only in the cloud (not synced locally), you could lose access. Always ensure important files are downloaded or copied elsewhere.
- Editing the wrong registry key – The CLSID key is specific; double-check the GUID before changing values. A typo can break File Explorer.
- Only disabling auto-start – If you want OneDrive gone entirely, disabling auto-start alone won’t remove it from the context menus or File Explorer.
- Forgetting to restart – Many changes only take effect after a restart or File Explorer refresh.
Tips
- If you want to keep using OneDrive but stop it from syncing certain folders, use the Choose folders option in OneDrive settings instead of disabling it entirely.
- After uninstalling, you can reinstall OneDrive from the Microsoft Store if you change your mind.
- To prevent OneDrive from reinstalling during Windows updates, you may need to block it via Group Policy (Pro/Enterprise editions) or simply re-uninstall after major updates.
- Use the Storage Sense feature in Windows to clean up leftover OneDrive cache files after uninstallation.
Troubleshooting
- OneDrive still appears after uninstall – Run the command-line uninstaller again as administrator, then restart. If it persists, check for leftover folders in
C:\Users\[YourUsername]\AppData\Local\Microsoft\OneDriveand delete them manually. - Registry edit doesn’t remove OneDrive from File Explorer – Make sure you edited the correct CLSID and set the value to 0. Also verify that OneDrive is not running; close it first.
- Cannot uninstall OneDrive – If the uninstall option is greyed out, try using the command-line method. If that fails, run Windows Update to ensure your system is current, then try again.
- OneDrive keeps re-launching after disabling – Check Task Manager (Ctrl+Shift+Esc) under the Startup tab; if OneDrive is listed, right-click and disable it.
- Error messages during uninstall – Close all Office apps and any process using OneDrive (check Task Manager). Then try the uninstall again.
Frequently Asked Questions
Will uninstalling OneDrive delete my files?
No. Uninstalling the app does not delete your local files. However, files that are only stored in the cloud (not downloaded to your PC) may become inaccessible until you sign in to OneDrive online.
Can I still use OneDrive on the web after uninstalling?
Yes, you can access your files at onedrive.com using any web browser. The desktop app is not required.
How do I move my OneDrive folder to another location before uninstalling?
Open OneDrive settings, go to the Account tab, click Choose folders to select what’s synced, and then copy the entire OneDrive folder from File Explorer to your desired location. After uninstalling, you can use that folder as a regular folder.
Is OneDrive required for Windows 10 to work?
No, OneDrive is optional. Windows 10 functions fully without it. Removing it only affects cloud syncing features.
Why does OneDrive keep coming back after I uninstall it?
Windows updates may reinstall OneDrive as part of system apps. You can block it using Group Policy (Pro/Enterprise) or simply uninstall it again after each major update.
Can I disable OneDrive for only one user account?
Yes, you can disable auto-start for a specific user through OneDrive settings or Group Policy. Uninstalling it removes it for all users on the PC.
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
- Set Up UPI Payments Through WhatsApp
- Pair Oppo Enco Earbuds with Android, iPhone & Windows
- Fix Administrator Account Disabled Error in Windows 11
- How to Play Kodi on Smart TV from PC
- Hogwarts Legacy Microsoft Visual C Runtime Error Fix
- Factory Reset on Samsung Galaxy: What It Erases