This is how you completely disable OneDrive in Windows

best cloud service

OneDrive is Microsoft’s cloud service built directly into Windows. That can be useful, but if you don’t use it, you probably don’t want to encounter the feature constantly. In that case, you can disable OneDrive on your Windows PC. Here we show you how to do that.

Do you want more tips about OneDrive and all other cloud services? Then take a look at You will find them all there.

Not everyone who has a Windows PC wants to use OneDrive. And even if you do use the cloud service to store everything, that doesn’t mean you want to sync OneDrive with your PC and find it everywhere, such as in the system tray and in Windows Explorer. Fortunately, it is possible to completely disable OneDrive on your computer.

OneDrive no longer starts automatically

To stop OneDrive from loading automatically when you start your computer, right-click the OneDrive icon in the system tray and Settings select. Go to the tab Settings in the window that appears and uncheck the option Start OneDrive automatically when I sign in to Windows.

From now on, OneDrive will no longer start automatically with Windows, and you will no longer see the pop-up that is shown if you are not yet logged in to OneDrive.

Stop syncing in Windows

In the home version of Windows 10 or 11, to ensure that automatic synchronization is turned off and to remove the shortcut to OneDrive that is in the system tray, you must use the Registry Editor.

Press on the Windows-key and type regedit. In the search results, choose the Registry Editor. Navigate to HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER > Software > Policies > Microsoft > Windows. Right click on the folder Windows and choose New > Key. Name this new folder OneDrive.

Right click on the OneDrive folder you just created, and choose New > DWORD (32 bit) value. Name the value DisableFileSyncNGSC and set its value on 1 by double clicking on it and the number 1 to type in the box next to Value data.

If you want to re-enable OneDrive later, navigate to HKEY_LOCAL_MACHINE > Software > Policies > Microsoft > Windows > OneDrive and set the value to 0.

Create a new key called OneDrive.

Stop syncing in Windows 10 Pro

In the Pro version of Windows 10, it is easier to disable OneDrive.

Press on the Windows-key and type gpedit. In the search results, select the option Edit Group Policy.

Go to Computer Configuration > Administrative Templates > Windows Components > OneDrive and double click Prevent Onedrive from being used for file storage. In the window that appears, click Switched on and click OK.

After some time, OneDrive will stop syncing.

Get OneDrive from Windows Explorer

You will still see the OneDrive icon in the left pane of Windows Explorer. To get rid of this, you have to use the Registry Editor.

Press on the Windows-key and type regedit. In the search results, choose the Registry Editor. Navigate to HKCRCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6} (Windows 10, 32-bit version) or to HKCRWow6432NodeCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6} (Windows 10, 64-bit version) and set the registry value with the name System.IsPinnedToNameSpaceTree on 0.

If you do this without having stopped the OneDrive synchronization as described above, OneDrive will still remain active and only the icon will no longer be visible in the Explorer. This step does not affect the functioning of OneDrive.

OneDrive is initially still in Windows Explorer.

Recent Articles

Related Stories