Support for Windows Vista Service Pack 1 (SP1) ends on July 12, 2011. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows.
Problem description
Consider the following scenario. You add a Web reference to a project in Microsoft Visual Studio 2005. For the Web Services Description Language (WSDL) file that describes the Web service, the first element contains a default namespace. For example, the. Error Message Generator is a similar Windows application that lets you create error messages and dialogs. It is simpler than Windows Error Message Generator and comes with fewer options.
When you try to install or uninstall Windows Vista Service Pack 1, or other Vista updates, the installation fails after the installation restarts your computer. This problem occurs at 100% of stage 3 of 3 of configuring updates. You may also receive an error message that includes a WBEM_E_CRITICAL_ERROR error code, or a 0x8004100A error code.
Fix it for me
To resolve this problem automatically, click the Fix it for me button. Then click Run in the File Download dialog box, and follow the steps in the Setup Wizard to install the fix.
Note If you are not on the computer that has the problem, save the automatic fix to a flash drive or a CD so that you can run it on the computer that has the problem. If you do not want to use the automatic fix, you can try to do it yourself.
Next steps
To verify that the automatic fix worked, try to install or uninstall the update that failed again.
If the problem is not resolved, try advanced troubleshooting or contact support.
Let me fix it myself
To fix this problem yourself, add %windir%system32wbem to the PATH environment variable. To do this, follow these steps:
Click Start, right-click
Computer, and then click
Start Search.Type Sysdm.cpl and then press ENTER.
If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.Click the Advanced tab, and then click
Environment Variables.In the System variables section, click to select Path, and then click Edit.
Add the following text at the end of the Variable value text box:
;%windir%system32wbem
Click OK three times to close System Properties.
Next steps
To verify that you fixed it, try to install or uninstall the update that failed again.
If the problem is not resolved, try advanced troubleshooting or contact support.
Advanced Troubleshooting
If adding the Wbem folder to to your system path does not resolve the problem, run the winmgmt /salvagerepository
command to check the Windows Management Instrumentation (WMI) repository for consistency and to repair any errors that are found. To do this, follow these steps:
Click Start, and then click Start Search.
Type cmd.exe.
In the Programs list, right-click Cmd.exe, and then click Run as administrator.
If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.At the command prompt, type the following command and then press ENTER.
winmgmt /salvagerepositoryThe Winmgmt command checks the WMI repository for consistency and repairs any errors that are found. If the following text is displayed in the command prompt, then no errors were found.
WMI repository is consistent.
Next steps
To verify that you fixed it, try to install or uninstall the update that failed again.
If the problem is not resolved, you might want to contact support.
Possible causes for this problem
This problem occurs for one of the following reasons:
The PATH environment variable does not contain the following information:
%windir%system32wbem
The Windows Management Instrumentation (WMI) repository is not consistent.
Similar problems and solutions
For more information about errors that you may encounter when you install Windows Vista Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
947366 Error message when you try to install Windows Vista Service Pack 1: 'Installation was not successful' or 'An internal error occurred while installing the service pack'
Windows Vista Error Message Generator 5500
951386 Error message when you try to install updates on a computer that is running Windows Vista: 'WBEM_E_CLASS_HAS_INSTANCES (0x80041026)'