Queue · 0 items

Fix duplicate OneDrive folders stuck in Windows 11 File Explorer navigation pane using a safe registry edit, common on LTSC and debloated installs.
.reg files in a dedicated folder
Keep one folder per fix session so rollback is fast and unambiguous.regedit, and press Enter.Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
NameSpace folder in the left pane, you'll see several folders with long alphanumeric names (CLSIDs). Click each one and check the Data column in the right pane.Look for entries that mention "OneDrive". Once found, right-click that folder in the left pane and select Delete. Repeat this for any duplicate OneDrive entries you find.
System.IsPinnedToNameSpaceTree controls whether that shell folder is pinned in Explorer navigation.
Computer\HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}System.IsPinnedToNameSpaceTree. Double-click it and change the Value data from 1 to 0. Click OK.
.reg backup file to restore the original key.System.IsPinnedToNameSpaceTree back to 1 usually returns the default behavior.

1. Hopefully, this helps you reclaim some visual peace in Windows 11!
Explore related topics and continue reading similar content.
Preparing the comments area...