Networknet archive Blog

SMS 2003: Error 25100

Originally published

I am still managing an SMS 2003 environment. Last week, we encountered the following message on one of the clients. It appeared in the Application log in Event Viewer, and the client did not report back to our SMS primary site:

Event Type:        Error
Event Source:      MsiInstaller
Event Category:    None
Event ID:          10005
Date:              3/10/2009
Time:              12:17:06 PM
User:              NETWORKNET\Ivan
Computer:          IVAN-VM01
Description:
Product: SMS Advanced Client -- Error 25100. Setup was unable to create the WMI namespace CCM
The error code is 80041002

The script used by local IT

The local IT contact used my cmd script below to address the problem:

@echo off
REM Ivan Versluis
REM Date: 2009/03/11
REM Description: FIX WMI Database for SMS Client
c:
cd %windir%\system32\wbem\
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
net stop winmgmt
rmdir /s /q repository
rmdir /s /q Logs
mkdir Logs
net start winmgmt
rundll32 wbemupgd, UpgradeRepository
rundll32 wbemupgd, CheckWMISetup
rundll32 wbemupgd, RepairWMISetup
pause