Removing old OneDrive accounts from Windows Explorer

OneDrive icon new

If you have previously logged into Office 365 accounts for different business or school tenants, they may remain even when you sign out of those accounts. This is how to remove old school or work OneDrive accounts from File Explorer in Windows.

1. Exit OneDrive by right clicking on the OneDrive system tray icon > Close OneDrive.

2. Open the Registry Editor by clicking the Windows + R button and enter regedit, OK.

3. Navigate to HKEY_CURRENT_USER > Software > Microsoft > OneDrive > Accounts > BusinessName.

4. There may be a number of Business or School accounts depending on how many you have logged into previously. Find the specific one by looking at the UserEmail value. After you found the correct one, delete the entire folder containing that key.

5. Navigate to HKEY_CLASSES_ROOT > CLSID. Inside the folder, search (CTRL + F) for keyword: OneDrive.

6. Find next until you find one that has the OneDrive – Company name as the Default value and looks something like the screenshot below:

Image

7. Modify the System.IsPinnedToNameSpaceTree value to 0 > OK.

If the icon is still visible, restart your computer.

We hope this helps!

Posted in Office 365

Related Posts

1 Comment

  1. Logan Finlay

    Thank you this Removed old OneDrive files from explorer for (1) old School account and (2) an old business account on Windows 10 Professional.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: