How to Find & Delete Duplicate Files in Windows 10 & 11

This complete guide shows you how to find and delete duplicate files in Windows 10. Compare top duplicate file finders and learn how to delete redundant photos, documents, and system files quickly.

Lucas

By Lucas Updated on April 27, 2026

Share this: instagram reddit

🧐 Quick Answer:

How do you find and delete duplicate files in Windows 10?

Duplicate files consume massive amounts of storage space and slow down system performance. You can find and remove them using either the manual Windows built-in tools or automated software:

  1. Windows File Explorer: Use the "Indexing Options" to ensure all drives are searchable. Then, search for specific extensions (like .jpg or .txt) in File Explorer and sort by Size or Name to manually spot and delete exact copies.
  2. Command Prompt (Advanced): Advanced users can use the cmd console with a for loop script (for /f "delims=" %A in ('dir /b /s /a-d | sort')) to recursively locate and delete identical file names in a directory.
  3. Duplicate File Finders (Recommended): To scan entire hard drives safely and quickly, use a dedicated duplicate file finder like AOMEI Partition Software for Cleanup. This software uses advanced algorithms to scan multiple drives, filter by file type, detect identical or similar images, and automatically "Smart Select" older copies for safe deletion.

Whether you are downloading email attachments, backing up old hard drives, or importing thousands of photos from your smartphone, your computer is constantly accumulating duplicate files. Over time, these redundant files quietly take over your storage, leaving you with little space for new applications or important system updates.

Not only do they waste storage space, but they also slow down your system’s performance and make it incredibly frustrating to find the correct, most up-to-date version of a document.

In this comprehensive guide, we will explore exactly how to find and delete duplicate files in Windows 10 and Windows 11. We will cover everything from understanding what these files are, how to scan individual and multiple hard drives manually, and how to choose the best duplicate file-removal software to permanently clean up your PC.

What Are Duplicate Files and Why Do They Accumulate?

Before you scan your hard drive for duplicate files, it helps to understand what you are actually looking for. Duplicate files are copies of the same content that exist in multiple locations on a storage device (like your internal SSD or an external USB drive).

While they often have the same content, they might have different file names, creation dates, or folder paths. Here are the most common types of duplicates:

  1. Exact Duplicates: These are bit-by-bit identical files with the same content. They may, however, have different metadata or file names (e.g., report.docx and report(1).docx).
  2. Partial Duplicates (Near-Duplicates): These files are very similar but not completely identical. A common example is a slightly edited version of a text document or a cropped version of an original photograph.
  3. Different Formats: Sometimes the same exact visual or audio content exists in different formats, such as having the same photograph saved as both a .JPEG and a .PNG.

💡 How do these duplicates get there?

The most common causes include multiple internet downloads from different sources, manually copying and pasting files to new folders without deleting the originals, unorganized data backups, and hidden temporary files created during software installations.

Managing these files is critical. Cleaning them up restores valuable storage space, optimizes system indexing speeds, and makes organizing your digital life infinitely easier.

How to Scan Hard Drive for Duplicate Files Manually

If you only want to scan a single hard drive or a specific folder, you do not necessarily need third-party software right away. Windows 10 and 11 provide built-in tools that allow you to locate duplicate items manually.

Method 1. Find and Delete Duplicate Files via File Explorer & Indexing

Using the Indexing Options combined with File Explorer is a reliable way to manually locate duplicates. However, this method requires patience, as you will have to eyeball the files yourself.

Step 1. Configure Indexing Options

1. Click the Windows Start button, type Indexing Options into the search bar, and hit Enter.

2. Click the Modify button and select Show all locations. (You may need Administrator privileges).

3. Ensure that all the checkboxes for the drives you want to search (like your C: or D: drive) are checked, then click OK.

show all location

Step 2. Search and Sort in File Explorer

1. Press Windows + E to open File Explorer. Navigate to the drive or folder you suspect is full of duplicates (for example, navigating to C:\Users\YourName\Downloads).

2. In the top-right search bar, type content: followed by the extension you want to clean up. For example, type content: *.jpg to find all JPEG images.

3. Once the search finishes, go to the View tab and click Details.

4. Click the Name or Size column headers to group the files. Duplicate files will usually share the same size down to the kilobyte, or have a (1) or - Copy appended to their name.

search file explorer

5. Highlight the redundant files, right-click, and select Delete.

✨ Tip for External Hard Drives: If you want to scan a USB drive or external hard drive, simply plug it in, navigate to that specific drive letter (e.g., H:), and sort the entire directory by "Size" or "Name" to compare files side-by-side.

Method 2. Delete Duplicate Files Using PowerShell (Advanced)

If you are comfortable with command-line interfaces, you can use a powerful script in Command Prompt to automatically locate and delete duplicate files based on their names.

❗ Warning: Command Prompt does not have a "recycle bin" safety net for this command. Use this method with extreme caution.

1. Type PowerShell in the Windows search bar, right-click, and select Run as administrator.

2. Use the cd command to navigate to the exact folder you want to scan. For example: cd C:\Users\Admin\Documents

3. Paste the following command script exactly as written and press Enter:

$path = "C:\你的文件夹路径"Get-ChildItem -Path $path -Recurse -File | Get-FileHash | Group-Object Hash | Where-Object { $_.Count -gt 1 } | ForEach-Object { $_.Group | Select-Object -Skip 1 | Remove-Item -Force }

