How Do I Delete Duplicate Photos on My Computer? (3 Ways)

How do I delete duplicate photos on my computer? With 2 Windows inbuilt tool and a powerful app that deletes duplicate photos, you can easily know the answers.

Irene

By Irene / Updated on October 8, 2023

Share this: instagram reddit

Saving, copying, or editing photos is something we do a lot in our daily lives. But, this can create extra copies of photos on our computer. You might have noticed that these extra copies take up space and slow down your computer. If you want to learn “How do I delete duplicate photos on my computer?”, keep reading. We'll show you3 simple ways to delete them from your Windows PC.

How do I delete duplicate photos on my computer in 3 ways?

To locate and remove duplicate photos, most people commonly choose CMD, File Explorer, or a duplicate files finder. This part will share you how-to.

Way 1. Delete duplicate photos on Windows via CMD

Using CMD can be a bit time-consuming and requires patience. It's important to enter precise command lines and file extensions, as inaccuracies may result in a failure in finding and deleting photos on Windows PC.

Step 1. Open CMD as an administrator. To do this, click on Start, then type "cmd" into the search bar, and choose “Run as administrator”.

run as administator

Step 2. Type this command into CMD: "dir /s /b *.extension". Replace ".extension" with the type of files you want to find duplicates of. For example, if you're looking for duplicate JPG files, type "dir /s /b *.jpg".

duplicate files extension

Step 3. Press Enter. CMD will begin scanning for duplicate files, and it will display the results with duplicated files in a list.

duplicate files cmd enter result

You can also find duplicate files using the “WMIC FINDSTR” command:
1. Open CMD and type "FINDSTR /?" to see all options for the "FINDSTR" command.
2. Type "FINDSTR /I /C:WINDOWS *.jpg" to search for all JPEG images in the WINDOWS folder.
3. The results will show all the JPEG images in the WINDOWS folder, with duplicates highlighted in red.

▌To remove duplicate files in a specific folder, follow these steps:

Step 1. Open the folder using File Explorer.

Step 2. Right-click on the folder you want and select "Copy as path".

cmd delete duplicates copy as path

Step 3. Open Command Prompt. Type "del /s /f *.duplicate" and hit Enter. This command will remove all duplicate files in the current folder and its subfolders.

For a more advanced file deletion, you can use wildcard characters with this command. Just type "rmdir /s /q DirName", and it will delete all folders in "DirName" and its subfolders.

Way 2. Use File Explorer to find and delete duplicate photos

File Explorer will be easier than CMD, but you still be patient in typing the photos expansion such as .png, .tiff, .raw, .jpg/.jpeg, .heic/.heif, .psd, .webp, and so on.

Step 1. Go to the lower-left corner next to the Windows icon. Type "Indexing Options" into the search bar and then click on "Indexing Options".

indexing options

Step 2. Click on "Modify" and select "Show all locations". A pop-up will appear, asking for your login details. Make sure you're using an administrator account when making changes here.

show all locations

Step 3. Check if all the boxes are ticked under the "Changed selected locations" section. If they are, click "OK", then hit the "Close" button. If not, make sure to check all the boxes.

change selected locations

Step 4. Press the Windows key and E key on your keyboard at the same time to open File Explorer. It's easier to locate your files under your user account. To access your user account, go to Windows (C:), and then select the Users folder.

Step 5. Click on "Search" in the upper-right corner, and enter the following extensions based on their format. The common picture file extensions include .jpg, .jpeg, .png, .gif, .bmp, .tiff, .psd, .raw, .svg, .ico, and .webp.

Step 6. Organize the search results by Name:

• Click the "View" tab.
• Under the "Panes" section, choose "Preview pane".
• Under the "Layout" section, select "Details".
• In the "Current view" section, click "Group by," and then pick "Name".
• To arrange the files in ascending order, click "Group by," and select "Ascending".

Step 7. Examine the files to find duplicates saved in different locations. Check the "Date modified" column to identify the latest version of each file.

duplicate details

Step 8. After reviewing the files, select the one you want to delete, and then press the DELETE key on your keyboard.

Way 3. Rely on a Duplicate Files Finder to quickly delete duplicate photos

CMD and File Explorer answer you about “how do I delete duplicate photos?” However, these tools requires much patience and time. If you choose a powerful app that deletes duplicate photos, the process can be much quicker and easier. AOMEI Partition Assistant Professional is one such effective tool. It can rapidly scan your computer and list all the duplicates of pictures, archives, documents, and audio files.

To cater to various preferences, this tool also offers customization options. What’s more, you don't have to worry about accidental deletion because it is equipped with a Recover Data feature to help you easily retrieve lost data.

Note: If you are a Windows Server user, kindly please turn to the Server Edition.
Free Download Win 11/10/8.1/8/7/XP
Secure Download

Step 1. Click the "Free up" on the main tab and select "Duplicate Files Finder".

Click Duplicate Files Finder

Step 2. Here, all partitions on your computer will be displayed. You can personalize it and click "Scan".

Start Scan

Step 3. After the process is finished, all duplicate files that meet the conditions you set will be displayed. You can click the "Preview" button to see the duplicate files.

Preview

Step 4. You can select the duplicate files you want to delete. Or, click "Smart select" to automatically select duplicate files. Then, click "Move to folder".

Remove to the Recycle Bin

Conclusion

How do I delete duplicate photos on my computer? The 3 shared methods can help you a lot. AOMEI Partition Assistant is a worthwhile app that deletes duplicate photos. If you are aim to extend drive space, functions like PC Cleaner, App Mover, and Allocate Free Space will be powerful assistant as well.

Irene
Irene · Staff Editor
Irene is an Editor of AOMEI Technology. She devotes herself in giving insightful thoughts on common computer problems with simple and clear guidance. Irene loves to help people solve problems and explore more solutions on relevant issues. She loves reading, singing and travelling.