CCMSetup Failed With Error Code 0x80004005: How to Fix Error Code 0x80004005?

How to fix CCMSetup failed with Error Code 0x80004005? We will explore the reasons and provide solutions to fix error code 0x80004005, enabling a seamless installation of Configuration.

by Janani

Updated Jul 25, 2023

CCMSetup Failed With Error Code 0x80004005: How to Fix Error Code 0x80004005?
Fresherslive

What is CCMSetup.exe? 

The CCMSetup.exe command is designed to fetch essential files required for installing the client either from a management point or a designated source location.

These files encompass a variety of components, with one notable example being the Windows Installer package client, which is identified by the extension ".msi" and serves the purpose of facilitating the installation of the client software on the target system.

Ccmsetup Failed With Error Code 0x80004005

The error code 0x80004005 is a common error code that implies an "Access Denied" issue. One of the potential reasons for this Error Code 0x80004005 is a Time Sync Issue, which can be identified in the smsts.log with the following error entry:

"SyncTimeWithMP() failed. 80072ee7.TSMBootstrap 25-4-2018 18:02:191501 (0x0580) Failed to get time information from MP: MPServerName"

If such errors are present in the smsts.log, it suggests a problem with time synchronization. To address this, you can check the date and time on the client machine BIOS. Access the command prompt in the Windows PE screen by pressing F8 and verifying the date and time using the command line. If there's a time discrepancy, correct it, and then retry the Task Sequence.

Another possible cause is a DNS Issue, which manifests in the smsts.log with the following errors:

"unknown host (gethostbyname failed) sending with winhttp failed; 80072ee7 Failed to get client identity (80072ee7)"

These errors point to DNS-related problems. To resolve this, you can access the command prompt in the Windows PE screen by pressing F8 and perform the following checks:

  1. Verify if an IP address has been assigned to the machine by the DHCP server.
  2. Check if you can ping the Management Point using the Management Point server's FQDN (Fully Qualified Domain Name).
  3. If you created the USB boot disk using Dynamic media, consider trying Site-based media and selecting the management point client reporting to it.

Additionally, the error may be caused by an expired Self-Signed certificate. To check the expiry date of the Self-Signed certificate, follow these steps:

  1. Unlock the Configuration Manager console.
  2. Go to AdministrationOverviewSite ConfigurationServers and Site System Roles.
  3. Choose the Site System in the top right pane.
  4. Next, right-click on Distribution Point in the bottom right pane and choose Properties.
  5. In the Distribution Point Properties window, opt to the Communication tab and verify the Self-Signed certificate's date.

By performing these checks and troubleshooting steps, you can identify and resolve the "Access Denied" error with error code 0x80004005 in your system.

What is Error Code 0x80004005?

The error code 0x80004005 is a general error code that indicates an "Access Denied" issue. There could be several reasons behind this error, and to pinpoint the exact cause, it is essential to analyze the smsts.log file.

The Windows error code "0x80004005" is a generic and version-independent error message that can occur when users encounter access issues to various applications, services, or devices. This error typically arises unexpectedly and can prevent users from performing certain actions without clear reasons. Here are several scenarios in which this error with the code "0x80004005" may manifest:

  1. Installing a Windows update or a program: During the installation process of either a Windows update or a new software program, the error "0x80004005" may appear, hindering the successful completion of the installation.

  2. Updating software: Users may encounter an error when attempting to update their existing software applications to newer versions, disrupting the update process.

  3. Establishing a connection with a network: When trying to connect to a network, such as a local area network or the internet, the error "0x80004005" might arise, preventing access to network resources.

  4. Accessing a shared network resource: In situations where users are attempting to access a shared file or folder on a network, the error can prevent them from gaining the necessary access.

  5. Receiving emails in Outlook: While using the Microsoft Outlook email client, users might encounter the error "0x80004005" when attempting to receive new emails.

  6. Starting a virtual machine: Users who run virtual machines on their systems may face an error when trying to start or access a virtual machine instance.

  7. Unpacking a compressed file: When trying to extract files from a compressed archive (e.g., ZIP or RAR), the error "0x80004005" may arise, preventing successful extraction.

In each of these situations, the error "0x80004005" presents as a roadblock, hindering users from completing the intended action. The precise reasons for this error can vary widely, and diagnosing the root cause may require further investigation into system settings, permissions, network configurations, or software conflicts.

Resolving the "0x80004005" error typically involves troubleshooting the specific scenario and implementing the appropriate solutions to regain access to the application, service, or device.

How to Fix CCMSetup Failed with Error Code 0x80004005?

There are some methods to try to check if the Error Code 0x80004005 gets solved. Here are those methods to solve the Error Code 0x80004005. 

