Windows Server 2016 is shown as Windows 10

delphi package - madRes, madTools, madStrings, ...
Post Reply
DanielT
Posts: 9
Joined: Wed May 17, 2017 8:39 am

Windows Server 2016 is shown as Windows 10

Post by DanielT »

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
madshi
Site Admin
Posts: 10338
Joined: Sun Mar 21, 2004 5:25 pm

Re: Windows Server 2016 is shown as Windows 10

Post by madshi »

Thanks for letting me know, I'll have this fixed in the next build.
Post Reply