A Microsoft file hosting and synchronization service.
OneDrive does not provide a general automatic “remove duplicates” button, so identify the extra copies by filename, size, and date, then select and delete them from OneDrive on the web or in Windows File Explorer.
Delete duplicate photos on the OneDrive website
- Open the OneDrive website and sign in.
- Open My files, then the folder containing the photos.
- Switch to List view if available; this makes filenames and dates easier to compare.
- Look for likely copies, such as:
-
IMG_001.jpgandIMG_001 (1).jpg - The same filename in two folders
- Files with matching names and sizes
-
- Open or preview both photos before deleting either one. Keep the best-quality or most recently edited version.
- Point to each unwanted copy and select its circular check box. Use Shift+click to select a range.
- Select Delete on the top toolbar. The photos are moved to the OneDrive recycle bin, where they may be recoverable if you selected the wrong ones.^1^
Be careful with shared photos: deleting a shared item can delete it for everyone who uses it.^1^
Delete them from Windows instead
If OneDrive is synchronized with the PC:
- Open File Explorer.
- Select OneDrive in the left pane.
- Open the photo folder.
- Select View → Details.
- Sort by Name, Size, or Date modified to place likely duplicates together.
- Preview the files and select only the unwanted copies.
- Press Delete.
Deleting a file from the synchronized OneDrive folder deletes it from both the PC and OneDrive. If the intention is to keep a photo on the PC but remove it from OneDrive, move it to a folder outside the OneDrive folder instead.^1^
If duplicates keep reappearing
Only use this fix when duplicate filenames have the computer name appended, or OneDrive continues creating duplicate files. Microsoft identifies cached credentials as a possible cause:
- Enter Windows Credentials in the Windows search box and open it.
- Find OneDrive Cached Credential.
- Expand it and select Remove.
- Restart OneDrive.^2^
This prevents the credential-related duplication pattern; it does not automatically remove copies that already exist.
Recover a photo deleted by mistake
On the OneDrive website, select Recycle bin in the left navigation, select the photo, and restore it. Do not permanently empty the recycle bin until the remaining photo collection has been checked.^1^
References