1) Check CCMSetup Component Updates

To check for updates to the CCMSetup component, take the following steps:

  • Launch the CCMSetup utility by running ccmsetup.exe from the %ProgramFiles%Common FilesMicrosoft SharedCCM folder.
  • In the CCMSetup main window, click on the "Check for Updates" button.
  • In the CCM Updates dialog box, click on the "Update" button.
  • Verify that the latest version of CCM is installed in the CCM Updates dialog box. If not, click on the "Install" button to get the latest version.
  • Click "OK" to close the CCM Updates dialog box.
  • Click the "OK" button again to close the CCMSetup utility.

2)  Use System Update Readiness Tool

To use the System Update Readiness Tool and ensure your system is up to date, follow these steps:

  • Find the tool icon on the Start menu and launch the System Update Readiness Tool by clicking on it.
  • On the main window of the tool, click on "Check for updates."
  • You will be directed to the System Update Readiness Tool updates page. Here, select the appropriate updates you wish to install by checking the relevant boxes.
  • Click on the "Download and Install" button to initiate the update process.
  • Once the updates have been successfully installed, click on "OK."
  • Finally, close the System Update Readiness Tool.

3) Check the System Event Log

To obtain further details about the system's performance, you should examine the system event log. Here's how you can access and review it:

  • Locate your computer's system event log and open it.
  • In the center pane, navigate to "Application errors" and click on the "ccmsetup" entry.
  • Take a close look at the ccmsetup event log to identify any errors that might be present.
  • In case any errors are found, address them accordingly and then click on "OK."
  • Once you have finished reviewing and resolving the issues, close the system event log.

4)  Check for Windows Update Agent Updates

To check for updates related to the Windows Update Agent, perform the following steps:

  • Navigate to "System and Security" and then click on "Windows Update."
  • On the left-hand side, under "Update Options," click on "Check for updates."
  • In the "Search for updates" dialog box, type "ccmsetup," and then click on "OK."
  • If the "ccmsetup" update is available, it will be listed under "Available updates." If not, it will be listed under "Not available updates."
  • Click on "Install updates."
  • In the "Update installation" dialog that appears, click on "Install updates."
  • Once the updates are installed, click on "Close."
  • Restart your computer.
  • After the restart, check again for the "ccmsetup" update to confirm its installation status.

5) You could also consider the additional steps, if you encounter issues with Windows Updates,

  • Open the Control Panel and click on "System and Security," then select "Windows Update."
  • Under "Installed Updates," click on "View Installed Updates and Uninstalled Updates."
  • If the Windows Update Agent is installed, you'll see a list of updates.
  • If it's not installed, you'll see a list of available updates.
  • Click on the link for the Windows Update Agent under "Installed Updates."
  • In the Windows Update Agent window, click on "Check for Updates."
  • Windows will download and install any available updates.
  • If no updates are found, Windows will offer to install the Windows Update Agent.
  • Click on "Install" to proceed.
  • Once the installation is complete, click "OK" to close the Windows Update Agent window.
  • Restart your computer if prompted to do so.
  • If you encounter any issues, consider trying the installation again, doing it in a clean boot environment, temporarily disabling security software, or reaching out to Microsoft support for assistance.
Disclaimer: The above information is for general informational purposes only. All information on the Site is provided in good faith, however we make no representation or warranty of any kind, express or implied, regarding the accuracy, adequacy, validity, reliability, availability or completeness of any information on the Site.

Ccmsetup Failed With Error Code 0x80004005 - FAQ

1. Why Ccmsetup Failed With Error Code 0x80004005?

One of the potential reasons for this Error Code 0x80004005 is a Time Sync Issue.

2. What is CCMSetup.exe, and what does it do?

CCMSetup.exe is a command designed to retrieve essential files needed for client installation. It fetches these files from either a management point or a specified source location. The purpose of CCMSetup.exe is to facilitate the installation of the client software on the target system.

3. What kind of files does CCMSetup.exe fetch during client installation?

CCMSetup.exe fetches a variety of files necessary for installing the client. One significant example is the Windows Installer package client, identified by the ".msi" extension. This particular file aids in the smooth installation of the client software on the designated system.

4. Can I choose between using a management point or a specified source location for client installation?  

Yes, during the client installation process, you have the option to choose between using a management point or specifying a custom source location. The CCMSetup.exe command is flexible and allows you to define the most suitable method based on your network configuration and requirements.

5. What are the benefits of using CCMSetup.exe for client installation?  

CCMSetup.exe offers several benefits for client installation. It simplifies the process by automatically fetching the necessary files, and streamlining the installation procedure. Additionally, it supports remote installations, making it efficient for large-scale deployment across multiple systems within the network.