Hi, Can someone help me out here? There is a solution can detect windows server 2003 R2 with WMI. We can determine the OSversion 'WIN_2003' with macro @OSVersion. Then, Get OtherTypeDescription through WMI. Func _GetOSVersion()
Local $objWMIService = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Local $colSettings = $objWMIService.ExecQuery("Select * from Win32_OperatingSystem")
For $objOperatingSystem In $colSettings
Return $objOperatingSystem.OtherTypeDescription
Next
EndFunc ;==>_getOSVersion
MsgBox(0,0, _GetOSVersion()) Is there any other approach to Detect windows server 2003 R2? such as registry etc. Any suggestions appreciated, Jerry