ANAVEM
Languagefr
How to Add or Remove OneDrive from File Explorer Navigation Pane in Windows 11

How to Add or Remove OneDrive from File Explorer Navigation Pane in Windows 11

Customize your File Explorer by adding or removing OneDrive from the navigation pane using registry edits, Group Policy, or settings toggles without deleting your files.

Emanuel DE ALMEIDAEmanuel DE ALMEIDA
March 18, 2026 12 min 0
easywindows-11 8 steps 12 min

Why Customize OneDrive Visibility in File Explorer?

OneDrive integration in Windows 11 File Explorer can be helpful for cloud storage access, but not everyone needs or wants it cluttering their navigation pane. Whether you're managing a corporate environment, prefer local storage, or simply want a cleaner interface, controlling OneDrive's visibility gives you better control over your workflow.

What Methods Work Best for OneDrive Navigation Control?

Windows 11 offers several approaches to manage OneDrive in File Explorer. Registry modifications provide the most precise control, allowing you to hide OneDrive without uninstalling it or affecting your synced files. Group Policy offers enterprise-level management for Pro and Enterprise editions, while built-in settings provide simpler toggles for basic users.

How Does Registry Modification Affect OneDrive Functionality?

The registry key System.IsPinnedToNameSpaceTree specifically controls navigation pane visibility without touching OneDrive's core functionality. Setting this value to 0 hides OneDrive from File Explorer's left sidebar, but your files remain accessible through direct folder navigation, and background syncing continues normally. This approach is safer than uninstalling OneDrive entirely, especially in environments where cloud backup is still needed.

Recent Windows 11 24H2 updates have introduced some navigation pane inconsistencies, making these registry techniques even more valuable for maintaining a consistent user experience across different system configurations.

Related: Windows 11 Drag Tray Renamed to Drop Tray in New Builds

Related: Windows 11 Breaks C: Drive Access on Samsung Laptops

Related: Fix Windows 11 Context Menu Show More Options – File

Implementation Guide

Full Procedure

01

Backup Your Registry Before Making Changes

Before modifying the registry, create a backup to restore if something goes wrong. This is essential when working with system-level changes.

Win + R

Type regedit and press Enter to open Registry Editor. Click Yes when prompted by User Account Control.

In Registry Editor, click File > Export. Choose a location like your Desktop, name it OneDrive_Registry_Backup, and click Save.

Pro tip: Always create registry backups before making changes. If something breaks, double-click the .reg file to restore your settings.

Verification: Check that the .reg backup file was created in your chosen location. The file size should be several MB, indicating it contains your registry data.

02

Navigate to the OneDrive Registry Key

The OneDrive navigation pane visibility is controlled by a specific registry key. We'll navigate to this key to modify the visibility setting.

In Registry Editor, navigate to this exact path by expanding the folders in the left pane:

HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

Alternatively, press Ctrl + F to open Find, paste {018D5C66-4533-4307-9B53-224DE2ED1FE6}, and click Find Next.

You should see several values in the right pane, including System.IsPinnedToNameSpaceTree.

Warning: Make sure you're in the correct key. The CLSID {018D5C66-4533-4307-9B53-224DE2ED1FE6} is specific to OneDrive. Wrong modifications can affect other system components.

Verification: Confirm you see the System.IsPinnedToNameSpaceTree DWORD value in the right pane. If missing, you're in the wrong location.

03

Remove OneDrive from Navigation Pane (Current User)

To hide OneDrive from the navigation pane for your current user account, modify the registry value that controls its visibility.

Double-click on System.IsPinnedToNameSpaceTree in the right pane. The Edit DWORD dialog will open.

Change the Value data from 1 to 0:

Value name: System.IsPinnedToNameSpaceTree
Value data: 0
Base: Hexadecimal

Click OK to save the change. Close Registry Editor.

Now restart Windows Explorer to apply the changes:

Ctrl + Shift + Esc

In Task Manager, find Windows Explorer in the Processes tab, right-click it, and select Restart.

Verification: Open File Explorer and check the navigation pane on the left. OneDrive should no longer appear in the list.

04

Remove OneDrive for All Users (Advanced)

To remove OneDrive from the navigation pane for all users on the computer, you need to modify permissions first, then change the registry value.

Right-click on the {018D5C66-4533-4307-9B53-224DE2ED1FE6} key in the left pane and select Permissions.

Click Advanced, then click Change next to the Owner field. Type Administrators and click Check Names, then OK.

Check the Replace owner on subcontainers and objects box and click OK.

Back in the Permissions dialog, select Administrators and check Full Control, then click OK.

Now modify the registry value as in the previous step:

System.IsPinnedToNameSpaceTree = 0
Pro tip: This method affects all user accounts on the computer. New users won't see OneDrive in their navigation pane either.

Verification: Log out and back in, or test with another user account to confirm OneDrive is hidden for all users.

05

Use Group Policy to Remove OneDrive (Pro/Enterprise)

If you're running Windows 11 Pro or Enterprise, you can use Group Policy Editor for a more administrative approach to hiding OneDrive.

Press Win + R, type gpedit.msc, and press Enter. Click Yes when prompted.

Navigate to this path in the left pane:

Computer Configuration > Administrative Templates > Windows Components > OneDrive

In the right pane, double-click Prevent the usage of OneDrive for file storage.

Select Enabled and click OK. This policy will hide OneDrive from File Explorer and prevent its usage.

