Advertisement

How to remove OneDrive icon from Windows 10 File Explorer

OneDrive comes bundled with the Windows 10 OS. It can be used to store your documents and other data online in the cloud and sync it between your computers. If you are not going to use it and don't wish to see the OneDrive icon in the mavigation pane, here is how to disable it and remove OneDrive from Windows 10 File Explorer.

To remove and hide the OneDrive icon from Windows 10 File Explorer, do the following:

  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder

    Tip: See how to jump to the desired Registry key with one click.
    You might need to take ownership of this key as described HERE or using the RegOwnershipEx app (recommended). In my case, I already had full access to that key.

  3. Set the value data of the DWORD value Attributes to f090004d.windows 10 remove onedrive icon registry
  4. If you are running a 64-bit operating system, repeat the steps above for the following Registry key:
    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\ShellFolder
  5. Restart Windows 10.
  6. Open the File Explorer app. The OneDrive icon will disappear from the File Explorer navigation pane:windows 10 remove onedrive icon

That's it. To restore the OneDrive icon, set the Attributes value data to f080004d.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

28 thoughts on “How to remove OneDrive icon from Windows 10 File Explorer”

  1. Save the bekow txt as ODUnistall.cmd and run it. It will delte your OneDrive. Cheers.

    @echo off
    cls

    set x86=”%SYSTEMROOT%\System32\OneDriveSetup.exe”
    set x64=”%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe”

    echo Closing OneDrive process.
    echo.
    taskkill /f /im OneDrive.exe > NUL 2>&1
    ping 127.0.0.1 -n 5 > NUL 2>&1

    echo Uninstalling OneDrive.
    echo.
    if exist %x64% (
    %x64% /uninstall
    ) else (
    %x86% /uninstall
    )
    ping 127.0.0.1 -n 5 > NUL 2>&1

    echo Removing OneDrive leftovers.
    echo.
    rd “%USERPROFILE%\OneDrive” /Q /S > NUL 2>&1
    rd “C:\OneDriveTemp” /Q /S > NUL 2>&1
    rd “%LOCALAPPDATA%\Microsoft\OneDrive” /Q /S > NUL 2>&1
    rd “%PROGRAMDATA%\Microsoft OneDrive” /Q /S > NUL 2>&1

    echo Removeing OneDrive from the Explorer Side Panel.
    echo.
    REG DELETE “HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f > NUL 2>&1
    REG DELETE “HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f > NUL 2>&1

    pause

      1. [HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder]
        “Attributes”=dword:f090004d

        [HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder]
        “Attributes”=dword:f090004d

  2. Dear Mr. Tkachenko.
    Thank you so much for the apps Winaero asd Personalization as well as many other tips.
    Also that would be nice to get back the language switch pane view like in former Windows versions since it’s a bit too large in Win-10))
    Best regards!

  3. [HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder]
    “Attributes”=dword:f090004d

    [HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder]
    “Attributes”=dword:f090004d

  4. Thanks for this I don’t use one drive and always wanted to turn it off. Thanks for all of the other tips that you post great stuff.

  5. Сергей, а Вы уверены, что адрес реестра в статье (п.4) правильный? Правильный в комментариях Криса.

    1. Уверен.
      Мой путь влияет на всех пользователей, путь Криса – только на текущего пользователя.

    1. To delete the entry/icon for OneDrive for Business from Windows 10 File Explorer:

      1. Press the Windows Key and R, then type regedit and click OK to open up the Registry Editor

      2. Navigate to HKEY_CLASSES_ROOT\CLSID\{3BA2E6B1-A6A1-CCF6-942C-D370B14D842B}

      3. Double-click System.IsPinnedToNamespaceTree
      4. Change “value data:” from 1 to 0
      5. Click ok
      6. Close the Registry Editor

      Related, in the Registry Editor steps 3-6 can also be used to achieve the same result for:

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

      DropBox (Personal):
      HKEY_CLASSES_ROOT\CLSID\{E31EA727-12ED-4702-820C-4B6445F28E1A}

      Dropbox (Business):
      HKEY_CLASSES_ROOT\CLSID\{E31EA727-12ED-4702-820C-4B6445F28E1B}

      1. HKEY_CLASSES_ROOT\CLSID\{3BA2E6B1-A6A1-CCF6-942C-D370B14D842B} isn’t in my Registry Editor for OneDrive Business. I found the one for OneDrive Personal but it’s the OneDrive Business that I want to stop showing up in my File Explorer. I’m using Windows 10. Any idea’s??? Thanks

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.