Inactive Configuration Manager Agents

Some of our clients are listed as Inactive in Configuration Manager. This is the cause and resolution for one particular client having issues with Windows Management Instrumentation (WMI) on Windows XP.
 
I found this in %windir%\ccmsetup\ccmsetup.log:
 
MSI: Setup was unable to create the WMI namespace CCM The error code is 80041002 ccmsetup 2012-12-12 17:10:36 2192 (0x0890)

MSI: Action 17:10:36: Rollback. Rolling back action: ccmsetup 2012-12-12 17:10:36 2192 (0x0890)

MSI: Warning 25101. Setup was unable to delete WMI namespace ccm\dcm The error code is 80041002 ccmsetup 2012-12-12 17:10:37 2192 (0x0890)

File C:\WINDOWS\ccmsetup\{F5EAB9A8-E852-429F-92BC-BB82712ACA9B}\client.msi installation failed. Error text: ExitCode: 1603 Action: CcmCreateWmiNamespaces. ErrorMessages: Setup was unable to create the WMI namespace CCM The error code is 80041002  ccmsetup 2012-12-12 17:12:31 2192 (0x0890)


This indicates that there is something wrong with WMI on the client. I tried to find a way to repair WMI on Windows XP and found a solution where you should delete %windir%\system32\wbem\repository and restarting the "Windows Management Instrumentation" service. DO NOT perform this step, it will make the computer very unstable. Instead run the following commands in a Command Prompt to rebuild the WMI components.

 
FOR /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
net stop /y winmgmt
FOR /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
net start winmgmt
 
Source: http://blogs.technet.com/b/configmgrteam/archive/2009/05/08/wmi-troubleshooting-tips.aspx
 
It's also a good idea to use WMI Diag during troubleshooting, it can be found here:
http://www.microsoft.com/en-us/download/details.aspx?id=7684
 
 

Kommentarer
Postat av: Jesper

Fett Nice :)

2013-06-11 @ 11:33:12

Kommentera inlägget här:

Namn:
Kom ihåg mig?

E-postadress: (publiceras ej)

URL/Bloggadress:

Kommentar:

Trackback
RSS 2.0