Help Center

Follow

COMException

Purpose:
You receive a COMException error or another error indicating an unknown error happened within Windows.

Resolution:
In the More Info window, expand the Details section. If the PDQ Inventory scanner that failed was Windows Features please verify that the Windows Modules Installer service (TrustedInstaller) on the target computer is not disabled. If it is disabled, please re-enable it (it can be set to Manual) and retry the scan.

If this does not resolve the issue, the cause of the error will depend on its error message and where the error occurred (check Event Viewer for additional information regarding the error). This is often a problem with some corruption in the WMI Repository.

To repair the WMI Repository, run the following command from an administrative/elevated command prompt on the target machine. While the command may return fairly quickly, the actual rebuild process can take around 30 minutes. Please wait 30 minutes and then rescan the target machine.

winmgmt /salvagerepository

If you continue to experience the same error or a different WMI error, please see the WMI Diagnostics article for additional troubleshooting and recommended fixes.

 

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

2 Comments

  • 0

    The instructions did not say whether to run it on the host or the target machine.  I ran it on the target (Win 7 32 bit) an it ran, but didn't clear the "More Info" message.  On the host (Win 7 64 bit) I got a "winmgmt not found" error message.

  • 0

    Hi Tuley. Repairing or rebuilding the WMI Respository will not clear the More Info message. That will be cleared after a successful scan is performed. Give the rebuild about 20 - 30 minutes to complete before attempting a new scan.

    As far as your x64 system, make sure you run winmgmt from an elevated prompt. If you still can't find it, go to %WINDIR%\System32\wbem directory and see if it exists. If it doesn't exist then you are missing a system file. You may want to run

    SFC /SCANNOW

    from an elevated command prompt.

Article is closed for comments.