BGInfo not recognising AMD CPU

Fernando VINAN-CANO 1 Reputation point
2021-01-14T08:06:04.773+00:00

When I use BGInfo v4.28 to display the CPU on my Windows Server 2019 Hyper-V VM, it shows as "Unknown Family" but is showing correctly in system information:

56512-image.png

Can this be added in a future release? It's been like this since way before v4.28 and the processor family isn't exactly new.

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,100 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. mariora 376 Reputation points
    2021-01-15T22:18:52.05+00:00

    You can still use WMI to get those info, write them to a text file and load that inside BGINFO

    Computer: HYPERV01

    Caption: Intel64 Family 6 Model 62 Stepping 4
    Name: Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
    NumberOfCores: 4
    ThreadCount: 8

    Script:
    On Error Resume Next

    Const wbemFlagReturnImmediately = &h10
    Const wbemFlagForwardOnly = &h20

    arrComputers = Array("HYPERV01")
    For Each strComputer In arrComputers
    WScript.Echo
    WScript.Echo "=========================================="
    WScript.Echo "Computer: " & strComputer
    WScript.Echo "=========================================="

    Set objWMIService = GetObject("winmgmts:\" & strComputer & "\root\CIMV2")
    Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Processor", "WQL", _
    wbemFlagReturnImmediately + wbemFlagForwardOnly)

    For Each objItem In colItems

      WScript.Echo "Caption: " & objItem.Caption
      WScript.Echo "Name: " & objItem.Name
      WScript.Echo "NumberOfCores: " & objItem.NumberOfCores
      WScript.Echo "ThreadCount: " & objItem.ThreadCount
      WScript.Echo
    

    Next
    Next

    HTH
    -mario

    1 person found this answer helpful.