How to remove an old OneDrive from the local File Explorer

Situation: After the tenant migration, the client map their new OneDrive to the File Explorer. They would like to know how to remove the old OneDrive from file Explorer.

Resolution 1:

  1. Open File Explorer.
  2. Click on OneDrive in the left-hand column.
  3. Navigate to the file or folder in question.
  4. Right-click on the file/folder.
  5. Click on Free up space.

Resolution 2: Mass-Delete Local Copies on OneDrive

  1. Launch the OneDrive app.
  2. Head to Settings > Sync and back up.
  3. Expand the Advanced settings menu.
  4. From the Files On-Demand section, click the Free up disk space option.

Resolution 3: You may remove the OneDrive Folder From File Explorer by Editing the Registry

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

Double-click the System.IsPinnedToNameSpaceTree option in the right pane. Set it to 0 and click “OK”.

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

Double-click the System.IsPinnedToNameSpaceTree option in the right pane. Set it to 0 and click “OK”.

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com