How to Remove OneDrive from File Explorer in Windows 11: A Guide

OneDrive is deeply integrated into Windows 11, providing cloud storage and file synchronization. While convenient for many, some users prefer not to use OneDrive and want to remove it from File Explorer for a cleaner experience.

In this guide, we’ll show you multiple methods to remove OneDrive from File Explorer in Windows 11, including disabling it, unlinking accounts, and using registry tweaks for permanent removal.


Summary (Key Takeaways)

Step Action Purpose
1 Unlink OneDrive account Stops syncing files
2 Disable OneDrive startup Prevents automatic launch
3 Use Group Policy or Registry Editor Remove OneDrive icon from File Explorer permanently
4 Uninstall OneDrive (optional) Fully remove OneDrive app from Windows 11

Why Remove OneDrive from File Explorer?

There are several reasons why users might want to remove OneDrive:

  • No longer use Microsoft cloud storage

  • Free up system resources and reduce background processes

  • Prevent accidental file syncing

  • Simplify File Explorer view for a cleaner experience

Note: Removing OneDrive from File Explorer does not delete your files stored online — they remain safe in the cloud.


Method 1: Unlink Your OneDrive Account

Unlinking your OneDrive account stops syncing without removing the app.

Steps:

  1. Click the OneDrive icon in the system tray (bottom-right corner).

  2. Select Help & Settings > Settings.

  3. Go to the Account tab.

  4. Click Unlink this PC.

  5. Confirm by clicking Unlink account.

After this, OneDrive will no longer sync files, but the icon may still appear in File Explorer.


Method 2: Disable OneDrive from Startup

Prevent OneDrive from running automatically on boot:

  1. Press Ctrl + Shift + Esc to open Task Manager.

  2. Go to the Startup tab.

  3. Find Microsoft OneDrive in the list.

  4. Right-click and select Disable.

This ensures OneDrive won’t run in the background, freeing up resources.


Method 3: Remove OneDrive Icon from File Explorer Using Registry

⚠️ Warning: Editing the Windows Registry can cause system issues if done incorrectly. Always backup your registry first.

Steps:

  1. Press Win + R, type regedit, and press Enter.

  2. Navigate to:

HKEY_CLASSES_ROOT\CLSID\
  1. For 64-bit Windows:

HKEY_CLASSES_ROOT\Wow6432Node\CLSID\
  1. Locate OneDrive CLSID keys:

  • {018D5C66-4533-4307-9B53-224DE2ED1FE6}

  1. Change the System.IsPinnedToNameSpaceTree value to 0.

  2. Restart your PC or restart File Explorer via Task Manager.

The OneDrive icon will disappear from File Explorer.


Method 4: Use Group Policy Editor (Pro Editions Only)

If you have Windows 11 Pro, you can use Group Policy to remove OneDrive:

  1. Press Win + R, type gpedit.msc, and press Enter.

  2. Navigate to:

Computer Configuration > Administrative Templates > Windows Components > OneDrive
  1. Double-click Prevent the usage of OneDrive for file storage.

  2. Set it to Enabled.

  3. Click Apply > OK.

  4. Restart your PC.

This disables OneDrive functionality and removes the icon from File Explorer.


Method 5: Uninstall OneDrive Completely

If you want to remove OneDrive entirely:

  1. Press Win + I to open Settings.

  2. Go to Apps > Installed apps.

  3. Find Microsoft OneDrive.

  4. Click the three-dot menu and select Uninstall.

This removes the app entirely. You will no longer see OneDrive in File Explorer or system tray.


Troubleshooting

Issue Cause Solution
OneDrive icon still appears Registry or Group Policy not applied Re-check CLSID and policy settings
Files still syncing Account not unlinked Unlink account via Settings
Cannot uninstall OneDrive Built-in Windows protection Use Command Prompt to force uninstall

Tips for Managing OneDrive After Removal

  • Keep a backup of important files if they were synced previously.

  • Use alternative cloud storage like Google Drive or Dropbox if needed.

  • If you want to re-enable OneDrive later, reinstall from the Microsoft Store.


Conclusion

Removing OneDrive from File Explorer in Windows 11 can simplify your workspace and prevent unwanted syncing. You can unlink your account, disable startup, edit the registry, use Group Policy, or uninstall OneDrive depending on your needs.

By following these steps, you can enjoy a cleaner File Explorer and better control over your system’s storage and resources.


FAQs

1. Will removing OneDrive delete my files?
No, files stored in the cloud remain safe on OneDrive’s servers.

2. Can I re-enable OneDrive later?
Yes, you can reinstall OneDrive from the Microsoft Store or re-enable via Group Policy.

3. Is it safe to edit the registry?
Yes, if you follow instructions carefully. Always backup your registry first.

4. Does this method work for both Windows 11 Home and Pro?
Yes, but Group Policy method is only available on Pro, Enterprise, and Education editions.

5. Can I stop OneDrive from syncing without removing it?
Yes — unlink your account and disable startup; the app will remain but won’t sync files.

Scroll to Top