Menu
Hi I'm looking for a definitive (or near to anyway) list of values for Caption in the Win32OperatingSystem class for all the MS operating systems (NT, 2000, XP, Vista, etc.) Can anyone help? Nope and it's inadvisable, since it can change with service packs and localized builds etc. It's really only intended to be for display purposes and the. Microsoft has an MSDN site with many very useful examples of Visual Basic scripts to query just about anything on the remote computer through WMI. Tenable is actively developing.nbin plugins to perform a variety of audits using WMI. With the Nessus 3.2 BETA and the WMI.nlib library, anyone can quickly prototype queries and test them out.
CodeSet propertyCIMTYPE'string'Description'The CodeSet property indicates the code page value used by the operating system. A code page contains a character table used by the operating system to translate strings for different languages.
The American National Standards Institute (ANSI) lists values that represent defined code pages. If the operating system does not use an ANSI code page, this member will be set to 0. The CodeSet string can use up to six characters to define the code page value.Example: 1255.' CodeSet property and in. CSDVersion propertyCIMTYPE'string'Description'The CSDVersion property contains a null-terminated string, that indicates the latest Service Pack installed on the computer system. If no Service Pack is installed, the string is NULL. For computer systems running Windows 95, this property contains a null-terminated string that provides arbitrary additional information about the operating system.Example: Service Pack 3.'
![Win32_operatingsystem Retail Sample Win32_operatingsystem Retail Sample](/uploads/1/2/5/4/125483794/922449217.png)
CSDVersion property is in 1 class (Win32OperatingSystem) of ROOTCIMV2ms409 and in. DataExecutionPreventionAvailable propertyCIMTYPE'boolean'Description'If true, indicates that the hardware supports Windows Data Execution Prevention (DEP) technology. DEP ensures that all memory locations are marked with a non-executable attribute unless the memory location explicitly contains executable code. This can help mitigate certain types of buffer overrun security exploits.
If DEP is available, 64-bit applications are automatically protected. To determine if DEP has been enabled for 32-bit applications and drivers, use the DataExecutionPrevention properties 'DataExecutionPreventionAvailable property is in 1 class (Win32OperatingSystem) of ROOTCIMV2ms409 and in. DataExecutionPreventionSupportPolicy propertyCIMTYPE'uint8'Description'The DataExecutionPreventionSupportPolicy indicates which one of four Data Execution Prevention (DEP) settings is applied. Each setting varies by the extent to which DEP is applied to 32-bit applications.
Note that DEP is always applied to the Windows kernel. Always On (not available in the user interface) indicates that DEP is enabled for all 32-bit applications on the machine with no exceptions. OptOut indicates DEP is on by default for all 32-bit applications and that a user or administrator must explicitly remove support for a 32-bit application by adding to an exceptions list. OptIn indicates DEP is on for a limited number of binaries, the kernel, and all Windows services but it is off by default for all 32-bit applications; a user or administrator must explicitly choose the AlwaysOn (not available in the user interface) or OptOut setting before DEP can be applied to 32-bit applications. AlwaysOff (not available in the user interface) indicates DEP is turned off for all 32-bit applications on the machine.
'Values'Always Off', 'Always On', 'Opt In', 'Opt Out'DataExecutionPreventionSupportPolicy property is in 1 class (Win32OperatingSystem) of ROOTCIMV2ms409 and in. Debug propertyCIMTYPE'boolean'Description'The Debug property indicates whether the operating system is a checked (debug) build.
Checked builds provide error checking, argument verification, and system debugging code. Additional code in a checked binary generates a kernel debugger error message and breaks into the debugger. This helps immediately determine the cause and location of the error. Performance suffers in the checked build due to the additional code that is executed.Values: TRUE or FALSE, A value of TRUE indicates the debugging version of User.exe is installed.' Debug property is in 1 class (Win32OperatingSystem) of ROOTCIMV2ms409 and in. ForegroundApplicationBoost propertyCIMTYPE'uint8'Description'The ForegroundApplicationBoost property indicates the increase in priority given to the foreground application.
On computer systems running Windows NT 4.0 and Windows 2000, application boost is implemented by giving an application more execution time slices (quantum lengths). A ForegroundApplicationBoost value of 0 indicates the system boosts the quantum length by 6; if 1, then 12; and if 2 then 18. On Windows NT 3.51 and earlier, application boost is implemented by increasing the scheduling priority. For these systems, the scheduling priority is increased by the value of this property. The default value is 2.' Values'None', 'Minimum', 'Maximum'ForegroundApplicationBoost property is in 1 class (Win32OperatingSystem) of ROOTCIMV2ms409 and in. OperatingSystemSKU propertyCIMTYPE'uint32'Description'The OperatingSystemSKU property identifies the SKU of the operating system.'
SuiteMask propertyBitValues'Windows Server 2003, Small Business Edition', 'Windows Server 2003, Enterprise Edition', 'Windows Server 2003, Backoffice Edition', 'Windows Server 2003, Communications Edition', 'Microsoft Terminal Services', 'Windows Server 2003, Small Business Edition Restricted', 'Windows XP Embedded', 'Windows Server 2003, Datacenter Edition', 'Single User', 'Windows XP Home Edition', 'Windows Server 2003, Web Edition'CIMTYPE'uint32'Description'The SuiteMask property indicates a set of bit flags that identify the product suites available on the system. This member can be a combination of the following values:0 - Windows Server 2003, Small Business Edition1 - Windows Server 2003, Enterprise Edition2 - Windows Server 2003, Backoffice Edition3 - Windows Server 2003, Communications Edition4 - Microsoft Terminal Services5 - Windows Server 2003, Small Business Edition Restricted6 - Windows XP Embedded7 - Windows Server 2003, Datacenter Edition8 - Single User9 - Windows XP Home Edition10 - Windows Server 2003, Web Edition'SuiteMask property is in 1 class (Win32OperatingSystem) of ROOTCIMV2ms409 and in. MaxProcessMemorySize propertyCIMTYPE'uint64'Description'Maximum number of kilobytes of memory that can be allocated to a process. For operating systems with no virtual memory, this value is typically equal to the total amount of physical memory minus memory used by the BIOS and OS.
For some operating systems, this value may be infinity - in which case, 0 should be entered. In other cases, this value could be a constant - for example, 2G or 4G.' Units'kilobytes'MaxProcessMemorySize property and in.
OSType propertyCIMTYPE'uint16'Description'A integer indicating the type of operating system.' Status propertyCIMTYPE'string'Description'The Status property is a string indicating the current status of the object.
Various operational and non-operational statuses can be defined. Operational statuses are 'OK', 'Degraded' and 'Pred Fail'. 'Pred Fail' indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are 'Error', 'Starting', 'Stopping' and 'Service'.
The latter, 'Service', could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither 'OK' nor in one of the other states.'
Values'OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm'Status property and in. SYSTEM8✗✗DERIVATION'CIMOperatingSystem', 'CIMLogicalElement', 'CIMManagedSystemElement'SYSTEM8✗✓PROPERTYCOUNT63SYSTEM3✗✗RELPATH'SYSTEM8✗✗DYNASTY'SYSTEM8✗✗SUPERCLASS'SYSTEM8✗✗CLASS'SYSTEM8✗✗GENUS1SYSTEM3✗✗Similar Classes to Win32OperatingSystem. Class nameChildsPropertiesMethodsClass InstancesChild InstancesAbstractSingleton00-✓-20-✓-007-✓0100-020-100-020-020-020-020-20-190-020-0190-50-272-020-190-100-20-20-50-161-0604-30-✓-020-080-00-020-020-090-020-020-030-✓-020-20-02210-020-0371-020-100-020-030-020-020-020-020-020-20-0310-020-020-20-✓-020.
Have you looked at using WMI?Win32OperatingSystemThe Win32OperatingSystem class represents an operating system installed on a Win32 computer system. Any operating system that can be installed on a Win32 system is a descendent (or member) of this class.Example: Microsoft Windows 95.Win32OperatingSystem Properties:BuildNumber:The BuildNumber property indicates the build number of the operating system. It can be used for more precise versioning information than product release version numbersExample: 1381BuildType:The BuildType property indicates the type of build used for the operating system. Examples are retail build and checked build.Caption:The Caption property is a short textual description (one-line string) of the object.Description:The Description property provides a description of the Windows operating system. Some user interfaces (those that allow editing of this description) limit its length to 48 characters.ProductType:The ProductType property indicates additional information about the system. This member can be one of the following values:1 - Work Station2 - Domain Controller3 - ServerServicePackMajorVersion:The ServicePackMajorVersion property indicates the major version number of the service pack installed on the computer system. If no service pack has been installed, the value is zero.
ServicePackMajorVersion is valid for computers running Windows 2000 and later (NULL otherwise).ServicePackMinorVersion:The ServicePackMinorVersion property indicates the minor version number of the service pack installed on the computer system. If no service pack has been installed, the value is zero. ServicePackMinorVersion is valid for computers running Windows 2000 and later (NULL otherwise).Version:The Version property indicates the version number of the operating system.Example: 4.0.