Avatar of phermi
phermi
 asked on

WMI Errors including 0x80004002 - No such interface supported

Hello,

Must confress knowing ZERO about WMI. The only reason why I know how to spell it is because I am trying to get SpiceWorks working an W7 Pro SP1 PCs in a domain but I am getting errors. While troubleshoting the error, I am told to run WMIDIAG.VBS and attached are the log files.

If anyone has a clue what is wrong with WMI, I will be very happy to hear it.

Thanks in advance.

PS: Other XP PCs are just fine.
WMDiag1.txt
WMDiag2.txt
Windows 7Network Management

Avatar of undefined
Last Comment
Rob Miners

8/22/2022 - Mon
SOLUTION
Nagendra Pratap Singh

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
phermi

ASKER
well, if I try the /salvagerepositoy switch I get
WMI repository verification failed
Error code:     0x80004002
Facility:       <Null>
Description:    No such interface supported

Take a look at the attachment as itmay provide a clue to you (not to me)
Capture.JPG
Rob Miners

Extract from your WMDiag.txt

.2048 23:53:21 (0) ** => To correct this situation, you must re-register the original COM/DCOM DLLs with REGSVR32.EXE
.2049 23:53:21 (0) **    i.e. 'REGSVR32.EXE OLE32.DLL'
.2050 23:53:21 (0) **    i.e. 'REGSVR32.EXE OLEAUT32.DLL'

See if it fixes the problem for you. Run from an elevated prompt.

How to use the Regsvr32 tool and troubleshoot Regsvr32 error messages

http://support.microsoft.com/kb/249873#method1
phermi

ASKER
Did it many times before. Will try it again and post results
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Rob Miners

Use regedt32 to check that these keys are present

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}\InprocServer32]
@="C:\\Windows\\system32\\oleaut32.dll"
"ThreadingModel"="Both"


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00000300-0000-0000-C000-000000000046}\InprocServer32]
@="ole32.dll"


and then  re-registering these dll's
phermi

ASKER
They are like this:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}]
@="PSOAInterface"

[HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}\InprocServer]
@="ole2disp.dll"

[HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}\InprocServer32]
@="C:\\Windows\\system32\\oleaut32.dll"
"ThreadingModel"="Both"

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00000300-0000-0000-C000-000000000046}]
@="StdOleLink"

[HKEY_CLASSES_ROOT\CLSID\{00000300-0000-0000-C000-000000000046}\InprocServer32]
@="ole32.dll"
ASKER CERTIFIED SOLUTION
Rob Miners

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
phermi

ASKER
I am confused. You want me to re-build the WMI Repository by following the instruction you provided above AND rebuild the COM+ catalog too?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Rob Miners

Sorry I thought that you was getting an error re-registering the .dll's. If not disregard that post.

You can open wmimgmt.msc without getting errors so it seems as if it's ok.
I have the same views as you have.

It may be due to insufficent permissions in the registration folder, check the permissions:

Navigate to C:\Windows\registration and right click, select Properites and check Security tab.
They should look like this

everyone: Read
system: Full
administrators: Full

If not use the following commands:

echo y| cacls %windir%\registration /G everyone:R system:F administrators:F
echo y| cacls %windir%\registration\*.clb /G everyone:R system:F administrators:F
phermi

ASKER
Well, if your wmimgmt.msc  looks like mine, you are as sc..... as I am.

If you look at the attached image, the error I have EVERYWHERE is present right there on the General TAB: NO SUCH INTERFACE SUPPORTED. So WMI is as damaged as it can be.

Now, the security for the registration folder was not as you stated, so I ix it. However, it does nto change a thing.

So, should I rebuild the WMI repository?
phermi

ASKER
There are two parts I would like to review with you from the WMIDIAG.vbs:


