Microsoft Knowledge Base Email Alertz

KBAlertz.com: Error message when you try to install updates on a computer that is running Windows Vista: WBEM_E_CLASS_HAS_INSTANCES (0x80041026)

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]






Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Error message when you try to install updates on a computer that is running Windows Vista: "WBEM_E_CLASS_HAS_INSTANCES (0x80041026)"

Article ID:951386
Last Review:May 13, 2008
Revision:1.0
On This Page

SYMPTOMS

When you try to install updates on a computer that is running Windows Vista, the installation process fails. Additionally, you receive the following error message:
WBEM_E_CLASS_HAS_INSTANCES (0x80041026)

Note This issue may occur when you try to install Windows Vista Service Pack 1 (SP1).

Back to the top

RESOLUTION

To resolve this issue, follow these steps:
1. Click Start, and then type cmd in the Start Search box.
2.In the Programs list, right-click cmd, and then click Run as administrator.

If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
3.At the command prompt, type the following, and then press ENTER:
wmic /namespace:\\root path __namespace where (name="SecurityCenter") delete
4.Install the update again.

Back to the top

More information for advanced users

This issue occurs when the Managed Object Format (MOF) file that is associated with Security Center (Wscenter.mof) has been modified in a way that makes it incompatible with the update process.

By performing the procedure in the "Resolution" section, you use the MOF compiler, Mofcomp.exe, to register the original MOF file. (Mofcomp.exe is included with Windows.) The Windows Vista SP1 update replaces the original MOF file registration, and this behavior causes the problem that is described in the "Symptoms" section. After you restore the original MOF file registration, install the update again.

Back to the top

REFERENCES

For more information about the MOF compiler, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa392389(VS.85).aspx (http://msdn2.microsoft.com/en-us/library/aa392389(VS.85).aspx)
For more information about errors that you may encounter when you install Windows Vista Service Pack 1, click the following article numbers to view the articles in the Microsoft Knowledge Base:
947366 (http://kbalertz.com/Feedback.aspx?kbNumber=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"
952577 (http://kbalertz.com/Feedback.aspx?kbNumber=952577/) Error message when you try to install updates in Windows Vista, and the installation may fail: "WBEM_E_CRITICAL_ERROR (0x8004100A)"

Back to the top


APPLIES TO
•Windows Vista Enterprise 64-bit Edition
•Windows Vista Home Basic 64-bit Edition
•Windows Vista Home Premium 64-bit Edition
•Windows Vista Ultimate 64-bit Edition
•Windows Vista Business
•Windows Vista Business 64-bit Edition
•Windows Vista Enterprise
•Windows Vista Home Basic
•Windows Vista Home Premium
•Windows Vista Starter
•Windows Vista Ultimate

Back to the top

Keywords: 
kbtshoot kberrmsg kbexpertisebeginner kbprb KB951386

Back to the top

   

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please