If you’re seeing “Potential Windows Update Database error detected” when running the Windows Update Troubleshooter, you’re not alone. Many Windows users are reporting it.

The good new is you can fix it by yourself. You should be able to fix the problem quite easily using one of the solutions we’ve listed below.

Fixes to try

You may not have to try them all. Just work your way down the list until you find the one that works.

  1. Restart your Windows update service
  2. Run the DISM tool
  3. Run the System File Checker
  4. Download updates from Microsoft Update Catalog manually
  5. Perform an in-place upgrade
  6. Pro tip: Want us to fix the problem for you?

Fix 1: Restart your Windows update service

You may see this error if there is something wrong with your Windows Update service. Try restarting the Windows Update service and maybe this issue will get resolved. Here’s how to do it:

  1. On your keyboard, press the Windows Logo key and R at the same time to open the Run dialog, then type services.msc and press Enter to open the Services window.
  2. Right-click Windows Update and select Stop if its current status is “Running”. If the Windows Update service is not running, please skip this step.
  3. On your keyboard, press the Windows Logo Key and E at the same time to open File Explorer. Copy the path C:\Windows\SoftwareDistribution\DataStore and paste it in the address bar, then press Enter on your keyboard to go to the DataStore folder.

  4. Delete all the files and folders in the folder DataStore.
  5. Copy the path C:\Windows\SoftwareDistribution\Download and paste it in the address bar, then press Enter on your keyboard to open the Download folder.

  6. Delete all the files and folders in the folder Download.
  7. In the Services window, right click Windows Update and select Start.

Perform a Windows update again. If you still fail to perform the Windows update, try the next method.

Fix 2: Run the DISM tool

This annoying issue is probably caused by the corrupted Windows update files. In this case, running the Deployment Image Servicing and Management (DISM) tool may resolve this issue. Just follow the step-by-step instructions to run the DISM tool:

  1. On your keyboard, press the Windows Logo Key and R at the same time to open the Run dialog. Type cmd and then press Ctrl, Shiftand Enter on your keyboard at the same time to run the Command Prompt as administrator. You will be prompted for permission. Click Yes to run the Command Prompt.
  2. On your keyboard, type the command lines below one by one and press Enter.
    1. Dism /Online /Cleanup-Image /ScanHealth
      • When you run the command mentioned above, the DISM tool will scan all the system files and compare them with official system files. The function of this command line is to see if the system file on your PC is consistent with its official source or not. This command line doesn’t fix the corruption.

        It may take several minutes for this command operation to be completed.
    2. Dism /Online /Cleanup-Image /CheckHealth
      • When you run the command line Dism /Online /Cleanup-Image /CheckHealth, the DISM tool will check whether your Windows 10 image exists corruptions or not. This command line also doesn’t repair the corrupted files.

        It may take several minutes for this command operation to be completed.
    3. Dism /Online /Cleanup-Image /RestoreHealth
      • The command line Dism /Online /Cleanup-Image /RestoreHealth tells the DISM tool to try to repair the corrupted files detected. It will replace the corrupted files with the files from official source online.

        It may take several minutes for this command operation to be completed.
  3. Close the Command Prompt when the restore operation completed.

See if you can perform a Windows update. If this issue persists, try running the System File Checker.

Fix 3: Run the System File checker

System File Checker can scan for corruptions in Windows system files and restore corrupted files. When you fail to install Windows updates, it may be caused by some corruption error. In this case, running System File Checker may help you resolve this issue. Here is how to do it:

  1. On your keyboard, press the Windows Logo Key and R at the same time to open the Run dialog. Type cmd and then press Ctrl, Shiftand Enter on your keyboard at the same time to run the Command Prompt as administrator. You will be prompted for permission. Click Yes to run the Command Prompt.
  2. On your keyboard, type the command lines below and press Enter.
    • sfc /scannow

      It may take several minutes for this command operation to be completed.
  3. Close the Command Prompt when this command operation completed.

See if you can perform a Windows update or not. If this fix works, then you won’t see this error. If not, you may need to download updates from Microsoft Update Catalog manually to resolve this annoying problem.

Fix 4: Download updates from Microsoft Update Catalog manually

If this annoying issue persists, try downloading the updates you failed to install from Microsoft Update Catalog and install them manually.

  1. On your keyboard, press the Windows Logo Key and type Windows Update, and then press Enter to open Windows Update. 

  2. Click View update history to check the updates you failed to install. For example, if you fail to install update KB3006137, you can download the update and install it manually. 

  3. Follow the instructions below to view your system type:
    1. On your keyboard, press the Windows Logo key and R at the same time to open the Run dialog. Type cmd and press Enter to open the Command Prompt.
    2. Type the command line systeminfo and press Enter to view your system type.

      X64-based PC” indicates that your Windows OS is 64-bit; “X86-based PC” means that your Windows OS is 32-bit.
  4. Visit Microsoft Update Catalog.
  5. Type the update number that you want to download. In this example, type KB3006137 and then click Search.
  6. In the list of search results, select right update for your operating system and click Download.
    If your Windows OS is 64-bit, you should download the update whose name contains “x64-based”.

  7. In the pop-up window, click the link to start downloading the updates.
  8. Double-click the downloaded file and follow the on-screen instructions to install the update.

See if you this issue persists. If it works , you won’t see this error again. If not, try performing an in-place upgrade.

Fix 5: Perform an in-place upgrade

Performing an in-place upgrade may help resolve some troubles with the system. So maybe performing an in-place upgrade will fix this issue. Try downloading the Media Creation Tool and then follow the on-screen instructions to perform an in-place upgrade. Here is how to do it:

  1. Click here to visit the Microsoft official website for downloading Windows 10.
  2. Click Download tool now on the web page to download the Media Creation Tool.

  3. Double-click the downloaded file to open the media creation tool. Click Yes when you’re prompted for permission.

  4. Click Accept when you see the window below.
  5. Select Upgrade this PC now and click Next.
  6. Follow the on-screen instruction to perform an in-place upgrade.

After upgrading your Windows system, see if you can perform a Windows update. In most cases, you won’t get this annoying issue after upgrading your Windows system.

Pro tip: Want us to fix the problem for you?

If none of the fixes above worked, or you just don’t have the time or confidence to troubleshoot the problem for yourself, get us to fix it for you.

All you need to do is buy a 1-year subscription to Driver Easy (just $29.95) and you get free technical support as part of your purchase. This means you can contact our computer technicians directly and explain your problem, and they’ll investigate to see if they can resolve it remotely.

IMPORTANT: Please attach the URL of this article when you contact us, so we could help you resolve the problem ASAP. You can expect us to respond within two working days.

You can contact us easily via the Driver Easy Feedback tool. To learn how to use this tool, please visit this link: https://www.drivereasy.com/help55/feedback/.

24
24 people found this helpful
guest
5 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments