Add or Remove OneDrive from Navigation Pane in Windows 10  

Page 1 of 11 123 ... LastLast
    Add or Remove OneDrive from Navigation Pane in Windows 10

    Add or Remove OneDrive from Navigation Pane in Windows 10

    How to Add or Remove OneDrive in Navigation Pane of File Explorer in Windows 10
    Published by Category: General Tips
    05 Dec 2019
    Designer Media Ltd

    How to Add or Remove OneDrive in Navigation Pane of File Explorer in Windows 10


    In Windows 10, you can easily save your files to OneDrive and get to them from any device, like your PC, tablet, or phone.

    OneDrive is free online storage at OneDrive.com that comes with your Microsoft account. It’s like an extra hard drive that’s available from any of the devices you use. You no longer need to email files to yourself or carry around (and possibly lose) a USB flash drive. Instead, whether you’re on your laptop and working on a presentation, viewing photos from your last family vacation on your new tablet, or on your phone reviewing your shopping list, you can get to your files in OneDrive.

    Getting started with OneDrive is easy. You can add files already on your PC to OneDrive by either copying them over or moving them from your PC. When you save new files, you can choose to save them to OneDrive so you can get to them from any device and share them with other people. And, if your PC has a built-in camera, you can automatically save copies of the photos in your camera roll to OneDrive, so you'll always have a backup.

    This tutorial will show you how to add or remove the OneDrive folder from the navigation pane of File Explorer for only your account without disabling OneDrive in Windows 10.

    Opening the OneDrive app will automatically restore OneDrive back to the navigation pane of File Explorer.
    Add or Remove OneDrive from Navigation Pane in Windows 10-onedrive_start_menu.png



    EXAMPLE: Add or Remove OneDrive from Navigation Pane
    Add or Remove OneDrive from Navigation Pane in Windows 10-add_onedrive_to_navigation_pane.png Add or Remove OneDrive from Navigation Pane in Windows 10-remove_onedrive_from_navigation_pane.png
    Add or Remove OneDrive from Navigation Pane in Windows 10-remove_onedrive_from_navigation_pane.png Add or Remove OneDrive from Navigation Pane in Windows 10-rremove_onedrive_from_navigation_pane_show_all_folders.png



    Here's How:

    The downloadable .reg files below will modify the DWORD in the registry keys below.

    HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

    HKEY_CURRENT_USER\Software\Classes\WOW6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

    System.IsPinnedToNameSpaceTree DWORD

    1 = add
    0 = remove

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

    (add) = add
    (delete) = remove


    1 Do step 2 (add) or step 3 (remove) below for what you would like to do.


    2 To Add OneDrive to Navigation Pane of Current User

    This is the default setting.

    A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.

    Add_OneDrive_to_Navigation_Pane.reg

    Download


    3 To Remove OneDrive from Navigation Pane of Current User

    A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.

    Remove_OneDrive_from_Navigation_Pane.reg

    Download

    4 Save the .reg file to your desktop.

    5 Double click/tap on the downloaded .reg file to merge it.

    6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7 When finished, you can delete the downloaded .reg file if you like.






  1. Posts : 17,136
    macOS Big Sur
       #1

    Nice tut, Shawn. Thanks. :)

    -Chuck
      My Computer


  2. Posts : 68,543
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Glad you like it Chuck. :)
      My Computers


  3. Posts : 78
    Vista/Win7/Win8/Win10 x86/x64
       #3

    Shawn,
    I've searched here and haven't found it yet, but do you have a ditty to Totally uninstall OneDrive from 10 yet?

    I found this and used it, it seemed to work as it's gone.
    On some major updates/upgrades it gets reinstalled, and when it does I just run it again.

    Thank you.


    @echo off
    cls

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

    echo Uninstalling OneDrive.
    echo.
    %SYSTEMROOT%\System32\OneDriveSetup.exe /uninstall
    ping 127.0.0.1 -n 10 > 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

    pause


    Code:
    Update
    Edit 8/7/2015
    Below is an updated version of this above script to work for more builds.
    fwiw, I give full credit for both scripts to the original source (melerix)


    @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

    pause



    Code:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This next part is like Brink has already posted in this tutorial, and so I've left it out of the script.
    I personally like Brink's way because of the options to leave the Folder showing - which I like to.
    And so I only post the rest of the script just as an fyi: 
    
    (remove pause above and leave only the one at this end if used)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    echo Removing 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
    Last edited by endeavor; 07 Aug 2015 at 08:42. Reason: posted an update
      My Computer


  4. Posts : 68,543
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    I haven't tested this below from Windows 8.1 yet, but you might also see how it'll work to remove OneDrive integration in Windows 10.

    OneDrive Integration in Windows 8.1 - Enable or Disable


    Update: https://www.tenforums.com/tutorials/1...dows-10-a.html
    Last edited by Brink; 11 Nov 2015 at 13:37. Reason: update
      My Computers


  5. Posts : 1,778
    Windows 10 Pro,
       #5

    Great info, thanks.
      My Computer


  6. Posts : 78
    Vista/Win7/Win8/Win10 x86/x64
       #6

    Thanks for the reply Shawn.

    I did read through that on Eight before I had posted. Not that's it's a big deal but I also didn't want to log on to my MS account to enable or disable OneDrive though; at first I did disable it locally, but then I just wanted to remove OneDrive completely right off with one click, and so far still it seems it has. I did notice right after I had first did it tried to reinstall itself or so I thought, so I ran it again and this time it hasn't come back. Hey, it may very well I don't know, and if it does I will come back to report if it does.

    I just wanted to make sure you didn't already have a tutorial written on that bat file so far.

    Thank you
      My Computer


  7. Posts : 68,543
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    No problem. If you ever run a SFC scan, you would most likely need to run the .bat file in your post again though.
      My Computers


  8. Posts : 7,724
    3-Win-7Prox64 3-Win10Prox64 3-LinuxMint20.2
       #8

    Seems to me if Onedrive is integrated it would be listed in windows features turn on or off.
      My Computers


  9. Posts : 68,543
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #9

    It would be nice if it was included in Windows Features, but it's not so far. It was the same way in Windows 8.1, but you could still manually remove OneDrive integration.

    OneDrive is suppose to be even more integrated by the time Windows 10 reaches RTM, so it'll be interesting to see how easy it'll be to remove OneDrive at that time.
      My Computers


 

Tutorial Categories

Add or Remove OneDrive from Navigation Pane in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:42.
Find Us




Windows 10 Forums