BgInfo 4.28 doesn't recognize Server 2022

Sebastiaan Thoen 31 Reputation points
2021-09-01T22:22:44.847+00:00

I have a new deployed Server 2022 - OS Build 20348.169 - it is reported as Server 2016 in BGInfo when I use OS Version variable.

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

Accepted answer
  1. Sassan Karai 81 Reputation points
    2021-10-06T03:09:27.047+00:00

    For the time being I am using a custom WMI query
    WMI Class: Win32_OperatingSystem
    Class Property: Caption
    WMI Query: SELECT Caption FROM Win32_OperatingSystem

    which evaluates to e.g.

    Microsoft Windows Server 2022 Datacenter

    Best regards

    Sassan Karai

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Leon Laude 85,726 Reputation points
    2021-09-02T06:10:25.59+00:00

    Hi @Sebastiaan Thoen ,

    This could have something to do with the registry keys being different in newer Windows operating systems, have a look at this other thread:
    https://learn.microsoft.com/en-us/answers/questions/470070/windows-version.html

    However I can confirm that the DisplayVersion registry key is shown as 21H2, which means that BGInfo does the correct job fetching the version, it's just that the version is written not as "Windows Server 2022".

    If you also run the command winver in a Command Prompt you will see that the version is 21H2:

    128557-winver.png

    ----------

    If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!

    Best regards,
    Leon


  2. Evandro Boa Semedo 366 Reputation points
    2023-03-28T18:10:47.2866667+00:00
    0 comments No comments