Windows Server 2016 is shown as Windows 10

delphi package - madRes, madTools, madStrings, ...

Windows Server 2016 is shown as Windows 10

Postby DanielT » Wed May 17, 2017 9:12 am

Hi,

TOsEnum and COsDescr do not contain information for Windows Server 2016 yet and report such a system as Windows 10.

The TOsVersionInfoExW.wProductType field is set to 3 (VER_NT_SERVER) and should provide the required indicator. (This was also used to patch TOSVersion with 10.2 Tokyo.)
Additional information about the server type (e.g. Server Core) may be available via the registry: Software\Microsoft\Windows NT\CurrentVersion\InstallationType

It would be nice if you could update this field with the next version.

Thanks,
Daniel
DanielT
 
Posts: 1
Joined: Wed May 17, 2017 8:39 am

Re: Windows Server 2016 is shown as Windows 10

Postby madshi » Wed Jun 14, 2017 8:36 am

Thanks for letting me know, I'll have this fixed in the next build.
madshi
Site Admin
 
Posts: 9473
Joined: Sun Mar 21, 2004 5:25 pm


Return to madBasic

Who is online

Users browsing this forum: No registered users and 2 guests