1 - Errors 0x80004002 as shown below. Seems like the namespace "structure" is damaged under Root:
.1699 23:01:36 (0) ** Verifying WMI providers loaded BEFORE WMIDiag execution.
.1700 23:01:36 (1) !! ERROR: (CheckWMIStaticData) : 0x80004002 - No such interface supported
.1701 23:01:36 (0) ** Verifying WMI namespace 'Root' (L=1).
.1702 23:01:36 (1) !! ERROR: (CheckWMIStaticData) : 0x1AE - Class doesn't support Automation
.1703 23:01:36 (1) !! ERROR: (CheckWMIStaticData) : 0x80004002 - No such interface supported
.1704 23:01:36 (0) ** Verifying WMI features.
.1705 23:01:36 (3)    Opening WMI namespace 'Root'.
.1706 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1707 23:01:36 (3)    Opening WMI namespace 'Root/subscription'.
.1708 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1709 23:01:36 (3)    Opening WMI namespace 'Root/DEFAULT'.
.1710 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1711 23:01:36 (3)    Opening WMI namespace 'Root/MicrosoftDfs'.
.1712 23:01:36 (2) !! WARNING: WMI namespace 'Root/MicrosoftDfs' not found, but it is not required to be present. Skipping.
.1713 23:01:36 (3)    Opening WMI namespace 'Root/CIMV2'.
.1714 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1715 23:01:36 (3)    Opening WMI namespace 'Root/CIMV2/Security'.
.1716 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1717 23:01:36 (3)    Opening WMI namespace 'Root/CIMV2/TerminalServices'.
.1718 23:01:36 (2) !! WARNING: WMI namespace 'Root/CIMV2/TerminalServices' not found, but it is not required to be present. Skipping.
.1719 23:01:36 (3)    Opening WMI namespace 'Root/CIMV2/Applications'.
.1720 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1721 23:01:36 (3)    Opening WMI namespace 'Root/CIMV2/Security/MicrosoftTpm'.
.1722 23:01:36 (2) !! WARNING: WMI namespace 'Root/CIMV2/Security/MicrosoftTpm' not found, but it is not required to be present. Skipping.
.1723 23:01:36 (3)    Opening WMI namespace 'Root/CIMV2/Applications/WindowsParentalControls'.
.1724 23:01:36 (2) !! WARNING: WMI namespace 'Root/CIMV2/Applications/WindowsParentalControls' not found, but it is not required to be present. Skipping.
.1725 23:01:36 (3)    Opening WMI namespace 'Root/CIMV2/Applications/Games'.
.1726 23:01:36 (2) !! WARNING: WMI namespace 'Root/CIMV2/Applications/Games' not found, but it is not required to be present. Skipping.
.1727 23:01:36 (3)    Opening WMI namespace 'Root/Cli'.
.1728 23:01:36 (2) !! WARNING: WMI namespace 'Root/Cli' not found, but it is not required to be present. Skipping.
.1729 23:01:36 (3)    Opening WMI namespace 'Root/nap'.
.1730 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1731 23:01:36 (3)    Opening WMI namespace 'Root/SECURITY'.
.1732 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1733 23:01:36 (3)    Opening WMI namespace 'Root/snmp'.
.1734 23:01:36 (2) !! WARNING: WMI namespace 'Root/snmp' not found, but it is not required to be present. Skipping.
.1735 23:01:36 (3)    Opening WMI namespace 'Root/snmp/localhost'.
.1736 23:01:36 (2) !! WARNING: WMI namespace 'Root/snmp/localhost' not found, but it is not required to be present. Skipping.
.1737 23:01:36 (3)    Opening WMI namespace 'Root/RSOP'.
.1738 23:01:36 (2) !! WARNING: WMI namespace 'Root/RSOP' not found, but it is not required to be present. Skipping.
.1739 23:01:36 (3)    Opening WMI namespace 'Root/RSOP/User'.
.1740 23:01:36 (2) !! WARNING: WMI namespace 'Root/RSOP/User' not found, but it is not required to be present. Skipping.
.1741 23:01:36 (3)    Opening WMI namespace 'Root/RSOP/Computer'.
.1742 23:01:36 (2) !! WARNING: WMI namespace 'Root/RSOP/Computer' not found, but it is not required to be present. Skipping.
.1743 23:01:36 (3)    Opening WMI namespace 'Root/WMI'.
.1744 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1745 23:01:36 (3)    Opening WMI namespace 'Root/directory'.
.1746 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1747 23:01:36 (3)    Opening WMI namespace 'Root/directory/LDAP'.
.1748 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1749 23:01:36 (3)    Opening WMI namespace 'Root/Policy'.
.1750 23:01:36 (2) !! WARNING: WMI namespace 'Root/Policy' not found, but it is not required to be present. Skipping.
.1751 23:01:36 (3)    Opening WMI namespace 'Root/SecurityCenter'.
.1752 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1753 23:01:36 (3)    Opening WMI namespace 'Root/Microsoft'.
.1754 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1755 23:01:36 (3)    Opening WMI namespace 'Root/Microsoft/HomeNet'.
.1756 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1757 23:01:36 (3)    Opening WMI namespace 'Root/aspnet'.
.1758 23:01:36 (1) !! ERROR: (CheckWMIFeatures) : 0x80004002 - No such interface supported
.1759 23:01:36 (0) ** Collecting system information.
.1760 23:01:36 (1) !! ERROR: (CheckWMIInventory) : 0x80004002 - No such interface supported
.1761 23:01:36 (0) ** Verifying WMI providers loaded AFTER WMIDiag execution.
.1762 23:01:36 (1) !! ERROR: (CheckWMIStaticData) : 0x80004002 - No such interface supported
--------------------------------------
.1849 23:01:36 (1) !! ERROR: WMI CONNECTION errors occured for the following namespaces: .................................................. 16 ERROR(S)!
.1850 23:01:36 (0) ** - Root, 0x80004002 - No such interface supported.
.1851 23:01:36 (0) ** - Root, 0x80004002 - No such interface supported.
.1852 23:01:36 (0) ** - Root/subscription, 0x80004002 - No such interface supported.
.1853 23:01:36 (0) ** - Root/DEFAULT, 0x80004002 - No such interface supported.
.1854 23:01:36 (0) ** - Root/CIMV2, 0x80004002 - No such interface supported.
.1855 23:01:36 (0) ** - Root/CIMV2/Security, 0x80004002 - No such interface supported.
.1856 23:01:36 (0) ** - Root/CIMV2/Applications, 0x80004002 - No such interface supported.
.1857 23:01:36 (0) ** - Root/nap, 0x80004002 - No such interface supported.
.1858 23:01:36 (0) ** - Root/SECURITY, 0x80004002 - No such interface supported.
.1859 23:01:36 (0) ** - Root/WMI, 0x80004002 - No such interface supported.
.1860 23:01:36 (0) ** - Root/directory, 0x80004002 - No such interface supported.
.1861 23:01:36 (0) ** - Root/directory/LDAP, 0x80004002 - No such interface supported.
.1862 23:01:36 (0) ** - Root/SecurityCenter, 0x80004002 - No such interface supported.
.1863 23:01:36 (0) ** - Root/Microsoft, 0x80004002 - No such interface supported.
.1864 23:01:36 (0) ** - Root/Microsoft/HomeNet, 0x80004002 - No such interface supported.
.1865 23:01:36 (0) ** - Root/aspnet, 0x80004002 - No such interface supported.

