How to Remove OneDrive Folder from File Explorer Sidebar in Windows

1. Unlink Your OneDrive Account from Your PC

Click the OneDrive icon in the system tray (bottom-right corner of your screen). If you don’t see it, click the arrow to show hidden icons.

Click Help & Settings > Settings.

Click Unlink this PC.

Confirm the unlinking when prompted.

2. Edit the Registry to Remove the OneDrive Folder from the Sidebar

Press Windows + R to open the Run dialog. Type regedit and press Enter to open the Registry Editor.

In the Registry Editor, navigate to Computer\HKEY_CLASSES_ROOT\CLSID. You can copy and paste this path into the address bar at the top.

Press Ctrl + F to open the Find dialog. Type the exact name of the OneDrive folder you want to remove (e.g., OneDrive - YourOrganization). Make sure to include spaces correctly.

For example, to remove this folder
Search for "OneDrive – YourOrganization"
Then click "Find Next"

Once found, look for the third value in that registry key (usually named System.IsPinnedToNameSpaceTree or similar). Double-click it and change its value from 1 to 0.

Double-click this entry
Change the value to 0
Click "OK"

3. Restart Your Computer

Close File Explorer and restart your PC. When you open File Explorer again, the OneDrive folder will no longer appear in the left sidebar.

Done

阅读本文中文版 →

上一篇 德国留学动机信(Motivationsschreiben)怎么写:结构模板与常见错误
下一篇 如何删除文件资源管理器左侧的 OneDrive 文件夹