How to Prevent Personal OneDrive from Appearing in File Explorer
Question details
The user wants to find a way to hide or prevent the personal OneDrive namespace icon from showing up in the File Explorer navigation pane, specifically when OneDrive for Business is the primary tool.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Managing enterprise workstation configurations where only OneDrive for Business should be visible to end-users.
- Observed behavior
- The personal OneDrive icon remains visible and pinned in the File Explorer namespace even when Group Policies are implemented to block personal OneDrive usage.
Verify your administrative privileges and consult your IT department, as modifying system namespaces manually may conflict with existing enterprise endpoint management scripts.
Hide Personal OneDrive via Registry Editor
Modify the Windows Registry to manually unpin the personal OneDrive shortcut from the File Explorer navigation pane.
Since the standard Group Policy for blocking personal OneDrive usage does not remove the namespace entry, a registry modification is the most direct way to hide the icon.
Press the Windows key + R to open the Run dialog, type 'regedit', and press Enter.
In the Registry Editor, go to HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}.
Double-click the 'System.IsPinnedToNameSpaceTree' DWORD value in the right pane. Change the Value data from 1 to 0 and click OK.
Open Task Manager, locate Windows Explorer, right-click it, and select Restart to apply the changes.

Apply Group Policy to Block Personal Syncing
Use the Local Group Policy Editor to restrict personal account sign-in, ensuring the personal OneDrive client cannot be actively used.
Enhance Document Management with WPS Office
If you are customizing enterprise environments and looking to streamline document handling without bloated background syncing services, consider WPS Office. It provides a robust, independent ecosystem for your workplace needs.
- 1. Visit the Official Site: Go to the official WPS Office website on your browser.
- 2. Download the Installer: Click on the Free Download button to get the latest installation package.
- 3. Install WPS Office: Run the downloaded file and follow the straightforward setup wizard.

Frequently Asked Questions
Why does the personal OneDrive icon still show after enforcing the blocking Group Policy?
The Group Policy designed to block personal use restricts the synchronization engine and account sign-in capabilities, but Microsoft did not design this policy to automatically remove the namespace shortcut (CLSID) from the File Explorer navigation pane.
Can I deploy the registry fix across an enterprise environment?
Yes. Enterprise administrators commonly use Group Policy Preferences (GPP), Microsoft Endpoint Configuration Manager (SCCM), or Intune PowerShell scripts to push the 'System.IsPinnedToNameSpaceTree' = 0 registry modification to all domain-joined machines.
Does removing the personal OneDrive icon affect OneDrive for Business?
No. Personal OneDrive and OneDrive for Business use different Class IDs (CLSIDs) in the Windows Registry. Modifying the personal OneDrive registry key ({018D5C66-4533-4307-9B53-224DE2ED1FE6}) will leave your OneDrive for Business integration completely intact.




