Potential Windows Update Database Error Detected is a very common problem. But don’t worry, we have 5 ways to to fix. After doing any of these ways, you will be able to resolve this issue.
Method 1: Run the System File Checker
To run the System File Checker, you have to open the‘Command Prompt with rights administrator.
To do this, search cmd in the search box of the taskbar, click with the right mouse button on Command Prompt and select Execute as administrator.
You must then enter this command and press Enter: sfc / scannow
This scan will replace all Windows operating files corrupt or damaged. After the scan is complete, restart your computer.
Method 2: Run DISM to Repair “Potential windows update database error detected”
The tool Dism.exe can be used in different situations, and one of them is to repair a corrupt Windows Update file. Note that you need to run a different command if you want to repair corrupt Windows Update system files.
If you run the usual command /RestoreHealth, it won’t always help you. SAY M will replace potentially corrupted or missing system files with good files.
However, if your Windows Update client is already damaged, you will be prompted to use a Windows installation as a repair source or to use a Windows side-by-side folder on a network share as the source of the files.
You will then need to run the following command instead:
DISM.exe / Online / Cleanup-Image / RestoreHealth / Source: C: RepairSource Windows / Access limitation / Access limitation
Here you have to replace the container C: RepairSource Windows by the location of your source repair.
Once the process is complete, SAY M will create a log file in % windir% / Logs / CBS / CBS / CBS.log and capture and repair any issues the tool finds.
Method 3: Reset Windows Update Components Manually
This process is a little more advanced and that means you are going to reset manually update option completely and start the process from scratch. Follow the instructions at the bottom, very carefully.
- Run theCommand Prompt as Administrator as described in the solutions above.
- You can use the following commands to stop the processes of the Windows Update Services, MSI Installer, BITS and Cryptographic.
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
- You need to rename two folders, SoftwareDistribution and Catroot2. You can try to find them yourself, but it’s definitely easier to copy the commands below. You can see the location of these files in the command if you want to rename them manually.
ren C: Windows SoftwareDistribution SoftwareDistribution.old
ren C: Windows System32 catroot2 Catroot2.old
- It’s time to start the processes we stopped in step 2 using the following commands:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
- It’s time to restart your PC and continue with Windows Update one more time.
See also: How To Fix Error 0xc00000e9 Easily (6 Solutions)
Method 4: Use the Windows Update Troubleshooter.
Windows comes with a preinstalled troubleshooter designed to handle problems similar and it can certainly help you once you run out of others options.
- Open the Control panel to troubleshoot the system, Under System and security you will find Finding and Resolving Problems
- Follow the instructions on the screen.
- Locate and start theWindows update troubleshooter
Method 5: Delete some folders
- Locate C: Windows SoftwareDistribution Download and empty the folder Download.
- Open C: Windows SoftwareDistribution and delete the file Download.old that you see.
- The update should start without a problem.
Method 6: Use an automated script to reset Windows Update Services.
If the steps in Solution 3 appeared to you too complicated, you can still use this script and get even better results because some features are not included in Solution 3.
- Download the script for Windows 10 build 10240 and for users of Windows 7,8.0 or 8.1 from ofici
- Locate it in the folder Downloads, right-click and select Extract.
- Right click on the file WuReset.bat after extraction and run it as administrator.
- Restart the PC after the process is complete and the message “Job completed successfully appears.
See as well: [13 Solutions] Resolve the “SYSTEM_SERVICE_EXCEPTION” error
Method 7: Perform a Clean Boot
Perform a clean boot, then try updating Windows.
- Push the button Windows + R, then type ‘msconfig‘and click OK.
- Under the tab General, be sure that’Selective start‘is checked.
- Uncheck the ‘Load startup items ” under Selective start.
- Select the tab Service and tick the box ‘Hide all Microsoft services‘.
- then click on ‘Disable all‘to disable all unnecessary services that could cause conflicts.
- In the tab Start-up, click on ‘Open Task Manager‘.
- In the Startup tab (Internal task manager), deactivate all startup parameters that are enabled.
- Click on OK, then click Restart.
- Try to update Windows again and this time you will be able to update your Windows successfully.
- Press the button again Windows + the R button and type ‘msconfig‘and click OK.
- In the tab General, select the option Normal start, then click OK.
- When you are prompted to restart the computer, click Restart. It would definitely help you fix Windows Update Database Corruption.
And here are 7 methods to solve the “Windows Update database error” problem. If you have any questions, do not hesitate to ask them in comments ????