Forum Discussion

Santoszuo's avatar
Santoszuo
Copper Contributor
Jun 02, 2026

How do I completely disable OneDrive in Windows 11?

I can't do that currently. I'm trying to stop using OneDrive on my Windows 11 PC and would like to disable it completely. I don't use cloud storage and prefer to keep all my files stored locally on the computer.

Even after closing OneDrive, it seems to start again after a reboot, and I still see OneDrive folders in File Explorer. I'm also concerned that some of my Desktop, Documents, and Pictures folders may still be syncing automatically.

What is the best way to completely disable OneDrive in Windows 11? Is it enough to unlink the PC and disable startup, or should I uninstall it as well? Any advice would be appreciated.

3 Replies

  • HoltSawye's avatar
    HoltSawye
    Iron Contributor

    Making registry adjustments is an efficient way to disable OneDrive on Windows 11 and remove the OneDrive sidebar icon that remains in File Explorer after uninstallation.

    By modifying system registry settings, this method hides the remaining OneDrive navigation entries. As a lightweight manual solution, it removes residual traces from the sidebar without requiring third-party cleanup tools.

    How to Disable OneDrive on Windows 11

    Step 1: Press the Win + R shortcut keys, type regedit, and press Enter to launch the Registry Editor.

    Step 2: Navigate to the following path:

    HKEY_CLASSES_ROOT\CLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}.

    Step 3: In the right pane, double-click the entry named System.IsPinnedToNameSpaceTree.

    Step 4: Change its Value data from 1 to 0, then click OK to save the configuration.

    Finally, restart the File Explorer process or reboot the entire computer for the changes to take effect.

    Once you've completed these steps, the OneDrive icon will permanently disappear from the left sidebar of File Explorer, thereby removing any remaining traces of OneDrive from your Windows 11 system.

    Cons

    • Navigating the registry incorrectly or modifying values improperly may cause File Explorer to display incorrectly.
    • System updates may reset this registry setting and cause the OneDrive sidebar to reappear.
  • DashielQuinn's avatar
    DashielQuinn
    Iron Contributor

    This is a great registry tweak to quickly disable onedrive on windows 11 without installing third-party blocking programs. It essentially lets you block automatic OneDrive reinstall via Windows Update in just a few simple registry edits, allowing you to permanently stop unwanted OneDrive restoration after uninstall.

    Usage Guide: Press Win + R, type regedit to launch the Registry Editor, and then navigate to:

     HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive.

    If the OneDrive key is not found, right-click on Windows, select New > Key, and name it OneDrive.

    Right-click in the blank space in the right pane, select New > DWORD Value, rename it to DisableFileSyncNGSC, double-click the entry, set the Value data to 1, and then save the changes.

    This registry operation requires no additional software and can quickly help you completely disable onedrive on windows 11, effectively resolving the issue where Windows Updates automatically reinstall OneDrive.

    It is particularly useful for users who have manually uninstalled OneDrive and want to avoid unexpected automatic recovery during system update or patch installation.

  • Santoszuo's avatar
    Santoszuo
    Copper Contributor

    I'm trying to stop using OneDrive on my Windows 11 PC and would like to disable it completely. I don't use cloud storage and prefer to keep all my files stored locally on the computer.

    Even after closing OneDrive, it seems to start again after a reboot, and I still see OneDrive folders in File Explorer. I'm also concerned that some of my Desktop, Documents, and Pictures folders may still be syncing automatically.

    What is the best way to completely disable OneDrive in Windows 11? Is it enough to unlink the PC and disable startup, or should I uninstall it as well? Any advice would be appreciated.