Remove the OneDrive folder from File Explorer in Windows 10

OneDrive is Microsoft's cloud storage and synchronization service that allows you to save the most important files online to make them accessible and usable from any other computer and online. OneDrive works well, it is a great alternative to Google Drive that has the advantage of being already installed and integrated into Windows 10. In addition, Onedrive is also accessible from File Explorer, ie from the tree of paths that can be seen on the left side when it is opened any folder . The only problem is that, if you don't use OneDrive or if you don't want to see the Onedrive folder in File Explorer, there is no button to remove it easily and you have to use less immediate methods that need an explanation.
While in another article we had explained how to disable OneDrive, in this we see how to remove Onedrive from Windows 10 folders instead.
Onedrive in Windows 10 has a dedicated section in Windows Explorer which you can see on the left side of the window, opening any folder. Onedrive lists all the files uploaded to Microsoft's online space even if the files aren't really on the computer, it's just projections. In order to make a file accessible even without an internet connection, it must, in fact, be made available offline.
If you are not using Onedrive, seeing the Onedrive folder in File Explorer is completely unnecessary and well worth the 2 minutes of time to get it to disappear and remove.
1) Uninstall OneDrive
If you don't use OneDrive yourself, the best way to get rid of it is to uninstall it.
To uninstall OneDrive in Windows 10, open the Control Panel and click on the Uninstall a program link under the word Programs .
Then search for Microsoft OneDrive in the list of installed programs, press on it and then click on the Uninstall option.
OneDrive can also be uninstalled by opening Settings from the Windows 10 Start menu, then going to the App and, under the Apps and features section, search the Microsoft Onedrive list and press on it to be able to click the button that uninstalls it .
If you want to reinstall OneDrive you can do it by going to the C: \ Windows \ SysWOW64 folder (if 64-bit Windows 10) or C: \ Windows \ System32 (if 32-bit Windows 10) to find the OneDriveSetup.exe file. With a double click on this file you can reinstall OneDrive.
2) Change registry key to make OneDrive disappear from Windows 10 folders
If you don't want to remove OneDrive entirely, but prefer it not to appear as a folder in Windows 10 File Explorer, instead of uninstalling the application, you can make a change to a registry key by following these steps:
  • Press the keys (on the keyboard) Windows Logo + R together to open the Run box.
  • Type regedit.exe and then press OK.
  • Authorize the app by pressing Yes in the user account control
  • After opening the registry editor, go to the following path in the folder tree on the left (or paste the path into the search box at the top):
    Computer \ HKEY_CLASSES_ROOT \ CLSID \ {} 018D5C66-4533-4307-9B53-224DE2ED1FE6
  • Once you have selected the {018D5C66-4533-4307-9B53-224DE2ED1FE6} folder, look on the right side of the window and find the System.IsPinnedToNameSpaceTree value. Press twice on it to change the value from 1 to 0.

Without needing to restart the computer, you will notice that Onedrive is no longer present in the list of paths inside the folder windows in Windows 10.
To display OneDrive again in File Explorer, you can repeat the above operation and give the key System.IsPinnedToNameSpaceTree the value 1.

Leave Your Comment

Please enter your comment!
Please enter your name here