WMI report inconsistent


  1. Posts : 17
    Windows 10 (1511)
       #1

    WMI report inconsistent


    [running Windows 10 Creators]

    Hi,

    While investigating the "Error while updating ESET NOD32 Antivirus status to SECURITY_PRODUCT_STATE_ON." problem, I discovered something rather strange...

    If I go to Security and Maintenance, the system reports that ESET NOD32 is turned on. However, if I use WMIC to list the installed security products this way :

    wmic /namespace:\\root\SecurityCenter2 path AntiVirusProduct get * /value

    the result is : No Instance(s) available.

    This is inconsistent. Or Windows doesn't use WMI in the Security Center to retrieve the installed antivirus apps. Did I miss something ?
      My Computer


  2. Posts : 1,255
    Windows 10 Pro
       #2

    I don't know how this relates to your situation but I doubt the Security Center uses WMI. WMI is primarily designed for obtaining information on remote computers and for use by scripting languages such as those running under cmd.exe or powershell. Applications and Windows components generally use more efficient methods. I doubt the actual method used is publicly documented. The information may be coming from a different source than WMI uses.
      My Computer


  3. Posts : 17
    Windows 10 (1511)
    Thread Starter
       #3

    Thanks Lmiller,

    So I should probably start a specific thread about the error message mentioned above.
      My Computer


  4. Posts : 226
    Many
       #4

    When a security suite properly registers with WSC (Windows Security Center) it should have an entry in WMI. Here is the powershell version which should work
    Get-WmiObject -Namespace root\SecurityCenter2 -Query 'select * from AntivirusProduct'
      My Computer


  5. Posts : 17
    Windows 10 (1511)
    Thread Starter
       #5

    Thanks NeemoBeer,

    The problem is now fixed as mentioned in this thread. The Security Center log on was not set to System. Now WMI has the expected entries.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:13.
Find Us




Windows 10 Forums