Windows Update Error Code 0x80004005

Microsoft pushes regular updates to Windows to ensure the safe and secure working of its systems. These updates appear frequently to ensure that Windows continues to have great performance and stability. Some of the updates, however, may fail to install or download at the user’s end which may cause some problems or frustration for the user. Also, it is commonly seen that whenever an update fails to install, most users simply restart the computer which solves this issue and the download is completed. But in some cases, the issue may run deeper than expected and thus the user has to do much more than just restarting their computers.

Ways to Fix Windows Update Error Code 0x80004005

Error Code 0x80004005 is an unspecified Windows error code that may appear on its own. If you have recently installed the Windows 10 anniversary update, you may witness this message appear on your screen: Error Code 0x80004005. Unspecified Error. This is a common issue that can occur due to a lot of reasons:

  • There might be a problem with the Windows Update
  • The copy of Windows being used might not be properly activated
  • There may be a driver that may prevent the Windows update
  • A Windows file may be corrupted such as opencl.dll

However, some quick and easy methods are available to tackle this problem and are given below:

Method 1: Problems in Activation

The first thing to make sure is if the Windows has been activated properly. After this, follow these given steps to solve the error code 0x80004005-

Step 1 – Select the Start button.

Step 2 – Select Settings. Then, select Update & Security > Activation.

Step 3 – Select the Troubleshooter to run the Activation Troubleshooter.

Method 2: Issues with Driver

The next step is to check whether there are any device drivers that are preventing the Windows update process, stopping the further updates. This is a common issue and can be fixed with a few easy steps:

Step 1 – Open Control Panel > Device Manager.

Step 2 – Now check if there’s either an Unknown Device or one with a yellow triangle on it. This is most likely to be the device preventing the Windows Update process.

Step 3 – Once the damaged device is identified, check on the web for its updated version, install it and get it to work.

This may, however, may or may not solve the issue but it will briefly prevent a driver update from reinstalling. Also, in this case, you might need to download a tool that can be used to hide these updates and get it running. This will also give you the chance to hide the big updates and focus on fixing the other ones.

Method 3: Use the Windows Update Troubleshooter

If the problem continues, it is possible that there is an issue with the Windows Update. In such a case, you can try and fix this using the Windows Update Troubleshooter:

Step 1 – Press the Windows icon key, search for ‘Troubleshoot’ and press Enter.

Step 2 – Select View All from the left panel and run the Windows Update Troubleshooter from the list that will appear on the screen. Then click on Advanced and make sure that the Apply repairs automatically option is on.

Step 3 – Then select Run as administrator.

Step 4 – After this, click on Next and continue to follow the on-screen instructions. Run the troubleshooting process to completion.

Once completed, check if the Windows Update is installed without any more errors. This is an effective way to stop the error code 0x80004005.

Method 4: Manually Force Windows Update Restore

To restore the windows update, follow the steps given below:

Step 1 – First check for 0x80004005 error before proceeding with this method. Then press the Windows icon + X keys at the same time.

Step 2 – Click on Command Prompt (Admin). A User Control popup may appear, click Yes on it.

Step 3 – Type in the following commands into the Command Prompt and hit enter after you have typed in each of the commands.

net stop wuauserv

net stop bits

net stop cryptsvc

ren %systemroot%\System32\Catroot2 Catroot2.old

ren %systemroot%\SoftwareDistribution SoftwareDistribution.old

net start wuauserv

net start bits

net start cryptsvc

You have to make sure that all the commands are entered correctly and that they run properly without any errors. As soon as they run properly, you can close the Command Prompt window and check if the updates are getting installed.

Method 5: Using the SFC Tool to Check for Corrupted Files

If none of the above methods work to solve the 0x80004005 error, a system file named opencl.dll might be corrupted, which seems to cause a lot of problems for many of Windows 10 updates, including the Anniversary update. Although this is a common problem and can lead to the 0x80004005 error, it does not cause any major harm to the system. In order to check if this file is corrupted, we need to use the System File Checker Tool which is an inbuilt tool in Windows 10 and so you don’t need to install any additional software. To use the SFC Tool follow these steps:

Step 1 – Press Windows + X keys simultaneously.

Step 2 – Click on Command Prompt (Admin). Command prompt will open.

Step 3 – Next, type in command, sfc/ scannow. Press Enter.

The scan may take up to 20 minutes to complete. After the completion, look for the summary in the Command Prompt. If there is no issue this message will appear on the screen, “Windows Resource Protection did not find any integrity violations”.
However, in another case check the %windir%\logs\cbs\cbs.log file. If it says “…source file in store is also corrupted” at the end, then your opencl.dll file is certainly corrupted.

Method 6: Using the DISM Tool to Check for Corrupted Files

Another tool that can be used to check if the opencl.dll file is corrupted is the Deployment Image Servicing and Management (DISM). This tool is also inbuilt in Windows 10 and can, therefore, be used for free and there is no need to install any other software. You can use the DISM tool by following the given steps:

Step 1 – First, press the Windows + X.

Step 2 – Then click on the Command Prompt (Admin). It will open.

Step 3 – Next, type in the command, DISM /Online /Cleanup- Image/ RestoreHealth, and press Enter.

Once the scan is finished, check the C:\Windows\Logs\DISM\DISM.log file or the %windir%\logs\cbs\cbs.log file. Look for these lines at the end, “…Repair failed: Missing replacement payload”. If these lines are there then it means that opencl.dll file is certainly corrupted.

Method 7: Repair the opencl.dll File Manually

To get rid of the issue, we need to restore the opencl.dll file from a valid Windows 10 ISO image. This can be done manually using the following steps:

Step 1 – Download the Media Creation Tool from the official link.

Step 2 – Then, use it to download the Windows 10 Pro ISO and put it in a Temp folder. Extract the Temp file to the c:\temp\windows.

Step 3 – After this, you will have to convert esd file to install.wim file. To do this, type in the following command: “Dism /Export-Image /SourceImageFile:c:\temp\windows\sources\install.esd /SourceIndex:1 /DestinationImageFile:c:\temp\windows\sources\install.wim /compress:max”

Step 4 – Next, generate the index and windows version of the WIM image. For this, type in the following command: “Dism /Get-WimInfo /wimFile:c:\temp\Windows\sources\install.wim”

Step 5 – Now you can restore the corrupted files from the WIM Image. Afterwards type in the following command: “Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:c:\temp\Windows\sources\install.wim:1 /LimitAccess”

Once you have correctly performed all the above steps, reboot your system (required). Now rerun the sfc/scannow to repair and check the system files again. Finally, the Windows update error code 0x80004005 should have been fixed.


Hopefully, the above-given methods will be able to fix the error code 0x80004005. Make sure to follow the steps properly and accurately to avoid any further issues and get your Windows update error fixed.

Leave a comment

Your email address will not be published. Required fields are marked *