Archive for January, 2015

SCCM 2012 Client Failed to install – ExitCode: 1603 0x80070643

Friday, January 16th, 2015

SCCM 2012 Client Failed to install – ExitCode: 1603

The following script was created from much frustration with the SCCM Client not installing on workstations and servers.  Errors were all over the map, from MSI errors to 1603 in the ccmsetup.log file.
The following errors were noted:

  • “File C:\Windows\ccmsetup\MicrosoftPolicyPlatformSetup.msi installation failed. Error text: ExitCode: 1603”
  • InstallFromManifest failed 0x80070643
  • “CcmSetup failed with error code 0x80070643”

Turns out the root cause was WMI corruption, so this little batch script worked great.

Tested on XP, Windows 7, Server 2003, Server 2003R2, Server 2008, Server 2008R2.

This is the “shotgun” approach to repairing WMI.  Do not reboot your computer immediately after running this, as the WMI is rebuilding in the background.   I manually ran the SCCM Client install about 1 minute after the batch file completed, and it completed successfully. (Yay – another 30 seconds of success!  Now on to my next task…)

Format: BATCH

Copy and paste the text into a batch file.

@echo off
sc config winmgmt start= disabled
net stop winmgmt /y
%systemdrive%
cd %windir%\system32\wbem
For /f %%s in (‘dir /b *.dll’) do regsvr32 /s %%s
wmiprvse /regserver
winmgmt /regserver
net start winmgmt
for /f %%s in (‘dir /b *.mof *.mfl’) do mofcomp %%s
exit