How to Remove Old OneDrive for Business Folders from Your PC
Step 1: Unlink the Old OneDrive Account
- Click the OneDrive cloud icon in the system tray (bottom-right corner).
- Select Help & Settings → Settings.
- Go to the Account tab.
- Click Unlink this PC next to the old OneDrive account.
- This stops syncing but leaves locally available files on your PC.
Step 2: Uninstall OneDrive (Optional)
If you no longer need OneDrive at all:
- Open Start → search for Add or Remove Programs.
- Find Microsoft OneDrive in the list.
- Click Uninstall and confirm.
Step 3: Delete Local OneDrive Folder
- Open File Explorer.
- Navigate to:
C:\Users\<YourUsername>\
- Delete the folder named:
OneDrive – Old Company Name
Step 4: Remove SharePoint Synced Libraries (if applicable)
If you had synced SharePoint libraries:
- Look for folders with SharePoint icons in your user directory.
- Delete them manually.
Step 5: Clean Up Registry Entries (Advanced)
⚠️ Warning: Editing the registry can cause system issues if done incorrectly. Always back up your registry before making changes.
- Press Win + R, type
regedit
, and press Enter. - Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\BusinessX
- "X" represents the number of business accounts you've used.
- Look for the correct account using the
UserEmail
value. - Delete the entire
BusinessX
folder.
- Also check:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
- Find subfolders with
OneDrive – Old Company Name
in the (Default) value. - Delete those subfolders.
- Find subfolders with
Step 6: Remove Credentials (Optional)
- Open Control Panel → Credential Manager.
- Check both Web Credentials and Windows Credentials.
- Remove any entries related to the old OneDrive account.
Step 7: Sync New OneDrive Account
- Go to https://portal.office.com and sign in with your new account.
- Open OneDrive and click Sync.
- Follow the prompts to set up the new sync folder.
Comments
0 comments
Please sign in to leave a comment.