Forum Discussion
How do I completely disable OneDrive in Windows 11?
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.