The command will search the directory and its subdirectories, display a list of identically named duplicate files, and prompt you to confirm deletion. Type Y and press Enter for each file you want to remove.

What is the Best Software to Remove Duplicate Files?

Manually scanning your hard drive for duplicate files via File Explorer is exhausting, and using PowerShell is risky. If your goal is to maintain an organized, clutter-free PC across multiple hard drives, the best solution is to use dedicated duplicate file finder software.

There are several programs on the market designed for this, such as CCleaner, Auslogics Duplicate File Finder, dupeGuru, and Easy Duplicate Finder. While these are decent options, they often lock their best features behind paywalls, include bundled bloatware, or suffer from complicated user interfaces.

For the most comprehensive, secure, and user-friendly experience, the premier choice is AOMEI Partition Software.

🎉 Why AOMEI Partition Software Stands Out:

  • Scans Multiple Drives Simultaneously: Unlike manual methods, you can scan your internal C: drive, D: drive, and plugged-in external hard drives all at the exact same time.
  • Advanced Search Algorithm: It doesn't just look at file names. It compares file sizes and metadata to ensure 100% accurate duplication detection.
  • Image Similarity Detection: It has specialized protocols for finding duplicate photos, easily identifying similar images that are cluttering your gallery.
  • Smart Selection: The software features an automated "Smart Select" button that intelligently flags the newest copies for deletion while strictly protecting your oldest, original file.
  • Total Data Integrity: It is programmed to ignore vital Windows OS system files, ensuring you never accidentally break your computer while cleaning it.

How to Scan and Remove Duplicates with AOMEI Partition Software

Using a professional duplicate file finder turns an hours-long manual chore into a simple, two-minute task. Here is how to efficiently clear your drives:

Step 1. Launch the Software

Download, install, and launch AOMEI Partition Software. On the main interface, navigate to the Free up menu and click on the Find Duplicate Files tab.

duplicate file finder

Step 2. Choose Your Scan Type

You will be presented with scanning options. You can click Scan Now to immediately run a deep sweep of your main system C: drive. Alternatively, click Custom Scan.

lock partition

And, you can remove unnecessary partitions so the removed partitions will not be scanned.

Remove partitions

Step 4. In this page, you can also set up an exclusion of all file extensions so that these types of files will be excluded. You can also specially configure file inclusions for picture, video, audio, documents, and archive files so that only these types of files will be included.

Exclude file extension

Step 5. Click the "Scan" button to start the duplicate files scan process.

Scan

Step 6. Smart Selection and Secure Deletion. Once the scan terminates, the GUI will present a clean, perfectly organized visual layout of all duplicate clusters, sorted by total storage footprint.

Prevew

Instead of forcing you to click through thousands of files manually, click the Smart Select button. The software's logic will automatically flag the redundant duplicates for deletion while safely leaving one master copy of the file uncorrupted in its original location.

Smart select

Step 7. Finally, click Execute to safely and permanently delete the unnecessary double files, instantly restoring SSD health, reclaiming lost GBs, and leaving your Windows 11 system fully optimized.

Move to recycle bin

Once you are satisfied with the selection, click Clean Now. The software will securely erase the duplicates and present you with a final screen showing exactly how many megabytes or gigabytes of storage space you just reclaimed.

Conclusion

Finding and deleting duplicate files in Windows 10 and 11 is a crucial maintenance task for optimizing system performance and maintaining a clutter-free environment.

While you can technically rely on manual File Explorer searches or advanced Command Prompt scripts to clear out redundant photos and documents, these methods are tedious and carry a risk of human error. By utilizing a powerful, dedicated software like AOMEI Partition Software, you can scan multiple hard drives, instantly filter thousands of exact and partial duplicates, and safely reclaim gigabytes of storage space with just a few clicks.

FAQs

Q: Is it safe to delete duplicate files?
A: Yes, it is generally very safe to delete duplicate files, particularly personal files like photos, videos, and Word documents. However, you should avoid manually deleting identical .dll or .sys files found inside the C:\Windows folder, as some programs require their own instances of system files to run. Using a trusted duplicate file finder like AOMEI prevents accidental system file deletion.

Q: If I accidentally delete the wrong duplicate items, can I recover the files?
A: If you deleted them manually via File Explorer, they are likely sitting in your Windows Recycle Bin and can be easily restored. If you permanently deleted them, you can use specialized data recovery software to scan your drive and retrieve the lost files.

Q: How do I scan an external hard drive for duplicate files?
A: You can scan an external drive manually by plugging it in, opening File Explorer, navigating to the drive letter, and sorting the files by "Size" or "Name." For a faster approach, use duplicate finder software, select "Custom Scan," and choose your external drive as the target path.

Q: How often should I perform duplicate file management?
A: It is highly recommended to scan your computer for duplicate files every three to six months. You should also run a scan immediately after large data transfers, major system backups, or after importing a large number of photographs from a mobile device.

Lucas
Lucas · Editor
I prefer peaceful and quiet life during vacation,but sometimes I watch football match if my favorite club performs brilliantly in that season. And I love reading, painting and calligraphy, thus I send my friends festival handwriting cards every year.
AOMEI Partition Software

Advanced and comprehensive partition manager, disk converter, and PC optimizer for Windows 11/10/8.1/8/7.

Free Download

Windows 11/10/8.1/8/7


Learn more