logo
Computer Find and Remove Duplicate Files in OneDrive

How to Find and Remove Duplicate Files in OneDrive

By Michael | Last Updated

OneDrive is a cloud-based storage and sync service from Microsoft. Like any storage medium, it is common for duplicate files to appear in OneDrive, which can take up space and make it more difficult to organize files.

In general, there are two types of duplicate files in OneDrive. Duplicate files with computer names in the file name and common duplicate files. Duplicate files with computer names in the file name are typically due to using the same OneDrive account on two or more devices. For instance, when one computer logs into OneDrive and saves the same file while offline, OneDrive does not recognize it. After reconnecting to the Internet, OneDrive adds the computer name after the file name of one of the files.

Well, you don't have to worry about this issue. Here, in this article, I will demonstrate to you a easy guide to find and remove duplicate files in OneDrive. Keep reading and you will find the solution.

how to find and remove duplicate files in onedrive

Section 1: How to remove duplicate files from OneDrive?

Way 1: Find and Remove Duplicate Files in OneDrive Manually

Step 1: Click the small OneDrive icon on the taskbar and select Open folder.

open onedrive folder

Step 2: In the top ribbon, click View tab, click Sort by Name or Size.

sort by name or size

Step 3: Duplicate files will be displayed next to each other. Compare the size, type, and name of the file. Press Ctrl to select multiple duplicate files at once, move to the Home tab in the top ribbon, and under the Delete option you can choose to recycle or permanently delete.

recycle or permanently delete

Way 2: Find and Remove Duplicate Files in OneDrive Automatically

Is there a safe and good software to remove duplicate files in OneDrive with one click? The answer is definitely Yes! iSunshare DupFiles Genius is a terrific software to detect duplicate files on your Windows computer. It comes with the below highlights.

  1. Helps you find and delete all types of duplicate files, including images, videos, audios, documents, archives, etc.
  2. Allows you to view file details on your computer before deleting.
  3. Customize your scan settings to get specific report.
  4. Free up disk space and improve your PC performance.
  5. Supports working on all Windows OS computers.

Step 1: Download and install iSunshare DupFiles Genius, then launch it.

free download

Step 2: In the main screen of the software, click the + button in the bottom right corner, select the entire OneDrive or a folder in it from your computer to scan, and click Next to continue.

select your onedrive to scan

Step 3: On this page, you can customize the scan options, you can check the types of files to be scanned, set the maximum and minimum size of the scanned files, check the box to skip hidden, system, program files, etc. After completing the settings, click Start scanning.

set scan options and click start scanning

Step 4: DupFiles Genius will list a duplicate file report based on your scan settings, and you can right-click to Open file location to see the file details.

open file location

Step 5: DupFiles Genius has automatically selected duplicate files for you to delete in bulk. You just need to check the box in front of the File Name, click Delete, and click Yes at the pop-up window prompt to delete these duplicate files with one click.

delete duplicate files

Step 6: Wait for minutes and the target duplicate files will be removed successfully. Click OK to end the process. The OneDrive app on your computer will sync the changes. You can go to OneDrive online to verity the removal of duplicates.

successfully deleted

Section 2: How to prevent OneDrive syncing duplicate files?

Way 1: Tweak the OneDrive settings

In the future, if you encounter duplicate files in OneDrive, you can set whether you need to merge duplicate files or not.

Step 1: Click the OneDrive icon in the taskbar of your PC, then click the gear icon and select Settings.

click settings

Step 2: Click Sync and backup option in the left panel, expand Advanced settings in the right panel, then expand File collaboration, then turn on the toggle next to "Ask before keeping both copies of a file that has a conflict".

ask before keeping both copies of a file that has a conflict

Way 2: Clear credentials

Step 1: Type Credential Manager in the Windows Start menu bar and click Open.

open credential manager

Step 2: Select Windows Credentials.

windows credentials

Step 3: Under the section for Generic Credentials, click on the arrow facing down for "OneDrive Cached Credential Business". This will open up more information about your OneDrive credentials. At the bottom of the section, click on the "Remove" option. This will remove your OneDrive credentials and will prevent the OneDrive server from creating duplicate files.

remove onedrive cashed credential

Step 4: Make sure you restart OneDrive so that the system can process the changes made.

Closing Thought:

In a nutshell, now you should know how to find and remove duplicate files in OneDrive. I prefer to use iSunshare DupFiles Genius to clean up duplicate files on OneDrive because it is efficient and safe. Thank you for your patience in reading to the end. For any questions during the use of the software, please contact us.

Related Articles: