Guides › Desktop and apps
Duplicate files
Find files that are exact copies of each other and move the extra copies to the Bin to free up space.
Over time, the same photo, video or document can end up in several folders. Each copy takes space. The Duplicate Files app finds files whose contents are exactly the same, even when their names differ, and lets you move the copies you don't need to the Bin.
Nothing is deleted for good. Copies you remove go to the Bin, so you can get them back.
Open Duplicate Files
Use any of these:
- Go to Settings > System > Storage, and under Cleanup click Find next to Duplicate files.
- Open Start and search for Duplicate Files.
Find duplicates
- In Look in, choose where to search:
- Your folders searches your own account's folder: Documents, Pictures, Music, Videos, Downloads, Desktop and the rest. This is the default.
- A drive, such as Data (D:), searches the whole drive.
- Click Find duplicates.
- First it says "Looking at files..." with a count. Then it compares the files that could be copies, with a progress bar. You can keep using your PC meanwhile.
- When it is done, the line at the top says how many groups of duplicates it found and how much space you could free.
To stop a search, click Stop.
Choose which copies to remove
The results are in groups. Each group is one file with all its copies, and the groups that waste the most space come first. Each group shows the file's name, how many copies there are and the size of each. Under it, every copy is listed with its folder and the date it was last changed.
- Tick the box next to each copy you want to remove. Nothing is ticked at first.
- To tick every copy except the first one in each group, click Tick all but one in each group. Look through the list and change any ticks you don't want.
- To clear all ticks, click Tick none.
- At the bottom right you see how many copies are ticked and how much space they take.
- Click Move ticked to the Bin.
When it is done, a green line says how many files were moved and how much space they took. The moved copies show "(in the Bin now)".
Right before each file is moved, it is read again and compared with a copy that stays. If a copy changed or was deleted since the search, nothing that would leave you without a copy is moved. Older things in the Bin are never removed to make room: when the Bin is full, the moves stop.
The space is freed for good only when the Bin is emptied. See Storage settings to empty the Bin or set its limits.
Get a file back
Open Files, go to the Bin, select the file and restore it. It goes back to the folder it came from.
What is not searched
To keep your system and other people's files safe, these are left out:
- system folders, such as C:\Sovereign, Apps and, on drives from other systems, Windows and Program Files,
- App Data folders, where apps keep their settings,
- hidden folders and files (their names start with a dot),
- the Bin,
- other accounts' folders on this PC,
- folders and files your account is not allowed to open,
- empty files.
Network drives, discs and drives that can only be read are not in the Look in list.
How it knows files are the same
It compares files step by step, so it reads as little as it can:
- Only files of exactly the same size can be copies, so files with a size no other file has are skipped.
- For files of the same size, it reads the start and the end of each file and compares them.
- For files that still match, it reads the whole file and compares a fingerprint (a hash) of all of it.
Files whose fingerprints match are the same, byte for byte. Two files with the same name but different contents are not shown.
If something goes wrong
- "Some files were left where they are": the file, or the copy that stays, changed or was deleted after the search. Search again.
- "Some files could not be moved": the file is open in an app, or is in a folder you may not change. Close the app and search again.
- "The Bin is full": empty the Bin or give it more room in Storage settings, then move the rest. A file too big for the Bin can be deleted in Files.
- "There were too many files to look at all of them." One search looks at up to 262,144 files. Search a smaller place, such as one drive or your own folders.
- "The drive was removed during the search." Plug the drive in again and search again.
Still stuck? Search the help center or contact support.