and

2 - The following statement in the logs that contradicts the WMI ERRORS describing it as DCOM. The re-registration has been made and nothing changes
.1883 23:01:36 (0) ** 16 error(s) 0x80004002 - (WBEM_UNKNOWN) This error code is external to WMI.
.1884 23:01:36 (0) ** => This error is not a WMI error. It is a DCOM error due to the following reasons:
.1885 23:01:36 (0) **    - An application has changed the COM/DCOM settings of OLE32.DLL and/or OLEAUT32.DLL.
.1886 23:01:36 (0) **    - The registry settings of COM/DCOM has been damage or wrongly modified.
.1887 23:01:36 (0) ** => To correct this situation, you must re-register the original COM/DCOM DLLs with REGSVR32.EXE
.1888 23:01:36 (0) **    i.e. 'REGSVR32.EXE OLE32.DLL'
.1889 23:01:36 (0) **    i.e. 'REGSVR32.EXE OLEAUT32.DLL'.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Rob Miners

Yes rebuild the WMI repository and check all of the references that were provided by: npsingh123
phermi

ASKER
Well, the first step which is the re-registration and re-compilation, produces a whole bunch of error (guess .... 0x80004002) liks this

Compiler returned error 0x80004002
C:\Windows\System32\wbem>mofcomp C:\Windows\System32\wbem\en-US\subscrpt.mfl
Microsoft (R) MOF Compiler Version 6.1.7600.16385
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: C:\Windows\System32\wbem\en-US\subscrpt.mfl
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while opening the namespace for object 1 defined on lines 6 -
9:
Error Number: 0x80004002, Facility: <Null>
Description: No such interface supported
Compiler returned error 0x80004002
phermi

ASKER
Even the verification does the same

C:\Install\WMIDiag>winmgmt /verifyrepository
WMI repository verification failed
Error code:     0x80004002
Facility:       <Null>
Description:    No such interface supported
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Rob Miners

I'm running out of suggestions so see how you go with this.

SpiceWorks 0x80004002

http://community.spiceworks.com/topic/24607-unknown-scan-error-never-seen-before
phermi

ASKER
rrjmin0,

Thanks for your continuous support. The OS will be re-installed as everything we try fails.
Rob Miners

Your welcome :)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck