Search code examples
windowswmic

"wmic product get name" shows different result from control panel


When I execute wmic product get name from cmd, I got this

enter image description here

In control panel I got this

enter image description here

It's weird that Avast is missing from wmic command. Any ideas?


Solution

  • I've stucked with the same question a few years ago. At this time, I've found only workarounds, not a good solution. The reason often mentioned is the use of 32bit and 64bit. This couldn't confirmend at my systems.

    My used workaround was to read the following regkeys: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\

    Today I would try the powershell wmi.

    See also: WMI "installed" query different from add/remove programs list?