Symbolic Name |
Value |
Description
|
OS_WINDOWS |
0 |
The operating system architecture is based on Microsoft's DOS/Windows 95
system architecture. These operating systems are commonly referred to as
Windows 9x.
|
OS_NT |
1 |
The operating system architecture is based on Microsoft's New Technology (NT)
system architecture.
|
OS_WIN95ORGREATER |
2 |
The operating system is based on the DOS/Windows 95 system archicture
and is Windows 95 or a version that superseded it in the Windows 9x product line
(i.e. Windows 95 OSR2, 98, 98 Second Edition (SE), Millenium Edition (ME)).
|
OS_NT4ORGREATER |
3 |
The operating system is Windows NT 4.0 or a later NT version
(e.g. Windows 2000, Windows XP).
|
OS_WIN2000ORGREATER_ALT |
4 |
Obsolete value and symbolic name that were replaced by
OS_WIN2000ORGREATER. However, the value seems to be supported up to and
including, at least, Windows Vista (with SP1 & IE 8).
|
OS_WIN98ORGREATER |
5 |
The operating system is based on the DOS/Windows 95 system archicture
and is Windows 98 or a version that superseded it in the Windows 9x product line
(i.e. Windows 98 Second Edition (SE), Windows Millenium Editon (ME)).
|
OS_WIN98_GOLD |
6 |
The operating system is based on the DOS/Windows 95 system archicture
and is Windows 98 (i.e. version 4.10 build 1998).
Windows 98 SE (i.e. version 4.10 build 2222) is not considered Windows 98 in this context
(i.e. FALSE is returned when querying this value under 98 SE).
|
OS_WIN2000ORGREATER |
7 |
The operating system is Windows 2000 (i.e. NT 5.0) or a later NT version.
|
OS_WIN2000PRO |
8 |
The operating system is the Professional Edition of the Windows 2000
(i.e. NT 5.0) or XP, (i.e. NT 5.1) workstation version.
FALSE appears to be returned under the Professional editions of
successor versions (e.g. Vista).
|
OS_WIN2000SERVER |
9 |
The operating system is the Server Standard Edtion of Windows 2000 (i.e. NT 5.0)
or Windows 2003 (i.e. NT 5.1).
Although the Microsoft doc. on this value suggests that TRUE is only returned
under server systems without license restrictions
(e.g. the already mentioned), it is also returned under
Windows 2003 Home/Small Business Server (with SP 1, but without upgrages).
|
OS_WIN2000ADVSERVER |
10 |
The operating system is the Advanced Server Edtion of Windows 2000 (i.e. NT 5.0)
or the Enterprise Edition of Windows Server 2003 (i.e. NT 5.1).
Although not explicitly stated by the Microsoft documentation, TRUE is presumably also
returned under versions that supersede these two versions.
|
OS_WIN2000DATACENTER |
11 |
The operating system is the Datacenter Server Edtion of Windows 2000 (i.e. NT 5.0)
or 2003 (i.e. NT 5.1).
Although not explicitly stated by the Microsoft documentation, TRUE is presumably also
returned for versions that supersede these two versions.
|
OS_WIN2000TERMINAL |
12 |
The operating system is a Windows 2000, server (as opposed to a workstation) edition,
or a later server version, and the calling application is being executed as a
terminal client (e.g. on a remote desktop).
|
OS_EMBEDDED |
13 |
The operating system is the Embedded edition of Windows XP or a successor version thereof.
|
OS_TERMINALCLIENT |
14 |
The application is being executed as a terminal client (e.g. on a remote desktop).
|
OS_TERMINALREMOTEADMIN |
15 |
Appears to be returned when a user with administrator privileges
is logged on to a server via remote desktop.
Might also be returned while logged on to a workstation via a remote desktop.
|
OS_WIN95_GOLD |
16 |
The operating system is based on the DOS/Windows 95 system archicture
and is Windows 95.
It remains to be clarified if Windows 95 OSR2 () is considered
Windows 95 in this context.
|
OS_MEORGREATER |
17 |
The operating system is based on the DOS/Windows 95 system archicture
and is the version 4.90 of this product line (i.e. Windows Millenium Edition (ME)).
|
OS_XPORGREATER |
18 |
The operating system is Windows NT 5.1 (aka Windows XP) or a later NT version.
Appears to be returned for both workstation AND server versions.
|
OS_HOME |
19 |
The operating system is the Home Edition of this particular Windows, version.
Does not appear to be returned for server versions (i.e. appears to be restricted to workstation versions)
|
OS_PROFESSIONAL |
20 |
The operating system is the Professional Edition of this particular Windows version.
|
OS_DATACENTER |
21 |
The operating system is the Datacenter Edition of this particular Windows version.
|
OS_ADVSERVER |
22 |
The operating system is the Advanced Server Edition of this particular Windows version.
|
OS_SERVER |
23 |
The operating system is a Standard edition of a Windows server version.
TRUE is preumably only returned on Windows server systems without
restrictions on the number of client systems.
|
OS_TERMINALSERVER |
24 |
The operating system is a Windows 2000 Terminal Server edition,
running in Application Server mode, Windows Server 2003 or a successer thereof,
running in Terminal Server mode.
|
OS_PERSONALTERMINALSERVER |
25 |
The operating system is the Home or Professional edition of this Windows (wrokstation) version.
|
OS_FASTUSERSWITCHING |
26 |
The operating system supports fast user switching.
|
OS_WELCOMELOGONUI |
27 |
The operating system supports a full screen, logon, user interface.
Does not return TRUE under Vista with SP 1 & IE 8.
|
OS_DOMAINMEMBER |
28 |
The computer is a member of a Windows Network domain.
|
OS_ANYSERVER |
29 |
The operating system is a Windows server, as opposed to a workstation, version.
|
OS_WOW6432 |
30 |
The system supports 64 to 32 bit thunking. In other words; support for the
execution of 32-bit, binary code on 64-bit hardware/operating systems.
|
OS_WEBSERVER |
31 |
The operating system is the Web Edition of Windows 2003 Server or
a successor version.
Whether or not a web server is installed and/or active on the
system does not seem have any influence on the result.
|
OS_SMALLBUSINESSSERVER |
32 |
The operating system is a Small Business Server edition
with license restrictions on the number of client systems.
Appears to be TRUE for all systems with license restrictions
(e.g. also returns TRUE on Homes Server editions).
|
OS_TABLETPC |
33 |
The operating system is an edition for tablet PCs.
|
OS_SERVERADMINUI |
34 |
The application is running under a server administration user interface.
|
OS_MEDIACENTER |
35 |
The operating system is a Windows Media Center edition.
|
OS_APPLIANCE |
36 |
The operating system is a Windows Appliance Server edition.
|