Error Message " 0x8004100E" When You Run a Windows Management Instrumentation Script

Article translations Article translations
Article ID: 281888 - View products that this article applies to.
This article was previously published under Q281888

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
Expand all | Collapse all


When you run a Windows Management Instrumentation script, or you query the namespace, you may receive the following error message:
Error: Invalid namespace
Code: 8004100E
Source: SWbemLocator
This error message means that the namespace specified cannot be located.


WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this behavior, check the following registry key:
The default namespace value should have the value data of root\cimv2.


Article ID: 281888 - Last Review: January 15, 2006 - Revision: 1.2
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
kberrmsg kbprb KB281888

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from