WindowsDebloat

Hide 'OneDrive' from navigation pane

File ExplorerAll Windows 10/11 versionsRevertible

Hides the 'OneDrive' section from the File Explorer navigation pane.

Code to Apply

Hide 'OneDrive' from navigation paneRegistry
Windows Registry Editor Version 5.00


; Hide OneDrive on Navigation Pane for current user

[HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]

"System.IsPinnedToNameSpaceTree"=dword:00000000

; Add `Show OneDrive` option to File Explorer folder options, with default set to disabled

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\NavPane\ShowOneDrive]

"CheckedValue"=dword:00000001
"DefaultValue"=dword:00000000
"HKeyRoot"=dword:80000001
"Id"=dword:0000000d
"RegPath"="Software\\Classes\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}"
"Text"="Show OneDrive"
"Type"="checkbox"
"UncheckedValue"=dword:00000000
"ValueName"="System.IsPinnedToNameSpaceTree"


Code to Revert

Show 'OneDrive' from navigation pane Hide 'OneDrive' from navigation paneRegistry
Windows Registry Editor Version 5.00


; Show OneDrive on Navigation Pane for current user

[HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]

"System.IsPinnedToNameSpaceTree"=dword:00000001

; Add `Show OneDrive` option to File Explorer folder options, with default set to enabled

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\NavPane\ShowOneDrive]

"CheckedValue"=dword:00000001
"DefaultValue"=dword:00000001
"HKeyRoot"=dword:80000001
"Id"=dword:0000000d
"RegPath"="Software\\Classes\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}"
"Text"="Show OneDrive"
"Type"="checkbox"
"UncheckedValue"=dword:00000000
"ValueName"="System.IsPinnedToNameSpaceTree"


Want to combine this with other tweaks?

Open Configurator