Whether or not the operating system is Windows XP Media Center Edition. Whether or not the operating system is Windows Storage Server 2003 R2 or Windows Storage Server 2003 is installed. If they are not installed, false is returned. If they are installed, the value true is returned. Whether or not Communication components are installed. If it is not installed, false is returned. If it is installed, the value true is returned. Whether or not Terminal Services is installed.
If it is installed with the restrictive client license in force, the value true is returned.
Whether or not Microsoft Small Business Server is installed with the restrictive client license in force. If it was never installed, false is returned. If it was installed at some point, the value true is returned. Whether or not Microsoft Small Business Server was once installed on the system, but may have been upgraded to another version of Windows. If Terminal Services is not installed, or supports more than one interactive session, false is returned. If only one interactive session is supported, the value true is returned. Whether or not Terminal Services is installed, but only one interactive session is supported. Whether or not Windows Vista Home Premium, Windows Vista Home Basic, or Windows XP Home Edition is installed. Whether or not Windows XP Embedded is installed. If none are installed, false is returned. If one of them is installed, the value true is returned. Whether or not Windows Server Enterprise, Windows Server 2003, Enterprise Edition, Windows Server 2008 Enterprise is installed. Whether or not Windows Server 2008 Datacenter Edition, or Windows Server 2003, Datacenter Edition is installed. Whether Windows Server 2003, Compute Cluster Edition is installed. If it is installed the value true is returned. Whether or not Windows Server 2003, Web Edition is installed. If they are installed the value true is returned. Whether or not Microsoft BackOffice components are installed. These values are defined as follows:ġ - The system is running Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows XP Home Edition. One of the numeric values "1", "2" or "3" will be returned.
For example, for Service Pack 3, the minor version number is 0. The minor version number of the latest Service Pack installed on the system. If no Service Pack has been installed, the value is zero. For example, for Service Pack 3, the major version number is 3. The major version number of the latest Service Pack installed on the system.
Note: If the target operating system is not one of the above mentioned client or server operating systems, -1 will be returned for keys of type number and false for keys of type boolean. Server: Requires Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, Windows Server "Longhorn", Windows Server 2003. The name of the most recently installed service pack for the OS, such as "Service Pack 3."Īdditional table values are available for the following client and server operating systems:Ĭlient: Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP. Returns "1" if the OS is non_NT based and "2" if the OS is NT based (Windows XP, Vista, Server "Longhorn," Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2).
If the version was, "2195" would be returned. If the version was, "0" would be returned. If the version was, "5" would be returned. (table) A table containing the OS version information indexed by version categories. Returns a table containing the version information of the operating system the user is running.