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:
(https://support.microsoft.com/kb/256986/EN-US/ )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:
This error message means that the namespace specified cannot be located.
Error: Invalid namespace
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:
HKEY_LOCAL_MACHINE\Software\Microsoft\Wbem\ScriptingThe default namespace value should have the value data of root\cimv2.
Article ID: 281888 - Last Review: January 15, 2006 - Revision: 1.2