Tuesday, February 17, 2015

ConfigMgr 2012 Client Install Errors

There are a number of reasons why the ConfigMgr client fails to install… permissions, WMI, environment variables, certificate errors etc. So this post is going to be a collection of the random installation errors that I have come across in my time and how they were resolved. As news ones are identified I will add to this post.

Symptom:
  • Client installs successfully (%WinDir%\ccmsetup\Logs\ccmsetup.log)
  • Software Center is blank (Client reinstall)
  • On a new client install the logs directory (%WinDir%\CCM\Logs) is mostly empty
  • Errors can be found in both the CertificateMaintenance.log and ClientIDManagerStartup.log
CertificateMaintenance.log

Crypt acquire context failed with 0x8009000f.
CCMDoCertificateMaintenance() failed (0x8009000f).
CCMDoCertificateMaintenance() failed (0x8009000f).
Raising pending event:
instance of CCM_ServiceHost_CertificateOperationsFailure
{
DateTime = "20140909183201.373000+000";
HRESULT = "0x8009000f";
ProcessID = 5080;
ThreadID = 4824;
};
CCMDoCertificateMaintenance() raised CCM_ServiceHost_CertificateOperationsFailure status event.

ClientIDManagerStartup.log

RegTask: Failed to get certificate. Error: 0x80004005

Resolution:
  • On the client open the Services MMC snap-in and stop the SMS Agent Host service
  • Navigate to C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
  • Locate the crypto file starting with “19c5cf”
  • Backup the file to a temporary directory and then delete it
  • Restart the SMS Agent Host service
  • The client should recreate the crypto file starting with “19c5cf” and the go through the registration process
Symptom:
  • Client install fails with error code 0x80004004 (%WinDir%\ccmsetup\Logs\ccmsetup.log)
  • MSI error code 1789 referenced in the client.msi.log (%WinDir%\ccmsetup\Logs\client.msi.log)
ccmsetup.log

MSI: Setup failed due to unexpected circumstances
The error code is 800706FD
CcmSetup failed with error code 0x80004004

client.msi.log

ERROR: Failed to resolve the account <Domain\Account> (1789)

Resolution:
  • On the client open the Services MMC snap-in and ensure that the Netlogon service is set to Automatic and it is running
  • Open regedit and navigate to HKLM\Software\Microsoft\
  • Delete the ccmsetup key
  • Reboot the machine
  • Reinstall the client
Symptom:
  • Client fails to install with the Couldn’t find an MP source through AD. Error 0x80004005 (%WinDir%\ccmsetup\Logs\ccmsetup.log)
ccmsetup.log

Failed to get assigned site from AD. Error 0x80004005
GetADInstallParams failed with 0x80004005
No valid source or MP locations could be identified to download content from. Ccmsetup.exe cannot continue
Couldn't find an MP source through AD. Error 0x80004005

Resolution:
  • Ensure that your boundaries and boundary groups in ConfigMgr are setup appropriately
  • On the client ensure that the Netlogon service is running and set to Automatic
  • Ensure the client is communicating with the domain properly
  • Reinstall the client
Symptoms:
  • Client installation fails with error code 1603 (%WinDir%\ccmsetup\Logs\ccmsetup.log)
ccmsetup.log

MSI: Could not access network location %APPDATA%
File %WinDir%\ccmsetup\<GUID>\client.msi installation failed. Error text: ExitCode 1603
Action: CostFinalize
ErrorMessages:
Could not access network location %APPDATA%\.

Resolution:
  • Open regedit and navigate to HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  • Change the value for %APPDATA% to %USERPROFILE%\AppData\Roaming
  • Reinstall the client (Reboot may be required)
Source found here.

Symptom:
  • The client installs successfully however it will not report into it’s management point
  • Registration errors can be found in the ClientIDManagerStartup.log
  • Client does not show up as having an active client installed in the ConfigMgr client
ClientIDManagerStartup.log

<![LOG[RegTask: Failed to get certificate. Error: 0x80004005]LOG]!><time="<Time>" date="<Date>" component="ClientIDManagerStartup" context="" type="3" thread="5972" file="regtask.cpp:615">

Resolution:
  • Backup all files in the C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys folder for Windows 7 or C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys folder for Server 2003
  • Remove the (19c5cf9c7b5dc9de3e548adb70398402_ac168ff2-23d3-4a00-bd1d-dd27ff040362) folder
  • Restart the SMS Agent Host Service to recreate these certificates
  • Client should now register and start pulling down policies
Symptom:
  • Client fails to install with error code 80041002 (%WinDir%\ccmsetup\Logs\ccmsetup.log)
ccmsetup.log

MSI: Setup was unable to compile the file DiscoveryStatus.mof
CcmSetup failed with the error code 80041002

Resolution:
  • Open an administrative CMD prompt
  • Navigate to C:\Program Files\Microsoft Policy Platform
  • run the following command mofcomp ExtendedStatus.mof
  • Reinstall the client