Skip to content

Instantly share code, notes, and snippets.

@GLMeece
Last active August 9, 2023 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GLMeece/f0e950d538ceda5d4c4d87d8f78ef8d7 to your computer and use it in GitHub Desktop.
Save GLMeece/f0e950d538ceda5d4c4d87d8f78ef8d7 to your computer and use it in GitHub Desktop.
Remove Personal OneDrive Listing from Windows 10/11

Summary

If you have a company-managed OneDrive account like I do, you probably will never need or want to access a personal OneDrive account. It clutters up the Explorer menu and it's likely that you would prefer not to see it.

How to Stop Personal OneDrive from Being Pinned in Explorer

  1. Open RegEdit (RegistryEditor): type regedit in the start menu and it should come up (select it)

  2. At the top, where it says Computer paste the following to the right of it (i.e., don't delete Computer):

    \HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

  3. If you pasted it in correctly and hit enter, is should take you to an entry that has several keys in it. Look for the one that says System.IsPinnedToNameSpaceTree; double-click it.

  4. Change the value from a 1 to a 0 and click OK

It's possible you may have to either log out/log back in or even restart for this change to show up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment