Fix the OneDrive Icon Issue in the Windows LTSC File Explorer Sidebar
After installing Windows 11 LTSC, I noticed that the OneDrive icon in the File Explorer sidebar wasn’t working properly. Clicking on it did nothing, and the properties page was completely blank. A quick search revealed that this is an old Microsoft bug. When you install the personal version of OneDrive on the LTSC version of Windows, the installer fails to register the path value pointing to the OneDrive folder for the sidebar icon, resulting in it pointing to a null value. I guess it’s just classic Microsoft—years later, and this bug is still around.
Fix Method
We’ll fix this by registering the correct path for the OneDrive icon through the registry. First, create a new txt file, then copy and paste the content below into it. Save the file and change the extension to .reg
, then double-click it to merge it into the registry. If it doesn’t take effect immediately, just restart File Explorer.
If your OneDrive folder isn’t in the default location C:\User\YourUsername\OneDrive
, you’ll need to modify the content accordingly:
- If the OneDrive folder is still in your user directory, like
C:\User\YourUsername\NewFolder
, just change the value ofRelativePath
toNewFolder
. - If the OneDrive folder is outside your user directory, update the value of
RelativePath
to the absolute path of your current OneDrive folder, such as"RelativePath"="E:\OneDrive"
, and then delete the line"ParentFolder"="{5E6C858F-0E22-4760-9AFE-EA3317B67173}"
.
1 | Windows Registry Editor Version 5.00 |
Possible New Bugs
This brings us to another one of Microsoft’s beloved traditions: the “buy one bug, get one free” deal. After fixing the previous bug and restarting my computer, I was greeted with a new surprise — now there are two OneDrive icons in my sidebar, and both of them work perfectly. Thanks a lot, Microsoft!
This bug can still be fixed via the registry, with two methods to try. If the first one doesn’t work, try the second. Initially, I used the first method, but after a few days, two OneDrive icons reappeared in the sidebar. I then switched to the second method, and so far, the bug hasn’t returned.
Method 1
- Open the Run dialog by pressing
Windows + R
. - Type
regedit
to open the Registry Editor. - Navigate to
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
. - Check if there are multiple folders with the data value OneDrive under NameSpace. If there are, delete the extra folders, keeping only the one with the data value
{018D5C66-4533-4307-9B53-224DE2ED1FE6}
.
Method 2
- Open the Run dialog by pressing
Windows + R
. - Type
regedit
to open the Registry Editor. - Navigate to
HKEY_CURRENT_USER\Software\Classes\CLSID\{04271989-C4D2-EFBF-85D9-31CFA598C756}
. - Double-click
System.IsPinnedToNameSpaceTree
and set the value to0
. - Click
OK
to save the changes.
Source: