How to Recover Deleted or Duplicated Files in OneDrive
Question details
The user needs to recover local files that were altered, deleted, duplicated, or overwritten due to Microsoft OneDrive backup or synchronization processes.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Files go missing, get rearranged, or are duplicated after an unexpected OneDrive sync or client update.
- Observed behavior
- Local files appear to be unexpectedly deleted or overwritten by OneDrive, leading to potential data loss or unwanted file duplication.
Stop making any changes to the affected OneDrive folders immediately to prevent further overwriting, and copy any remaining important local files to an external USB drive for safekeeping.
Restore from OneDrive Recycle Bin and Version History
The fastest way to retrieve deleted files or revert overwritten documents is through OneDrive's built-in cloud recovery tools.
OneDrive retains deleted files in its own web-based Recycle Bin, completely separate from your computer's local trash. It also keeps track of version histories for Office documents, allowing you to roll back unwanted edits or overwrites.
Go to the OneDrive website in your browser and sign in with your Microsoft account credentials.
Click on 'Recycle bin' in the left-hand navigation pane. Select the files or folders you want to recover, and click 'Restore' at the top of the page.
To fix an overwritten file, navigate to 'My files', right-click the affected document, and select 'Version history'. Choose a version from before the sync issue occurred and click 'Restore'.

Use the 'Restore your OneDrive' Feature
If a large number of files were deleted, corrupted, or duplicated at once, you can roll back your entire OneDrive to a previous point in time.
Disable PC Folder Backup to Prevent Future Issues
Stop OneDrive from automatically moving and syncing your local Desktop, Documents, and Pictures folders to prevent future file rearrangement.
Switch to WPS Office for Reliable Document Management
Tired of unexpected file overwrites and confusing sync issues with Microsoft OneDrive? WPS Office offers a free, lightweight, and highly compatible alternative equipped with its own secure WPS Cloud. Enjoy a familiar interface, seamless document editing, and safe, transparent cloud backups without the hassle of unprompted file duplication.
- 1. Download and Install: Visit the official WPS website to download the free installation package and install it on your Windows, Mac, or Linux computer.
- 2. Set Up WPS Cloud: Create a free WPS account to activate your included WPS Cloud storage, giving you a safe place to back up vital documents.
- 3. Edit with Confidence: Open all your existing Word, Excel, and PowerPoint files natively, and rely on stable auto-save features that won't randomly duplicate your work.

Frequently Asked Questions
Why does OneDrive duplicate my files?
OneDrive usually duplicates files when it detects a sync conflict. This happens if a file is edited on two different devices simultaneously while offline, or if the sync client gets disconnected. To prevent data loss, OneDrive saves a duplicate copy with your computer's name appended to the filename.
Where do deleted OneDrive files go?
Files deleted from synced OneDrive folders are moved to both your computer's local Recycle Bin and the cloud-based OneDrive Recycle Bin online. You can recover them from either location, but the online bin will hold them securely for at least 30 days even if your local bin is emptied.
Can I recover a file if I accidentally saved over it?
Yes. OneDrive automatically retains previous versions of your Office documents. You can access these by logging into OneDrive online, right-clicking the affected file, and selecting 'Version history' to browse and restore earlier saves.
How do I stop OneDrive from syncing my Desktop and Documents?
Open the OneDrive application settings from your taskbar or menu bar, navigate to the 'Sync and back up' section, and click 'Manage backups'. From there, you can toggle off the Desktop, Documents, or Pictures folders to stop them from automatically syncing to the cloud.




