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

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article was previously published under Q281888
This article has been archived. It is offered "as is" and will no longer be updated.

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
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: 12/05/2015 23:11:58 - Revision: 1.2

Microsoft Windows XP Professional, Microsoft Windows XP Home Edition

  • kbnosurvey kbarchive kberrmsg kbprb KB281888