How To Remove OneDrive From File Explorer

Introduction

Microsoft OneDrive is a widely used cloud storage service that integrates directly into File Explorer in Windows 10/11, providing seamless sync settings and access to cloud-based files. By default, OneDrive appears in the navigation pane of File Explorer, allowing users to interact with cloud-stored documents just like local files.

For businesses using alternative cloud storage solutions such as Google Drive, Amazon Drive, or even local storage like NAS devices or USB drives (e.g., a Seagate drive), OneDrive may seem redundant. Additionally, if you value privacy and data security or face compliance obligations, you may want to reduce or eliminate background cloud integrations.

This guide, created by Enabla Technology, an Australian IT services provider, outlines various methods to remove OneDrive from File Explorer without risking your stored data. Whether you’re using a Microsoft Surface Pro 8, managing desktops remotely, or exploring hybrid storage options, we’ll walk you through steps to unlink, hide, disable, or fully uninstall OneDrive.


Understanding OneDrive Integration with File Explorer

By default, OneDrive is built into Windows 10/11, visible in File Explorer under quick access. It synchronizes files between your PC and the cloud automatically through the sync process, making documents accessible on all signed-in devices.

However, if your organisation uses Microsoft Office 365, Microsoft Edge, or Internet Explorer, this tight integration may raise privacy concerns. Removing OneDrive doesn’t affect your Microsoft Office suite but can simplify system performance and reduce background activity.

Key options include:

  • Unlink OneDrive: Disconnects your Microsoft account and stops syncing but retains files on your PC.
  • Hide OneDrive: Makes the folder invisible in File Explorer’s Gallery section, System folder, or Desktop folder.
  • Disable OneDrive: Prevents it from running at startup and consuming system resources.
  • Uninstall OneDrive: Removes the app using Apps & Features, Control Panel, or Command Prompt.

Method 1: Unlink OneDrive (Quick & Reversible)

Steps:

  1. Click the cloud icon in the system tray or notification area.
  2. Right-click and go to Help & Settings > Settings.
  3. Navigate to the Account tab.
  4. Click Unlink this PC or unlink account.

Once unlinked, your files will remain in local storage, but syncing stops. This method is useful for temporary disabling while retaining access to your Music library, RAW files, or business documents offline.


Method 2: Hide the OneDrive Folder in File Explorer

Steps:

  1. Press Windows + E to open File Explorer.
  2. Locate the Microsoft OneDrive folder under the quick access or This PC section.
  3. Right-click > Properties > check the Hidden box under the General tab.

If needed later, show hidden folders via File Explorer options.

Hiding is great for keeping the interface tidy while keeping OneDrive intact in the background for occasional use.


Method 3: Uninstall OneDrive Application

Option A: Using Windows Settings

  1. Press Windows + I to open Windows Settings.
  2. Go to Apps > Apps & features.
  3. Locate Microsoft OneDrive.
  4. Select Uninstall and confirm via the UAC prompt.

Option B: Using Control Panel

  1. Open Control Panel > Programs > Uninstall a program.
  2. Find OneDrive, click Uninstall.

Option C: Using Command Prompt

  1. Open Command Prompt as Administrator.
  2. Type taskkill /f /im OneDrive.exe and press Enter.
  3. Then run:
    • For 64-bit: %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
    • For 32-bit: %SystemRoot%\System32\OneDriveSetup.exe /uninstall

Removing OneDrive fully may help if you’re switching to services like Wondershare InClowdz, AOMEI Backupper, or if your Cloud Backup is managed via external tools.


Method 4: Using Registry Editor to Remove OneDrive from File Explorer

Note: Always back up your Windows Registry before editing.

Steps:

  1. Press Windows + R, type regedit, hit Enter.
  2. Navigate to the registry path: HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
  3. Find the System.IsPinnedToNameSpaceTree DWORD.
  4. Set the value to 0.

This removes the OneDrive folder from File Explorer’s navigation pane, helping simplify your interface, especially on shared workstations.


Method 5: Disable OneDrive via Group Policy Editor

Only available on Windows 10/11 Pro, Enterprise, or Education editions.

Steps:

  1. Press Windows + R, type gpedit.msc, and hit Enter.
  2. Navigate to:
    Computer Configuration > Administrative Templates > Windows Components > OneDrive
  3. Double-click Prevent the usage of OneDrive for file storage.
  4. Set it to Enabled, click Apply.

Using the Local Group Policy Editor ensures that OneDrive remains inactive even after Windows updates. This is especially helpful for managing fleets of devices in businesses or schools.


Handling Existing Files

If switching to an alternative cloud storage like Google Drive or Amazon Drive, back up your data using:

  • Cloud Backup services like Wondershare InClowdz
  • System Backup using AOMEI Backupper
  • Manual copy to a USB drive, NAS device, or Wi-Fi 6 RT-AX86U connected drive

Enabla Technology can assist in secure migration planning for maximum support status and minimum disruption.


Troubleshooting Common Issues

Issue Resolution
OneDrive keeps reappearing Use Registry Editor or Group Policy Editor
Cannot delete OneDrive folder Ensure no files are open; try using taskkill
Files are missing after uninstalling Check local storage or OneDrive web interface
Cannot find uninstall option Try Add or remove programs or run uninstall via CMD
Sync settings greyed out Check your Microsoft 365 admin or policy configurations

Restoring OneDrive

To reinstall or re-enable OneDrive:

  1. Visit the official OneDrive download page.
  2. Run the installer.
  3. Log in to your Microsoft account.
  4. Go to Settings > Account > Choose Folders to configure sync preferences.

FAQs

1. Will removing OneDrive delete my files?
No, unlinking or uninstalling OneDrive retains your files on the local system.

2. Does it affect other Microsoft services?
No. Apps like Microsoft Office, Outlook, and Teams continue to function normally.

3. How do I fully clear OneDrive from File Explorer?
Use the Registry Editor method and ensure all tasks are ended via taskkill.

4. Can I reinstall later?
Yes, simply download and install OneDrive from the Microsoft site.

5. Can I access files without syncing?
Yes, use the web version or third-party apps like Cloud Transfer tools.


Conclusion

OneDrive is a robust cloud service for file syncing, but not every business requires it. Whether you’re seeking enhanced privacy controls, streamlined File Explorer views, or migrating to another provider, the steps above provide the flexibility you need.

If you’re managing a Windows 10/11 environment and require expert support for data migrations, cloud transitions, or endpoint configurations, reach out to Enabla Technology. As your trusted IT partner, we help you stay ahead of technology while keeping your systems secure and efficient.

Leave a Reply