There is a similar question here with an Accepted Answer. I hope it helps:
windows-version.html
How to using bginfo to show Windows 10/11 version
HI All
I use the bginfo to show the some informaiton to let OP/admin could easy get information when they help user troubleshooting.
But I find the item list that bginfo provide does not provide version (for example 1908/2004/21H2 or 22h2).
Do I use incorrect item or bginfo indeed does not provide this information?
If bginfo indeed not provide inforamtion...How coud I provide suggestion to developer ?
Thanks!!
Wencheng
4 answers
Sort by: Most helpful
-
Wayne V. Elliott 1 Reputation point
2022-09-28T04:43:56.173+00:00 -
Darrell Gorter 1,296 Reputation points
2022-09-28T14:59:44+00:00 Hello,
You may want to try systeminfo which ships as part of Windows.Darrell
-
HugeZhong 106 Reputation points
2022-09-28T15:07:34.49+00:00 You can read version info from registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion. There is a value named "DisplayVersion",that is what you want.
-
EddyBH 0 Reputation points
2023-08-14T21:29:03.3033333+00:00 Not sure if you got an answer but this is what I did. Go to Custom>New>Registry Value and paste HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersion