Microsoft KB Archive/922362

= The SMS Agent Host service does not start after you restart a Systems Management Server 2003 client computer =

Article ID: 922362

Article Last Modified on 2/8/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
After you restart a Microsoft Systems Management Server (SMS) 2003 client computer, the SMS Agent Host service (Ccmexec.exe) does not start. When this problem occurs, error entries that resemble the following may appear in the CCMExec.log file on the SMS client computer:

CCMExec.log file entry 1

Starting CCMEXEC service... $$

Running on machine  as user SYSTEM.

$$

ERROR!! WBEM not found in the system path. $$

Successfully added WBEM to the process environment variable PATH. $$

Initializing COM. $$<thread=1216 (0x4C0)>

Registering for logging change notifications. $$<CcmExec><Fri Feb 13 8:13:13.869 2004 Central Standard Time><thread=1216 (0x4C0)>

Setting default logging component for process. $$<CcmExec><Fri Feb 13 8:13:13.869 2004 Central Standard Time><thread=1216 (0x4C0)>

Setting service status to RUNNING. $$<CcmExec><Fri Feb 13 8:13:13.869 2004 Central Standard Time><thread=1216 (0x4C0)>

Checking if repair is required. $$<CcmExec><Fri Feb 13 8:13:13.889 2004 Central Standard Time><thread=1216 (0x4C0)>

Failed to open to WMI namespace '\\.\root\ccm' (80004002) $$<CcmExec><Fri Feb 13 8:13:17.224 2004 Central Standard Time><thread=1216 (0x4C0)>

CCMExec.log file entry 2

1/25/2006 9:16:35 PM Failed to open to WMI namespace '\\.\root\ccm' (8004100a)

1/25/2006 9:16:35 PM CCMDoCertificateMaintenance failed (0x8004100a).

1/25/2006 9:16:35 PM Failed to open to WMI namespace '\\.\root\CCM\Events' (8004100a)

1/25/2006 9:16:35 PM CCMDoCertificateMaintenance raised CCM_ServiceHost_CertificateOperationsFailure status event.

1/25/2006 9:16:35 PM Loading service settings.

1/25/2006 9:16:35 PM Failed to open to WMI namespace '\\.\root\ccm\Policy\Machine' (8004100a)

1/25/2006 9:16:35 PM Error loading service settings. Code 0x8004100a

1/25/2006 9:16:35 PM Phase 0 initialization failed (0x8004100a).

1/25/2006 9:16:35 PM Service initialization failed (0x8004100a).

1/25/2006 9:16:35 PM Shutting down AdditonallyCCMEXEC...

Additionally, the Wbemcore.log file may contain an error entry that resembles the following:

(Fri Feb 13 08:13:13 2004.69289) : Registry entry is indicating a setup is running

(Fri Feb 13 08:14:13 2004.129856) : CFactory construct

(Fri Feb 13 08:14:13 2004.129886) : CFactory destruct

(Fri Feb 13 08:14:13 2004.129896) : Created WINMGMT_ACTIVE mutex

(Fri Feb 13 08:14:13 2004.129946) : Reading config info from registry

(Fri Feb 13 08:14:16 2004.132800) : Preparing a namespace init request for active namespace //./ROOT/ccm/policy

(Fri Feb 13 08:14:16 2004.132901) : Preparing a namespace init request for active namespace //./root/CIMV2

(Fri Feb 13 08:14:16 2004.132961) : Preparing a namespace init request for active namespace //./root/subscription

(Fri Feb 13 08:14:16 2004.133021) : Initializing namespace //./ROOT/ccm/policy

(Fri Feb 13 08:14:16 2004.133041) : Initializing namespace //./root

<div class="cause_section">

CAUSE
This problem occurs when one or both of the following conditions are true:
 * The %SystemRoot%\System32\Wbem path variable is not listed in the system path on the client computer.
 * The type of the Path registry entry is incorrect on the SMS client computer.

The problem may also occur when the Windows Management Instrumentation (WMI) service does not start in a timely manner.

<div class="resolution_section">

RESOLUTION
To resolve this problem, use one of the following methods.

Method 1: Make sure that the %SystemRoot%\System32\Wbem variable is listed in the system path on the client computer
<ol> <li>Click Start, click Run, type sysdm.cpl, and then click OK.</li> <li>Click the Advanced tab, and then click Environment Variables.</li> <li>Under System variables, click Path, and then click Edit.</li> <li>Make sure that %SystemRoot%\System32\Wbem is listed in the Variable value box. If this value is not listed, you must add it. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>In the Edit System Variable dialog box, click after the end of text in the Variable value box, and then type the following:

;%SystemRoot%\System32\Wbem

</li> <li>Click OK three times to save the changes.</li></ol> </li></ol>

Method 2: Set the type of the Path registry entry to REG_EXPAND_SZ
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> <li>Click Start, click Run, type regedit, and then click OK.</li> <li>In Registry Editor, locate and then click the following registry subkey:

</li> <li>Make sure that the type of the Path entry is REG_EXPAND_SZ and not REG_SZ. If the type of this entry is REG_SZ, you must copy the path information, delete the existing Path entry, and then create a new entry of type REG_EXPAND_SZ. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>In Registry Editor, double-click the Path value.</li> <li>Right-click the text in the Value data box, click Copy, and then click Cancel.</li> <li>Paste the text into a Notepad document.</li> <li>In Registry Editor, right-click Path, and then click Delete.</li> <li>On the menu bar, click Edit, point to New, and then click Expandable String Value.</li> <li>Type Path, and then press ENTER.</li> <li>Double-click Path.</li> <li>Right-click the Value data box, click Paste, and then click OK.</li> <li>Exit Registry Editor.</li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

886137 Event ID 10003 is logged and you cannot use Client Push Installation to install an SMS 2003 Advanced Client

Keywords: kbtshoot kbprb KB922362

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.