How to fix OneDrive thumbs.db error once and for all

Tashreef Shareef
by Tashreef Shareef
Windows & Software Expert
Loading Comments
Download PDF
Affiliate Disclosure

Delete Thumbs.db OneDrive file

When the OneDrive desktop client encounters sync issues, it may throw the OneDrive thumbs.db error. This error usually occurs due to the invalid file types that OneDrive fails to upload.

Several OneDrive for Business users have reported similar issues in the Microsoft Community forum:

I am having sync issues relating to the presence of numerous files “Thumbs.db” which One Drive is telling me are present within my folders.
However, these files do not exist.

In this article, we have listed a couple of troubleshooting tips to help you resolve the OneDrive thumbs.ds error on your PC.

How do I force delete OneDrive thumbs.db files?

1. Delete thumbs.db files from the OneDrive folder

OneDrive thumbs.ds error

  1. Open the Windows File Explorer.
  2. Navigate to the OneDrive folder.
  3. Thumbs.db files are invalid file types and usually hidden by default.
  4. On the OneDrive folder, click on View > Options.
  5. Click on View and choose Show hidden files, folders, and drives.
  6. Find all the thumbs.db files in the folder and delete them.
  7. Relaunch OneDrive client and try to sync.

Since the Thumbs.db files are invalid file types, deleting any file with the extension will resolve the issues related to OneDrive sync.

2. Check for pending updates

OneDrive thumbs.ds error

  1. If the issue is occurring due to a bug in the Microsoft OneDrive desktop client, check if Microsoft has released an update to fix the problem.
  2. Launch the Microsoft Store app and search for OneDrive.
  3. Download and install any pending updates by clicking on Update.
  4. Relaunch the OneDrive client and check for any improvements.

3. Reset OneDrive client

OneDrive thumbs.ds error

  1. Click on Start and select Settings.
  2. Go to Apps > Apps and Features.
  3. Search for the OneDrive app.
  4. Click on OneDrive and select Advanced Options.
  5. Scroll down and click on Terminate. Click on Terminate if you are asked to confirm.
  6. Scroll down and click on Reset. Click on Reset again when asked to confirm.
  7. Relaunch OneDrive client and check if the sync issues are resolved.

If you’re having trouble opening the Setting app, take a look at this article to solve the issue.


Reset using a command

OneDrive thumbs.ds error

  1. Press Windows Key + R to open Run.
  2. Type the following command in the Run box and click OK.
    %localappdata%MicrosoftOneDriveonedrive.exe /reset
  3. Launch OneDrive and proceed with the setup process and check for any improvements.

4. Run Disk Cleanup tool

OneDrive thumbs.ds error

  1. Press the Windows key to bring up the search bar.
  2. Type Disk Cleanup.
  3. Click on Disk Cleanup from the search result.
  4. In the Disk Cleanup window, select the C: drive.
  5. Click OK to continue. The tool will run a quick scan and detect all the files that you can delete from the system.
  6. On the Disk Cleanup Menu, make sure you check the “thumbnails” option.
  7. Click OK to proceed.
  8. Disk Cleanup will delete selected files.
  9. Once done, launch the OneDrive account and check if the issue is resolved.

Problems deleting all your junk files? Follow this guide to solve Disk Cleanup issues and save your drive.


5. Reinstall the OneDrive client

OneDrive thumbs.ds error

  1. Click on Start and select Settings.
  2. Go to Apps > Apps and Features.
  3. Search for the OneDrive app and select it.
  4. Click on Uninstall.
  5. You can reinstall the OneDrive app from the Microsoft Store.

And that’s how you can get rid of the thumbs.db error for good. If you have any other questions or suggestions, leave them in the comments section below and we’ll be sure to check them out.

RELATED STORIES YOU MAY LIKE: