Home > ccmsetup failed with error code 0x80004005

How to fix the ccmsetup error code 0x80004005?

Alton Alexander
By Alton AlexanderUpdated on June 4th, 2022

The error code 0x80004005 is a general error code that indicates a problem with the Windows CCMSetup program. This program is responsible for the installation and configuration of the Microsoft System Center Configuration Manager (SCCM) client on a computer. The error code 0x80004005 can be caused by a variety of factors, including incorrect permissions, corrupt files, or a conflict with another program.

1. Check the system event log for more information

  1. Locate and open the system event log on the computer.
  2. In the center pane, under "Application errors," click on "ccmsetup."
  3. In the ccmsetup event log, review the log for any errors.
  4. If there are any errors, fix them and then click on "OK."
  5. Close the system event log.

2. Run the System Update Readiness Tool

  1. Launch the System Update Readiness Tool by clicking on the tool icon on the Start menu.
  2. On the System Update Readiness Tool main window, click on the Check for updates button.
  3. On the System Update Readiness Tool updates page, select the appropriate check box for the updates that you want to install.
  4. Click on the Download and Install button.
  5. When the updates are installed, click on the OK button.
  6. Close the System Update Readiness Tool.

3. Check for updates to the Windows Update Agent

  1. Navigate to System and Security > Windows Update.
  2. On the left hand side, under "Update Options", click on the "Check for updates" button.
  3. In the "Search for updates" dialog, enter "ccmsetup" and click on the "OK" button.
  4. If the "ccmsetup" update is available, it will be listed under "Available updates". If the "ccmsetup" update is not available, it will be listed under "Not available updates".
  5. Click on the "Install updates" button.
  6. When the "Update installation" dialog appears, click on the "Install updates" button.
  7. When the "Update installation progress" dialog appears, click on the "Close" button.
  8. Restart the computer.
  9. If the "ccmsetup" update is installed, it will be listed under "Available updates". If the "ccmsetup" update is not installed, it will be listed under "Not available updates".

4. Check for updates to the CCMSetup component

  1. Launch the CCMSetup utility by running ccmsetup.exe from the %ProgramFiles%\Common Files\Microsoft Shared\CCM\ folder.
  2. On the CCMSetup main window, click the Check for Updates button.
  3. In the CCM Updates dialog box, click the Update button.
  4. In the CCM Updates dialog box, verify that the latest version of CCM is installed. If not, click the Install button to install the latest version.
  5. Click OK to close the CCM Updates dialog box.
  6. Click the OK button to close the CCMSetup utility.

5. Repair or re-install the Windows Update Agent

  1. Start by opening the Control Panel.
  2. Click on System and Security.
  3. Click on Windows Update.
  4. On the left-hand side, under Installed Updates, click on View Installed Updates and Uninstalled Updates.
  5. If the Windows Update Agent is installed, you will see a list of updates.
  6. If the Windows Update Agent is not installed, you will see a list of updates that are available to be installed.
  7. On the right-hand side, under Installed Updates, click on the link for the Windows Update Agent.
  8. In the Windows Update Agent window, click on the Check for Updates button.
  9. If updates are available, Windows will start to download and install them.
  10. If updates are not available, Windows will tell you that there are no updates available and will offer to install the Windows Update Agent.
  11. Click on the Install button to install the Windows Update Agent.
  12. Once the Windows Update Agent has been installed, click on the OK button to close the Windows Update Agent window.
  13. If you are prompted to restart your computer, restart your computer.

Some users might also have success with the following opitons:

  1. Try the installation again.
  2. Try installing the updates in a clean boot environment.
  3. Temporarily disable any security software.
  4. Contact Microsoft support.