Skip to content
Follow
Windows

How to Hide or Show OneDrive in Windows 11

Richard
Written by
Richard
Nov 23, 2022 Updated Aug 13, 2026 2 min read
How to Reset Your Microsoft Account Password
How to Reset Your Microsoft Account Password

Hiding or showing OneDrive in Windows 11 lets you clean up the left-hand sidebar in File Explorer by removing or restoring the cloud storage folder. OneDrive is Microsoft’s online storage service that connects straight to your PC so you can save and open files online.

Turning off this shortcut removes the icon from File Explorer but leaves your actual files safe in your user folder at 📁C:\Users\OneDrive. You can bring the icon back at any time with the exact same steps.

⚡ Quick Answer

Hide OneDrive by unlinking your PC via Settings Account, or edit the registry at 🗝️HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} and set System.IsPinnedToNameSpaceTree to 0. This removes the shortcut without deleting files.

How to show or hide the OneDrive folder on the File Explorer navigation pane in 🪟 Windows 11

Modifying the Windows Registry controls whether the cloud storage directory appears in the sidebar.

OneDrive typically appears automatically when configured in Windows.

OneDrive folder on File Explorer navigation pane picture below:

onedrive folder on file explorer navigation pane
onedrive folders on the file explorer navigation pane

Press the Win, type regedit, and press Enter to open the Windows Registry. Navigate to the following key path.

🗝️Registry
HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

If the {018D5C66-4533-4307-9B53-224DE2ED1FE6} folder key is missing, right-click the CLSID key and create a new subkey named {018D5C66-4533-4307-9B53-224DE2ED1FE6} folders.

windows 11 onedrie hide from navigation pane file explorer
Windows 11 onedrive hide from navigation pane file explorer

Right-click any empty space in the right-hand pane, select New - DWORD (32-bit) Value (a type of registry entry), and name it System.IsPinnedToNameSpaceTree.

Double-click the new key and change its value. Setting the Value data to 1 will show the OneDrive folder in File Explorer. Setting it to 0 will hide it.

windows 11 onedrive registry value data option
Windows 11 onedrive registry value data option

Restart your PC to apply the changes.

Registry tweaks offer a permanent way to tidy up File Explorer without uninstalling cloud sync features entirely.

Conclusion:

  • This article has provided step-by-step instructions on how to show or hide the OneDrive folder on the File Explorer navigation pane in Windows 11.
  • The tutorial included detailed guidance on using the Windows Registry to make the necessary changes.
  • Readers are encouraged to leave comments if they encounter any errors in the instructions or wish to contribute additional insights or tips.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Remove Home Folder from Windows 11 File Explorer
Windows How to Remove Home Folder from Windows 11 File Explorer
How to Show or Hide the Ubuntu Folder in Windows 11 File Explorer
Windows How to Show or Hide the Ubuntu Folder in Windows 11 File Explorer
How to Clear Cloud Synced Settings in Microsoft Account
Windows How to Clear Cloud Synced Settings in Microsoft Account
How to Change Your Microsoft Account Primary Alias
Windows How to Change Your Microsoft Account Primary Alias

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *