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.

DupFiles Genius boxshot

iSunshare Reliable Duplicate Files Deleter

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

Step 1: Install iSunshare DupFiles Genius to your PC and run this program to delete duplicate files.

Step 2: Directly click "Add" button in the Home page, and select OneDrive folder from file explorer. When it’s in scan list, click "Next" to continue.

select your onedrive to scan

Step 3: Then customize scan options by ticking specific file types, and setting Minimum size and Maximum size. Select to skip hidden, system, or program files if need. After set, click on "Start scanning".

set scan options and click start scanning

Step 4: When all duplicate files listed in Duplicate files report, right-click on the file and select "Open file location" to preview it in file explorer.

open file location

Step 5: Check the box next to File Name tab, it will automatically select duplicate files in bulk. Hit "Delete" button and click "Yes" in the pop-up window to clean up these duplicate files.

delete duplicate files

Step 6: When these target duplicate files has been successfully removed. Click "OK" to back to report page. Once done, the OneDrive in your PC will sync these changes. Go to OneDrive online to verify 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: