How to Delete Thousands of Photos from OneDrive Safely
Question details
The user wants to delete a large number of photos from OneDrive to free up cloud storage space without accidentally deleting the synchronized copies from their connected local devices.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Freeing up OneDrive cloud storage by removing photos while permanently preserving necessary local copies.
- Observed behavior
- Deleting photos directly from OneDrive automatically removes them from connected local devices due to active folder synchronization.
Before deleting any files, determine whether you are trying to free up space on your local hard drive or your cloud storage. Ensure any photos you want to keep permanently are moved to a local folder completely outside of the OneDrive directory.
Turn Off Photo Syncing and Relocate Files Before Deletion
Prevent accidental deletion on your PC by turning off folder sync before removing files from OneDrive.
Click the OneDrive cloud icon located on your Windows taskbar, then select the gear icon to open Settings.
Navigate to the 'Sync and backup' tab and click on 'Manage backup'.
Toggle off the sync switch for your Pictures or Documents folders so that they are no longer synchronized with the cloud.
Open File Explorer and go to C:\Users\username\OneDrive. Move any photos you wish to keep into a different local folder outside of the OneDrive directory.
Once your backup is turned off and important files are relocated, safely delete the remaining thousands of unwanted photos from your OneDrive folder or the OneDrive website.

Use 'Free Up Space' to Clear Local Storage Only
If your actual goal is to save local hard drive space rather than cloud storage, you can make files online-only without deleting them.
Manage Your Documents Efficiently with WPS Office
If you are struggling with cloud storage limits and subscription fees, consider switching to WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office, complete with its own flexible file management capabilities.
- 1. Download and Install: Get WPS Office Free from the official website and install it on your device.
- 2. Open Existing Files: Open your Microsoft Office files seamlessly without worrying about formatting issues.
- 3. Manage Storage Independently: Save your work locally or use WPS Cloud to maintain strict control over what gets synchronized.

Frequently Asked Questions
Can I delete photos from OneDrive but keep them on my phone?
Yes, but you must first turn off the camera upload or gallery sync feature within the OneDrive app settings on your mobile device. Once disconnected, deleting files from the cloud will not affect your phone's local gallery.
Why did my photos disappear from my PC after deleting them from OneDrive online?
This happens because your PC's folder was actively syncing with OneDrive. Deletions in the cloud automatically mirror to connected devices unless you stop the folder backup in your OneDrive settings first.
Is there a way to exclude specific subfolders from syncing to OneDrive?
No, you cannot selectively unsync individual subfolders within primary backup folders like Documents or Pictures. To prevent a subfolder from syncing, you must move it entirely outside of the synced OneDrive directory.
How long do deleted photos stay in the OneDrive Recycle Bin?
For personal Microsoft accounts, deleted items are kept in the OneDrive Recycle Bin for 30 days before being permanently removed. For work or school accounts, the retention period is typically 93 days.




