Steve K.

This is my brain on LiveJournal.

Previous Entry Share
Completely Hiding/Removing Microsoft OneDrive from Windows 10
gecko
geckoblue
One of my big beefs with Windows 10 is the integration of OneDrive into the operating system without providing an easy removal/disable solution, and certainly not one documented by Microsoft directly. So I've decided to dedicate this page to removing OneDrive. May it forever not be apart of your desktop experience.

Remove The Tray Icon
From the tray icon, you can go into the settings for OneDrive and configure it not to start at startup.  This is the first step in removing OneDrive from your computer.  Reboot, and you shouldn't have a OneDrive icon in your system tray.

Uninstall OneDrive Itself
The next thing I did was uninstall OneDrive itself from the system.  This isn't as simple as going into the programs and features to remove or uninstall a Windows component; no, Microsoft made it harder than that.

  1. Open up a command prompt (Start+R, type "cmd" and click Okay).

  2. Make sure OneDrive is absolutely not running:

    • Run this: taskkill /f /im OneDrive.exe


  3. At the command prompt, run one of these:

    • Windows 10 32-Bit: %SystemRoot%\System32\OneDriveSetup.exe /uninstall

    • Windows 10 64-Bit: %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall


Remove OneDrive From The File Explorer Sidebar
In addition to the tray icon, there is also a folder group under the Windows File Explorer sidebar (On the left, after "Network").  There are details on how to remove this on Windows 8/8.1, but they do not address Windows 10 correctly because the CLSID registry key name differs.  So here's how to really find and remove the OneDrive explorer integration/folder group.

First, open registry editor (Press "Start+R", type "regedit", and OKAY, confirm that you want to run it).  Now, browse to the following key (folder):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions

You will see a number keys with of long numbers called UUIDs underneath this key.  Click each one until you find one that has the following Name/Type/Data pairs in it:

"Name" = "REG_SZ" = "OneDrive"
"RelativePath" = "REG_SZ" = "OneDrive"
"ParsingName" = "REG_SZ" = "shel:::{Another UUID}"

For me (and most users), the ParsingName was "shell:::{018D5C66-4533-4307-9B53-224DE2ED1FE6}".  And this UUID, 018D5C66-4533-4307-9B53-224DE2ED1FE6, is what we are looking for.  This is your OneDrive CLSID UUID.

With that UUID in mind, go all the way back to the top of the key folder tree and browse to the following key folders (substitute your OneDrive CLSID UUID in here):

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


Under both of these key folders, you should see a name/type/data pair of "System.IsPinnedToNameSpaceTree" = "REG_DWORD" = "0x0000001 (1)".  This means that OneDrive is pinned to the list of trees on the left sidebar in Windows Explorer.

Once you find the key folders, I'd highly recommend you add them to your RegEdit favorites in the Favorites menu.  Name it "OneDrive CLSID" and "OneDrive Wow64" for easy memory.

Now that you have found the right place, and favorited it, change the "System.IsPinnedToNameSpaceTree" value to 0 (False).  Just double-click the "IsPinned..." value, and set the data to 0 and click OKAY.  Leaving the registry editor up in case you have to undo that change, open a new Windows Explorer window to confirm that you changed the correct value.  You should no longer see OneDrive in the sidebar on the left of the Explorer window.

Remove OneDrive From The File Explorer Dropdown
This step is what everyone in the world has been forgetting about, or weren't sure how to solve.  When you open File Explorer, and click the ">" button in the address bar next to the little computer icon, a dropdown list appears, and OneDrive is hiding in there too.

Start right where we were before in RegEdit and let's dig out that little gem as well.  In this case, take a trip into your own current user profile for the explorer desktop settings in here.

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

Under this key, you will find that oh-so-familiar CLSID UUID we saw before.  Here there will be a key with that UUID {018D5C66-4533-4307-9B53-224DE2ED1FE6} and a default value showing the label "OneDrive".  In order to remove OneDrive from this dropdown list, you have to right-click on that entire key folder, and delete it.

And that's it! Open up file explorer, click the ">" arrow and you shouldn't see "OneDrive" in that list.  If it is, try checking the key below for any keys with a default value of "OneDrive" that might be holding onto that spot.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

Posts from This Journal by “windows 10” Tag

  • My Windows 10 (Preview) Experience

    I installed the Windows 10 Preview on my old desktop a while ago, but finally started playing around with it a bit. My initial experience over the…


?

Log in