How to Disable OneDrive and Remove it From File Explorer on Windows 10

Windows 10 includes OneDrive, and Microsoft's official party line is that you can't disable it. That's not true - there are several ways to disable OneDrive and remove it from File Explorer on Windows 10.

This method is ideal for users of Windows 10 who want to get rid of OneDrive without stripping it completely out of the operating system. It's completely reversible if you ever want to use OneDrive again.

To do this, first right-click the OneDrive icon in your notification area - it looks like a little white cloud - and select Settings. You might have to click the up arrow button to view all the system tray icons before you see the OneDrive icon.

Uncheck the "Start OneDrive automatically when I sign in to Windows" option and save your settings. OneDrive won't load at startup anymore.


If you don't plan on using OneDrive, you may also want to click or tap the "Unlink OneDrive" button here. This will stop OneDrive from syncing until you set it up again. It'll be grayed out if you haven't yet set up OneDrive.


You now just need to remove that "OneDrive" option located in the navigation pane of the File Explorer window. This requires a quick registry hack.

First, (To check whether you're using a 32-bit or 64-bit version of Windows 10, open the Start menu and launch the Settings app. Navigate to System > About. Look at "System type" and see whether it says you're using a "64-bit operating system" or "32-bit operating system.")

Download our Remove OneDrive From File Explorer registry hack ZIP below:

Once you have Downloaded our Explorer registry hack. Open the .zip file and double-click the appropriate .reg file for for your version of Windows, depending on whether you have a 32-bit or 64-bit version of Windows 10. We've also included a .reg file that will restore the OneDrive entry if you ever decide you want it back.

OneDrive should vanish from File Explorer immediately after you add the information in the .reg file to your registry. If it doesn't, try rebooting your PC and re-opening File Explorer.

(You could also do this by hand, of course. The .reg files modify the System.IsPinnedToNameSpaceTree DWORD value under HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ to 0, from its default of 1. On 64-bit editions of Windows, it also changes the System.IsPinnedToNameSpaceTree DWORD value under HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6\. To undo the change, set the same settings back to the original value of 1.)

If any local copies of your OneDrive files have synced to your PC, you may want to delete them to free up space. Navigate to the C:\Users\NAME\OneDrive folder, which contains your user's downloaded OneDrive files. These won' be automatically deleted when you unlink your account and stop syncing. Deleting them won't delete them from OneDrive if your account is unlinked from OneDrive - they'l just be deleted from your local device.