Apply the policy immediately:

gpupdate /force

Restart Windows Explorer using Task Manager as described in previous steps.

Warning: This method completely disables OneDrive functionality, not just navigation pane visibility. Users won't be able to sync files.

Verification: Check File Explorer navigation pane and try accessing OneDrive settings. Both should be unavailable.

06

Add OneDrive Back to Navigation Pane

To restore OneDrive visibility in the navigation pane, reverse the registry modification or ensure OneDrive is properly configured.

First, ensure OneDrive is running. Look for the cloud icon in your system tray (bottom-right corner). If missing, search for OneDrive in the Start menu and launch it.

Sign in with your Microsoft account if prompted. OneDrive needs to be authenticated to appear in File Explorer.

To force OneDrive to appear via registry, navigate back to:

HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

Double-click System.IsPinnedToNameSpaceTree and change the value to 1:

Value data: 1

Click OK and restart Windows Explorer via Task Manager.

Verification: Open File Explorer and confirm OneDrive appears in the navigation pane. You should see your OneDrive folders and sync status.

07

Alternative Method Using Folder Options

If registry edits don't work or you prefer a simpler approach, try resetting Folder Options to restore default navigation pane settings.

Open File Explorer and click the three dots () in the toolbar, then select Options.

In the Folder Options dialog, click the View tab.

Click Reset Folders to restore default folder view settings:

View tab > Reset Folders > Apply > OK

Also ensure the navigation pane is enabled:

File Explorer > View > Show > Navigation pane (checked)

If OneDrive still doesn't appear, try toggling OneDrive folder syncing:

Win + I > Accounts > Windows backup > OneDrive folder syncing (toggle off/on)
Pro tip: This method works well after Windows updates that might have corrupted navigation pane settings, especially common after 24H2 updates.

Verification: Check if OneDrive reappears in the navigation pane. If not, the issue might be with OneDrive authentication or installation.

08

Troubleshoot Common OneDrive Navigation Issues

If OneDrive still doesn't behave as expected, try these troubleshooting steps to resolve common issues.

Issue 1: OneDrive not signed in

Right-click the OneDrive cloud icon in the system tray and select Settings. Go to the Account tab and ensure you're signed in. If not, click Add an account.

Issue 2: Multiple OneDrive entries

You might see "OneDrive – Personal" and other variants. The same registry key controls all OneDrive entries.

Issue 3: OneDrive startup disabled

Press Ctrl + Shift + Esc to open Task Manager, click the Startup apps tab, find Microsoft OneDrive, and set it to Enabled.

Issue 4: Corrupted OneDrive installation

Unlink and relink OneDrive:

1. Right-click OneDrive tray icon > Settings
2. Account tab > Unlink this PC
3. Sign in again with your Microsoft account

Issue 5: Explorer not refreshing

Always restart Windows Explorer via Task Manager rather than rebooting the entire system for faster results.

Warning: If you unlink OneDrive, local files in OneDrive folders will remain, but sync will stop until you sign back in.

Verification: After troubleshooting, confirm OneDrive appears correctly in the navigation pane and syncs files properly (check for green checkmarks on files).

Frequently Asked Questions

Will removing OneDrive from navigation pane delete my files?+
No, removing OneDrive from the File Explorer navigation pane does not delete your files. The registry modification only hides the OneDrive shortcut from the left sidebar. Your files remain in the OneDrive folder and continue syncing in the background. You can still access them by navigating to C:\Users\[Username]\OneDrive or through the OneDrive system tray icon.
What's the difference between registry method and Group Policy for hiding OneDrive?+
The registry method directly modifies the system setting that controls OneDrive visibility in File Explorer, affecting only the navigation pane appearance. Group Policy completely disables OneDrive functionality system-wide, preventing file storage and syncing entirely. Registry edits are better for users who want to hide OneDrive but keep it functional, while Group Policy is ideal for administrators who want to completely disable OneDrive in corporate environments.
Why doesn't OneDrive appear in File Explorer even after enabling it?+
OneDrive may not appear due to several reasons: it's not signed in with a Microsoft account, the OneDrive service isn't running, startup is disabled in Task Manager, or Windows 11 24H2 updates corrupted navigation settings. Check the system tray for the OneDrive cloud icon, ensure you're signed in, enable OneDrive in Task Manager's Startup tab, and try resetting Folder Options in File Explorer.
Can I control OneDrive visibility for specific user accounts only?+
Yes, the standard registry method affects only the current user account. To hide OneDrive for all users, you need to modify registry permissions first by taking ownership of the registry key and granting Administrators full control. This allows the change to apply system-wide. Alternatively, Group Policy in Pro/Enterprise editions can control OneDrive visibility across all user accounts through centralized management.
Is it safe to modify the OneDrive registry key in Windows 11?+
Yes, modifying the System.IsPinnedToNameSpaceTree registry value is safe when done correctly. This specific DWORD only controls navigation pane visibility and doesn't affect core OneDrive functionality or file integrity. However, always create a registry backup before making changes, ensure you're editing the correct key ({018D5C66-4533-4307-9B53-224DE2ED1FE6}), and restart Windows Explorer rather than the entire system to apply changes safely.
Emanuel DE ALMEIDA
Written by

Emanuel DE ALMEIDA

Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.

Discussion

Share your thoughts and insights

You must be logged in to comment.

Loading comments...