Getting rid of OneDrive entries in Explorer sidebar

david-cslu 66 Reputation points
2022-07-15T15:53:12.597+00:00

Hello

After unlinking an MS365 business account from OneDrive, the entries "OneDrive - oldcompany" and "Oldcompany" (SharePoint) remain in the Explorer sidebar.

The actual folder that are linked to can be deleted from the user's main folder but the entries in the sidebar are still there, now simply pointing to the void.

On the web there are 100 pages and forum posts that suggest a change to the registry (set value of System.IsPinnedToNameSpaceTree keys from 1 to 0 at specific locations). Unfortunately this change to the registry has no effect. The entries in the sidebar are still there, also after reboot.

We see this behaviour on several devices, so it's not an isolated case on one device.

Any suggestions?

OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,149 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 22,556 Reputation points Microsoft Vendor
    2022-07-18T03:02:38.163+00:00

    Hi @david-cslu ,
    Try this method:
    Win+R and enter regedit, open registry editor go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace.
    Find registry with name "OneDrive - oldcompany" and "Oldcompany in list, then delete them.
    221676-pmq0h.png
    Serious problems might occur if you modify the registry incorrectly. Before you modify it, please remember to back up the registry for restoration in case problems occur.
    Here is an article about how to back up and restore the registry in Windows: https://support.microsoft.com/en-us/topic/how-to-back-up-and-restore-the-registry-in-windows-855140ad-e318-2a13-2829-d428a2ab0692
    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.