Page 1 of 7 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 BrinkCategory: General Tips
    20 Mar 2015 Last Updated: 13 Jul 2017 at 15:35

    Published by


    Brink's Avatar
    Administrator

    Posts: 23,772

    Show Printable Version 


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

    information   Information
    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.

    Note   Note
    If you have Show all folders turned on, then OneDrive will still show until Show all folders is turned off.


    EXAMPLE: Add or Remove OneDrive from Navigation Pane
    Click image for larger version. 

Name:	Add_OneDrive.png 
Views:	4907 
Size:	131.3 KB 
ID:	14928
    Click image for larger version. 

Name:	Remove_OneDrive.png 
Views:	5343 
Size:	115.2 KB 
ID:	14929



    Here's How:
    Note   Note
    The .reg files below will modify the DWORD in the registry key below.

    HKEY_CURRENT_USER\SOFTWARE\Classes\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

    NOTE: 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.



    Related Tutorials



  1.    20 Mar 2015 #1
    Join Date : Mar 2014
    South Carolina, USA
    Posts : 16,902
    Windows 10 Pro 64-bit

    Nice tut, Shawn. Thanks.

    -Chuck
      My ComputerSystem Spec
  2.    20 Mar 2015 #2
    Join Date : Oct 2013
    Posts : 23,772
    64-bit Windows 10 Pro build 16362
    Thread Starter

    Glad you like it Chuck.
      My ComputersSystem Spec
  3.    22 Mar 2015 #3
    Join Date : Feb 2014
    Posts : 63
    Vista/Win7/Win8/Win10 x86/x64

    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 ComputerSystem Spec
  4.    22 Mar 2015 #4
    Join Date : Oct 2013
    Posts : 23,772
    64-bit Windows 10 Pro build 16362
    Thread Starter

    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 ComputersSystem Spec
  5.    22 Mar 2015 #5
    Join Date : Mar 2015
    New Mexico
    Posts : 1,253
    Windows 10 Pro,

    Great info, thanks.
      My ComputerSystem Spec
  6.    23 Mar 2015 #6
    Join Date : Feb 2014
    Posts : 63
    Vista/Win7/Win8/Win10 x86/x64

    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 ComputerSystem Spec
  7.    23 Mar 2015 #7
    Join Date : Oct 2013
    Posts : 23,772
    64-bit Windows 10 Pro build 16362
    Thread Starter

    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 ComputersSystem Spec
  8.    24 Mar 2015 #8
    Join Date : Nov 2013
    Houston
    Posts : 1,570
    Win-7Prox64 Win-8.1Prox64 Win-10Prox64

    Seems to me if Onedrive is integrated it would be listed in windows features turn on or off.
      My ComputerSystem Spec
  9.    24 Mar 2015 #9
    Join Date : Oct 2013
    Posts : 23,772
    64-bit Windows 10 Pro build 16362
    Thread Starter

    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 ComputersSystem Spec

 
Page 1 of 7 123 ... LastLast


Similar Threads
Tutorial Category
Customization Add or Remove This PC in Navigation Pane in Windows 10
How to Add or Remove This PC in Navigation Pane of File Explorer in Windows 10 This tutorial will show you how to add or remove This PC in the navigation pane of File Explorer for all users in Windows 10. You must be signed in as an...
Tutorials
Network & Sharing Add or Remove Network from Navigation Pane in Windows 10
How to Add or Remove Network in Navigation Pane of File Explorer in Windows 10 This tutorial will show you how to add or remove Network in the navigation pane of File Explorer for all users in Windows 10. You must be signed in as an...
Tutorials
Network & Sharing Add or Remove Homegroup from Navigation Pane in Windows 10
How to Add or Remove Homegroup in Navigation Pane of File Explorer in Windows 10 A homegroup is a group of PCs on a home network that can share devices (such as printers), and libraries (such as your Documents, Pictures, Music, and Video...
Tutorials
General Tips Add or Remove Duplicate Drives in Navigation Pane in Windows 10
How to Add or Remove Duplicate Drives in Navigation Pane of File Explorer in Windows 10 By default, all removable drives are shown separately in the navigation pane of File Explorer in addition to being shown under This PC in the navigation pane....
Tutorials
Customization Add or Remove Recycle Bin from Navigation Pane in Windows 10
How to Add or Remove Recycle Bin in Navigation Pane of File Explorer in Windows 10 The Recycle Bin provides a safety net when deleting files or folders. When you delete any of these items from your hard disk, Windows places it in the Recycle Bin...
Tutorials
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 11:30.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums