Stop Restored SharePoint Files From Being Deleted Again
Question details
The user needs to prevent SharePoint files from being deleted again after they are restored.

- Product
- Microsoft SharePoint and OneDrive sync
- Device & OS
- not provided
- Scenario
- A folder was downloaded twice into a synchronized location and deleted locally, causing its SharePoint files to be deleted.
- Observed behavior
- Restored files are repeatedly deleted, and the SharePoint Recycle Bin identifies the user's account in the Deleted By column.
Identify the affected SharePoint library and check the Deleted By column in its Recycle Bin. Locate the duplicate folder and confirm whether it is inside a OneDrive or SharePoint sync folder before changing it.
Disconnect the affected sync folder before restoring files
Use this method when a local duplicate or pending sync activity may be sending the deletions back to SharePoint.
Select the OneDrive cloud icon, open Help & Settings, and choose Pause syncing to temporarily stop sync activity while you investigate.
From the OneDrive cloud icon, open Settings, select Account, and choose Stop sync next to the affected SharePoint library. Confirm that the duplicate folder is no longer in an actively synchronized location.
In your file manager, locate and remove the duplicate local folder. Check its path carefully so you do not delete a different folder that is still syncing.
Open the SharePoint site, select Recycle Bin, select the affected files or folders, and choose Restore. Check the library and Recycle Bin to see whether the files remain in place.
If the files remain in SharePoint, open the document library and select Sync to reconnect it if needed. Monitor the library for further deletions.

Investigate the account shown in the Recycle Bin
Use this approach if files are still being deleted after you disconnect the suspected sync folder.
Edit Office Files With WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents. Open compatible files to make migration easier; resolving SharePoint sync deletions still requires the Microsoft tools above.

Frequently Asked Questions
Why are my restored SharePoint files deleted again?
A sync client may still be sending deletions from a local folder to SharePoint. Check the affected OneDrive sync folder and disconnect it before restoring the files again.
Where can I see who deleted a SharePoint file?
Open the SharePoint site and select Recycle Bin. Review the Deleted By column for the affected item.
Is pausing OneDrive sync enough to stop the deletions?
Pausing sync is temporary. Use OneDrive Settings > Account > Stop sync for the affected library while you investigate, and check any other devices syncing it.
How do I restore the files after disconnecting sync?
Open the SharePoint site’s Recycle Bin, select the affected files or folders, and choose Restore. Monitor the library before reconnecting the sync client.




