msurenda
Pilgrim

Differentiate Winserver2012 and Win 8.1

I am trying to identify whether OS is , Windows 8.1 or Windows server 2012 R2.

SYSINFO.WINNT.bWin81 returns TRUE for both the OS, how do we identify?
Appreciate any responses...

THanks.
Labels (1)
0 Kudos
2 Replies
DLee65
Pilgrim

You want to also look for SYSINFO.nOSProductType and verify if it is VER_NT_WORKSTATION. If it is then it is Windows 8.1. If it is any other value it is Windows Server 20102.
0 Kudos
msurenda
Pilgrim

That worked...Thanku DLee
0 Kudos