• You receive a "Setup Library wbemupgd.dll could not be loaded" error message when you use Add or Remove Programs in Windows Server 2003


    使用Windows 2003的添加删除程序--添加Windows组件 出现错误。

    To resolve this problem, use one of the following methods:

    • Method 1
      1. Click Start, right-click My Computer, and then click Properties.
      2. Click the Advanced tab, and then click Environment Variables.
      3. Click Path in the System variables list, and then click Edit.  (Path注意大小写)
      4. Replace three of the paths in the Variable value box. To do this, follow these steps:
        1. Delete the following three paths in the Variable value box:

          %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

        2. Type the following text in the Variable value box to replace the paths that you removed in step 4a.

          C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem

          Note drive is the hard disk drive where Windows is installed, and Windows is the folder in which Windows is installed.

        3. Click OK three times.
    • Method 2
      1. Click Start, click Run, type regedit, and then click OK.
      2. Locate and then click the following registry subkey:

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

      3. Make sure that the type of the Path registry entry is REG_EXPAND_SZ.
        Note If the type is not REG_EXPAND_SZ, delete the Path registry entry, and then re-create a Path registry entry that has the REG_EXPAND_SZ type.
      4. Right-click the Path registry entry, and then click Modify.
      5. Type the following path in the Value data box:

        %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

    • From: http://support.microsoft.com/?id=838860

  • 相关阅读:
    结构和联合
    字符串、字符和字节
    数组
    函数
    指针
    操作符和表达式
    语句
    数据
    TinyXML2 使用
    是否忘记了向源中添加“#include "StdAfx.h"”?
  • 原文地址:https://www.cnblogs.com/emanlee/p/1704081.html
Copyright © 2020-2023  润新知