Fix OneDrive Deleted Local Files After Forced Synchronization
Question details
The user is experiencing data loss where OneDrive deleted or replaced newer local files after a forced folder synchronization (Known Folder Move) was applied.

- Product
- OneDrive
- Device & OS
- Windows
- Scenario
- Enforcing OneDrive synchronization for Desktop, Documents, and Pictures on a device that may have been offline for an extended period.
- Observed behavior
- Local files that were newer than the files stored online were deleted or overwritten during the forced synchronization process.
Immediately pause your OneDrive synchronization to prevent any further overwriting of your local data, and check your Windows Recycle Bin or OneDrive online recycle bin for the missing files.
Review Intune Actions and OneDrive Sync Diagnostics
Identify if an administrative action or a massive synchronization conflict caused the local file deletion.
When a user works offline for an extended period (sometimes years), forcing synchronization upon reconnection can cause older online files to overwrite newer local files. Additionally, endpoint management policies might trigger unintended resets.
Open Microsoft Endpoint Manager and review the Intune compliance policies and device actions audit logs for the affected machine.
Confirm whether any retirement, reset, remote wipe, or remediation action was recently applied to the device that could have cleared local profiles.
Open OneDrive settings on the local machine and review the synchronization diagnostics and conflict logs to see exactly which files were overwritten.

Safely Enforce Known Folder Move (KFM)
Best practices to prevent data loss before enforcing synchronization on Desktop, Documents, and Pictures folders.
Switch to WPS Office for Reliable and Independent File Management
If complex OneDrive synchronization policies and Microsoft Intune conflicts are causing unexpected data loss, consider switching to WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office that gives you full independent control over where and how your local files are saved, avoiding the risks of forced background syncing.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to set up the software.
- 3. Open and edit files locally: Open your existing Microsoft Office documents directly in WPS Office to continue working safely on your local drive.

Frequently Asked Questions
Why did OneDrive delete my files when Known Folder Move was forced?
When Known Folder Move (folder backup) is enforced, synchronization conflicts can occur if the local device was offline for a long time. The system may treat the cloud as the master copy, causing older online files to overwrite newer local versions.
Can I recover local files overwritten by a forced OneDrive sync?
You can often recover them by checking the Windows Recycle Bin on your local PC or the OneDrive online Recycle Bin. If the files were permanently deleted due to an Intune wipe, you will need to restore them from an independent local backup.
How do I prevent sync conflicts when reconnecting an offline device?
Before reconnecting a device that has been offline for months or years, back up all local files to an external hard drive. Once secured, connect to OneDrive and manually review any file version conflicts rather than forcing an automated sync.
Does pausing OneDrive sync cause data loss?
Pausing sync itself does not delete files. However, keeping synchronization paused for a prolonged period (e.g., working offline for years) creates massive file version discrepancies, significantly increasing the risk of data loss when synchronization is eventually resumed.




