Microsoft KB Archive/924143

= Systems Management Server 2003 Advanced Client installation fails, and error code &quot;80004005&quot; is logged together with an error message: &quot;Setup was unable to register the UploadProtocol endpoint&quot; =

Article ID: 924143

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
When you try to install the Systems Management Server 2003 Advanced Client, the installation fails. The following error message is logged in the Ccmsetup.log file on the client computer:

MSI: Setup was unable to register the UploadProtocol endpoint. The error code is 80004005

MSI: Action 13:00:51: Rollback. Rolling back action: ccmsetup

MSI: Warning 25002. Failed to delete CCM_Service_ErrorHandlerRegistration.Clsid=&quot;{0F95BCE5-2209-488a-B4BC-4396AD233C8D}&quot; from CCM

The error code is 80041010

Installation failed with error code 1603



CAUSE
This behavior occurs because of one of the following reasons.

Cause 1
The path of the TEMP or TMP system environment variable on the client computer is incorrect.

Cause 2

 * The registry entries for the TEMP and TMP system environment variables are set to a value type of REG_SZ instead of REG_EXPAND_SZ on the client computer.
 * The Value data for the TEMP or TMP registry entries is %Systemdrive%\TEMP or %Systemroot%\TEMP



RESOLUTION
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.

Use one of the following methods to resolve the problem, as appropriate for your situation.

Method 1
To resolve the problem that is discussed in the &quot;Cause 1&quot; section, follow these steps:
 * 1) Click Start, click Run, type sysdm.cpl, and then click OK.
 * 2) In System Properties click the Advanced tab, and then click Environment Variables.
 * 3) In the System variables section, locate TEMP and TMP. Click the variable with the incorrect path, and then click Edit.
 * 4) In the Edit System Variable dialog box, type the correct path of the TEMP folder in the Variable value box. For example, type %Systemroot%\TEMP.
 * 5) Click OK three times to save the new variable, and then close the System Properties dialog box.

Method 2
To resolve the issue that is discussed in the &quot;Cause 2&quot; section, you must set the TEMP or TMP system environment variable registry entries on the client computer to a value type of REG_EXPAND_SZ. To do this, follow these steps:  Click Start, click Run, type regedit, and then click OK. In Registry Editor, locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

 Delete the TEMP and TMP registry entries. Click Edit, point to New, click Expandable String Value, and then type TEMP in the name box. Right-click the TEMP registry entry, and then click Modify. In the Value data box, type the path of the TEMP folder. For example, type %Systemdrive%\TEMP or %Systemroot%\TEMP .</li> Click OK.</li> Click Edit, point to New, click Expandable String Value, and then type TMP in the name box.</li> Right-click the TMP registry entry, and then click Modify.</li> In the Value data box, type the path of the TEMP folder. For example, type %Systemdrive%\TEMP or %Systemroot%\TEMP .</li> Click OK.</li> Exit Registry Editor.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
To resolve an environment variable such as %Systemdrive% or %Systemroot in a registry entry, the value type of the registry entry must be set to REG_EXPAND_SZ (expandable string value).

However, if the value type of the registry entry is set to REG_SZ (string value), the registry entry is treated as a literal string. Therefore, if an environment variable such as %systemdrive% is set to a value type of REG_SZ, it is not treated as an expandable string value that resolves to C:\.

Keywords: kbtshoot kbprb kbsmsclients KB924143

-

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

© Microsoft Corporation. All rights reserved.