Microsoft KB Archive/924143

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:32, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


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

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="{0F95BCE5-2209-488a-B4BC-4396AD233C8D}" 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 "Cause 1" 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 "Cause 2" 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:

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry subkey:

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

  3. Delete the TEMP and TMP registry entries.
  4. Click Edit, point to New, click Expandable String Value, and then type TEMP in the name box.
  5. Right-click the TEMP registry entry, and then click Modify.
  6. In the Value data box, type the path of the TEMP folder. For example, type %Systemdrive%\TEMP or %Systemroot%\TEMP.
  7. Click OK.
  8. Click Edit, point to New, click Expandable String Value, and then type TMP in the name box.
  9. Right-click the TMP registry entry, and then click Modify.
  10. In the Value data box, type the path of the TEMP folder. For example, type %Systemdrive%\TEMP or %Systemroot%\TEMP.
  11. Click OK.
  12. Exit Registry Editor.


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