How to Remove Photos from a Computer Without Deleting from OneDrive
Question details
The user wants to free up local laptop storage space by stopping specific photo folders from synchronizing locally, while retaining the copies securely online in OneDrive.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Freeing up local hard drive space without losing cloud backups of photos.
- Observed behavior
- Currently, a standard file deletion on the computer also deletes the synchronized copy from OneDrive. The goal is to safely remove the files locally while keeping them accessible in the cloud.
Ensure your OneDrive desktop client is running and fully synced before adjusting folder settings to prevent any unintended loss of files.
Use OneDrive Selective Sync to Uncheck Folders
Use the selective sync feature to choose exactly which folders sync to your computer. Unchecking a folder removes it from your local drive while keeping it safe in the cloud.
OneDrive allows you to customize synchronization settings specific to each computer. By unchecking a folder, you command OneDrive to remove the local copies, freeing up disk space, without deleting the master files stored online.
Click the OneDrive cloud icon in your system tray or menu bar, click the gear icon (Help & Settings), and select 'Settings'.
Navigate to the 'Account' tab and click the 'Choose folders' button.
Uncheck the boxes next to the photo folders you wish to remove from your computer, then click 'OK' to apply the changes.

Archive Older Photos Manually
If you want to keep your main Pictures folder synced for new uploads but need to offload older photos, manually move them to an external location.
Use 'Free Up Space' (Files On-Demand)
Convert local files into online-only shortcuts to reclaim storage space without changing your folder structure.
Manage Your Documents and Cloud Files Easily with WPS Office
While tweaking your OneDrive synchronization settings to optimize your photo storage, consider using WPS Office for your document needs. It offers a lightweight, completely free alternative to Microsoft Office that is fully compatible with popular formats and integrates seamlessly with cloud workflows.
- 1. Download and Install: Get WPS Office for free from the official website and run the lightweight installer.
- 2. Open Existing Documents: Launch the application and seamlessly open your existing Microsoft Office files without formatting loss.
- 3. Save and Sync: Save your work locally or directly to your preferred cloud storage platform to keep everything organized.

Frequently Asked Questions
Does deleting photos from my iPhone delete them from OneDrive?
No. Photos uploaded through the iOS camera-upload feature are stored securely in OneDrive but are not synchronized back to your phone. Therefore, deleting them from your iPhone does not delete the copies stored in OneDrive.
Can I exclude specific photos from a synced OneDrive folder?
No, OneDrive cannot currently exclude specific individual files from a synced folder. You must use the selective sync settings at the folder level, or manually move specific photos into an entirely different folder that is not synced.
Will deleting a synchronized photo from my laptop remove it from the cloud?
Yes. If you simply press 'Delete' on a synchronized file inside your computer's OneDrive folder, it will also be deleted from the cloud. To remove a folder locally without losing the cloud copy, you must uncheck it via the OneDrive Selective Sync settings.




