Fix Older OneDrive for Business Files That Cannot Be Deleted in Windows
Question details
The user needs to delete older files and folders from a OneDrive for Business folder in Windows.

- Product
- OneDrive for Business
- Device & OS
- Windows; version not provided
- Scenario
- Deleting older synced files and folders through Windows File Explorer.
- Observed behavior
- Older items cannot be deleted while OneDrive is linked, but they can be renamed or moved. They can also be deleted after OneDrive is unlinked. New files are not affected.
Confirm that you are signed in to the affected OneDrive for Business account and identify an older item you are authorized to delete. Deleting an item online can also remove it from synced devices and affect people who use it.
Test Deletion on the OneDrive Website and Reset the Sync Client
Use this approach to determine whether the problem is online or limited to the Windows sync client.
Sign in to OneDrive on the web with the affected work account, select an older test item, and click Delete. If deletion fails online too, ask your Microsoft 365 administrator to check your permissions and any retention policies.
Click the OneDrive cloud icon in the Windows notification area and check for sync errors. Resolve any reported account or sync issue, then try deleting the item in File Explorer again.
If online deletion works but File Explorer deletion still fails, press Windows+R, enter "%localappdata%\Microsoft\OneDrive\onedrive.exe" /reset, and select OK. The OneDrive icon may disappear temporarily while the client resets.
If OneDrive does not restart on its own, press Windows+R, enter "%localappdata%\Microsoft\OneDrive\onedrive.exe", and select OK. Wait for syncing to resume, then try deleting an older item in File Explorer.

Reinstall the OneDrive Sync Client
Try a fresh client installation if online deletion works but resetting OneDrive does not resolve the File Explorer issue.
Reset Internet Explorer Settings for a Legacy OneDrive Client
Consider this historical troubleshooting step on an older Windows setup if online deletion works but the legacy sync client still has trouble.
Work With Office Documents Using WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface for working with documents, spreadsheets, and presentations. It supports common Microsoft Office formats to make moving your work easier, though it does not repair OneDrive sync or deletion issues.

Frequently Asked Questions
Why can I delete the file online but not in File Explorer?
If deletion succeeds on the OneDrive website, the issue may be limited to the Windows sync client. Check the OneDrive cloud icon for errors, then reset the client using the Windows Run dialog if needed.
What should I do if the file cannot be deleted online either?
Confirm that you are signed in to the correct work account and have permission to delete the item. Ask your Microsoft 365 administrator to check permissions and retention policies if deletion is still blocked.
How do I restart OneDrive after resetting it?
If it does not restart automatically, press Windows+R, enter "%localappdata%\Microsoft\OneDrive\onedrive.exe", and select OK. You can also search for OneDrive in the Start menu.
Will deleting a file on the OneDrive website affect other devices?
Yes. A deletion normally syncs to devices connected to the same OneDrive account and may affect people who use the item. Check that you are authorized to remove it before selecting Delete.




