Operating System Information (Windows) - superseded
1 Votes |
Versioning - This is an older version.
1 | Operating System Information (Windows) | 1/22/2014 1:30:18 PM |
2 | Operating System Information (Windows) - Expanded | 1/28/2014 10:38:19 AM |
3 | Operating System Information (Windows) - Expanded | 5/13/2015 7:58:32 AM |
Description
This analysis contains information about the Microsoft Windows operating system on BES Client computers.
Since this information does not change much and its evaluation can be resource intensive, these properties are only evaluated once per day. After activating this analysis, you will see the following properties:
Note: Many of these properties access the Windows Management Interface (WMI) to obtain the hardware properties. The WMI is not usually available on Win9x and WinNT computers so some properties may report back "N/A" on those operating systems. Note: Some computers may have broken WMI libraries. Inconsistent results and undesired side effects may occur when the BES Client evaluates a WMI query. If you have known problems with WMI in your environment, do not activate this analysis. |
Property Details
2994625 | |
Alpha - Code that was just developed | |
Operating System Information (Windows) | |
BESC | |
jgstew on 1/22/2014 1:30:18 PM | |
jgstew on 1/22/2014 1:30:18 PM | |
9450 Views / 8 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Properties
Full Operating System Name and Service Pack Level - Windows
Period
1 day
* Results in a true/false |

if (exists wmi AND (not (name of operating system = "WinME" ))) then (string value of selects "caption from win32_operatingsystem" of wmi & " " & csd version of operating system) else ( "Windows " & (following text of first "Win" of (name of operating system as string)) & (if (name of operating system = "WinNT" ) then ((if (exists key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions" whose (exists value "ProductType" of it AND (value "ProductType" of it as string as lowercase = "servernt" OR value "ProductType" of it as string as lowercase = "lanmannt" )) of registry) then (if (exists key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions" whose (exists value "ProductSuite" of it AND value "ProductSuite" of it as string as lowercase contains "terminal" ) of registry) then " Terminal Server" else " Server" ) else " Workstation" ) & " " & csd version of operating system) else (if (name of operating system = "Win98" ) then (if (csd version of operating system as string contains "A" ) then " Second Edition" else "" ) else (if (name of operating system = "Win95" ) then (if (csd version of operating system as string contains "C" OR csd version of operating system as string contains "B" ) then " OSR2" else "" ) else " " & csd version of operating system ))))
OS Architecture - Windows
Period
1 day
* Results in a true/false |

if (x64 of operating system) then "64-bit" else "32-bit"
OS Version Number - Windows
Period
1 day
* Results in a true/false |

(major version of it as string & "." & minor version of it as string & "." & (build number high of it + build number low of it) as string ) of operating system
OS Type - Windows
Period
1 day
* Results in a true/false |

if (name of operating system as lowercase starts with "win") then (if (name of operating system = "Win95" OR name of operating system = "Win98" or name of operating system = "WinME") then "Workstation" else (if (value "ProductType" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions" of registry = "WinNT") then "Workstation" else "Server")) else "Unknown - " & name of operating system
OS Product ID - Windows
Period
1 day
* Results in a true/false |

(if (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion" whose (exists value "ProductId" of it) of native registry AND NOT (name of operating system = "WinNT")) then (value "ProductId" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion" of native registry as string) else (if (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" whose (exists value "ProductId" of it) of native registry) then (value "ProductId" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry as string) else "Unknown"))
OS Product Key - Windows
Period
1 day
* Results in a true/false |

if (name of operating system = "Win95" AND exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion" whose (exists value "ProductId" of it) of registry) then (value "ProductId" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion" of registry as string) else (if ((name of operating system = "Win98" OR name of operating system = "WinME") AND exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion" whose (exists value "ProductKey" of it) of registry) then (value "ProductKey" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion" of registry as string) else ("Unknown"))
OS Installation Date - Windows
Period
1 day
* Results in a true/false |

if (exists wmi AND exists selects "InstallDate from win32_operatingsystem" of wmi AND not ((string value of selects "InstallDate from win32_operatingsystem" of wmi) = "")) then ((first 4 of (first 8 of string value of (selects "InstallDate from Win32_OperatingSystem" of wmi))) & "-" & (first 2 of (last 4 of (first 8 of string value of (selects "InstallDate from Win32_OperatingSystem" of wmi)))) & "-" & (last 2 of (first 8 of string value of (selects "InstallDate from Win32_OperatingSystem" of wmi)))) else ("N/A")
Uptime - Windows
Period
1 hour
* Results in a true/false |

(if it = 1 then it as string & " day" else it as string & " days") of ((uptime of operating system) / day)
OS Language - Windows
Period
2 days
* Results in a true/false |

language of version block of file "kernel32.dll" of system folder & (if (exists key "HKLM\System\CurrentControlSet\Control\Nls\MUILanguages" of registry AND exists value of key "HKLM\System\CurrentControlSet\Control\Nls\MUILanguages" of registry) then " | MUI Installed" else "")
Relevance

name of operating system as lowercase starts with "win"
Used in 9 analyses | * Results in a true/false |

(if (name of operating system starts with "Win") then platform id of operating system != 3 else true) AND (if exists property "in proxy agent context" then (not in proxy agent context) else true) AND (if exists property "android" of type "operating system" then (not android of operating system) else true)
Sharing
Social Media: |
Comments
![]() |
|
Yes, this is originally from IBM, but with "OS Architecture - Windows" added. |
![]() |
|
I guess this is originally by IBM, but I think it has been modified. I need to double check that. |
![]() |
|
This original version of this analysis was not written by me, just shared by me. |