BeYourself different approach

SCCM 2007 re-installation failure and remediation

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Stephan

I decided to share a few discoveries I made along the way to doing the re-install of SCCM 2007 R3 on a Windows 2003 server after attempting to do so in a client's test lab.

If you remove a working installation of SCCM (or pretty much any application) you will find that other services may still be installed – WSUS and MDT spring to mind. It’s worth keeping this in mind for when you install the core SCCM services again – more likely that you will need to update these products after the re-installation.

CustomerUptheLadder

Things to consider when you remove an existing SCCM 2007 R3 installation...

First, ensure this is the only option left available to you, if you run a multi level hierarchy that supports a large client base then re-installation is probably not an option.

It’s also worth keeping in mind that SCCM will install and update some common OS files and components, you may have newer versions of files and registry keys on the serve that will cause warnings to appear – warnings that can be addressed once the product is re-installed and re-patched.

SMS Provider Fails on Install
A fairly common issue with a re-install, the install process fails at the SMS provider component. If you spend time looking at other websites the common items to check are some of the following:

If the above does not succeed, try looking at the ConfigMgrSetup logfile and also the MOFCOMP.LOG file. In my exprience something similar to this may appear:

An error occurred while processing item 2 defined on lines 21 - 62 in file C:\Program Files\Microsoft Configuration Manager\bin\i386\NetDisc.mof: Error Number: 0x80041026, Facility: WMI

Prafull Wavhal points out the information about the leftover class, which was a great starting point but additional information in the log files file may indicate there could be an issue with the registration of a certain class itself.

If you suspect this, compare the RTM version of this file with the SP2 version to see if there were any subtle differences between lines 21-62 as indicated in the error. Something like this may be missing:

boolean bAMTDiscovery = false;

As part of the installation of SCCM 2007 SP1 the class is added but is not removed when you remove SCCM itself – even when we manually removed the Discovery class earlier. Simply adding this line into the existing NetDisc.mof file or replacing the file with the SP2 version will allow the MOF to be compiled and the installation will proceed.

No SCCM Components are Installed

The installation of SCCM proceeded but at the point where the install completed the SMS components were in an unknown state and the basic components were in a “install pending” state. SCCM says that the install has completed but taking a look in the event viewer a number of errors are reported around the installation of the components themselves:

SMS Server 1014: Component SMS_SITE_COMPONENT_MANAGER on computer COMPUTERNAME reported: SMS Site Component Manager is installing this component on this site system.

LoadPerf 3012: The performance strings in the Performance registry value is corrupted when process SMS_SCHEDULER extension counter provider. The BaseIndex value from the Performance registry is the first DWORD in the Data section, LastCounter value is the second DWORD in the Data section, and LastHelp value is the third DWORD in the Data section.

LoadPerf 3009: Installing the performance counter strings for service SMS_SCHEDULER (SMS_SCHEDULER) failed. The Error code is the first DWORD in Data Section

SMS Server 1016: Component SMS_SITE_COMPONENT_MANAGER on computer COMPUTERNAME reported: SMS Site Component Manager failed to install this component on this site system.

If you take a look at the Site Status inside the SCCM Configuration Manager console you may not see any components visible and no site systems. You may not also be able to launch the ConfigMgr Service Manager with an error about not being able to contact the Site Server.

At the point where the install of the components is launched, the Perfmon counters cannot be installed due to an underlying issue with the Performance Counters. In this case, the following command will perform a reset of the counters.

lodctr /r: c:\windows\system32\perfstringbackup.ini

To continue restart the SMS_COMPONENT_MANAGER service and the components should proceed to install.

Note: I also noticed the issue with components when I did a site reset, the reset performs a reinstall of the components and the same errors were reported - more than likely due to having an existing issue with Performance Counters more than anything particular.

More Posts

M&A Scorecard