Uninstall OneDrive Windows 11: What Happens
In this article
Yes, you can uninstall OneDrive from Windows 11, but it’s not a standard app removal. OneDrive is deeply integrated into the system, so completely removing it requires manual steps beyond the Settings app. When you uninstall OneDrive, your local files in the OneDrive folder are no longer synced to the cloud, and the system integration—like file placeholder icons and automatic backup—is disabled. However, your files remain on your PC unless you manually delete them. This guide explains exactly what happens, how to fully remove OneDrive, and what to watch out for.
What You'll Need
- A Windows 11 PC with administrator access
- Backup storage (external drive or another cloud service) if you want to preserve files
- Command Prompt or PowerShell opened as Administrator
- Optional: Notepad or another text editor for copying commands
Step-by-Step
- Pause or stop syncing in OneDrive: Open the OneDrive app from the system tray, click the Help & Settings (gear) icon, and select Pause syncing for a few hours. This ensures no active uploads or downloads interfere.
- Move or back up your OneDrive files: Navigate to
C:\Users\[YourUsername]\OneDriveand copy any files you want to keep to another location. Uninstalling OneDrive does not delete these files automatically, but they will no longer sync. - Close OneDrive from the system tray: Right-click the OneDrive cloud icon in the taskbar notification area and select Close OneDrive. If it doesn’t appear, open Task Manager, find OneDrive under Processes, and end the task.
- Open Command Prompt as Administrator: Press Windows + S, type
cmd, right-click Command Prompt, and choose Run as administrator. - Stop the OneDrive process: In the Command Prompt window, type
taskkill /F /IM OneDrive.exeand press Enter. This ensures OneDrive is not running. - Navigate to the OneDrive installer: Type the following command and press Enter (adjust for your system architecture):
- For 64-bit systems:
C:\\Program Files (x86)\\Microsoft OneDrive\\onedrive.exe /uninstall - For 32-bit systems:
C:\\Program Files\\Microsoft OneDrive\\onedrive.exe /uninstall
- For 64-bit systems:
- Wait for the process to complete: The Command Prompt won’t show much feedback, but after a few seconds, OneDrive should disappear from the system tray and startup.
- Prevent reinstallation: To stop Windows from reinstalling OneDrive during updates, you can block the installer via Group Policy (if available) or delete the OneDrive folder in
Program FilesandProgram Files (x86). However, future Windows updates may restore it. - Remove OneDrive from File Explorer (optional): OneDrive may still appear under 'Home' in File Explorer. To hide it, open Registry Editor as administrator, navigate to
HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}, and rename the key to{018D5C66-4533-4307-9B53-224DE2ED1FE6}-hide. Refresh File Explorer to see the change. - Restart your PC: After completing the steps, restart to ensure all changes take effect and OneDrive does not relaunch.
Common Mistakes
- Not backing up files first: People assume uninstalling deletes files, but the reverse is riskier—forgetting to back up means losing cloud-only files.
- Skipping admin rights: Running Command Prompt without administrator access causes the uninstall command to fail silently.
- Using incorrect file paths: Typing the wrong OneDrive path (e.g., missing spaces or slashes) results in “file not found” errors.
- Ignoring system architecture: Using the 32-bit path on a 64-bit system (or vice versa) prevents the uninstall command from working.
- Expecting permanent removal: Windows updates can reinstall OneDrive, so complete removal is temporary unless registry or policy changes are applied.
Tips
- Use PowerShell instead of Command Prompt if preferred—commands work the same when run as admin.
- Before uninstalling, check if any apps or workflows depend on OneDrive, such as automated backups or shared file links.
- After removal, consider using alternative cloud services like Google Drive or Dropbox with their standalone apps.
- If you’re on a work or school account, consult your IT department—OneDrive may be managed by organizational policies.
- Keep a record of the uninstall commands in a text file for future reference.
Troubleshooting
If OneDrive doesn’t uninstall:
- OneDrive won’t close: Use Task Manager to end the process under “Background processes.” If it restarts, repeat the taskkill command immediately after.
- “File not found” error: Verify the OneDrive installation path. Some systems may have it in
Program Fileseven on 64-bit. You can locate it by searching foronedrive.exein File Explorer. - OneDrive reappears after restart: Windows may restore it after an update. Repeat the uninstall command or use Group Policy to disable it permanently (available on Pro and Enterprise editions).
- File Explorer still shows OneDrive: The registry edit in Step 9 should resolve this. Be cautious when editing the registry—back it up first.
- Sync issues before uninstall: If files were not fully synced, they won’t be on other devices. Always check the OneDrive app for sync status before removal.
Frequently Asked Questions
Does uninstalling OneDrive delete my files?
No. Your files in the local OneDrive folder remain on your PC. However, they stop syncing to the cloud, and any cloud-only files (not downloaded locally) will no longer be accessible.
Can I reinstall OneDrive later?
Yes. You can download and install OneDrive again from the Microsoft website or the Microsoft Store. Your cloud files will sync back once you sign in.
Why can’t I uninstall OneDrive from Settings?
OneDrive is a system-integrated app in Windows 11, so it doesn’t appear in the standard Apps & Features list. You must use the command-line method to remove it.
Does removing OneDrive free up disk space?
Only the OneDrive app files (around 100–200 MB). Your personal files in the OneDrive folder still take up space unless you delete them separately.
Will other Microsoft apps stop working?
No. Apps like Word, Excel, or Outlook work normally. They can still open files from other locations, but won’t auto-sync to OneDrive unless you manually upload them.
Is it safe to remove OneDrive?
Yes, but only if you’ve backed up important files. The OS continues to function normally, though some features like automatic photo backup will no longer work.