Expand Minimize
1 out of 1 rated this helpful - Rate this topic

Win32_BootConfiguration class

The Win32_BootConfiguration WMI class represents the boot configuration of a computer system running Windows.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_BootConfiguration : CIM_Setting
{
  string BootDirectory;
  string Caption;
  string ConfigurationPath;
  string Description;
  string LastDrive;
  string Name;
  string ScratchDirectory;
  string SettingID;
  string TempDirectory;
};

Members

The Win32_BootConfiguration class has these types of members:

Properties

The Win32_BootConfiguration class has these properties.

BootDirectory
Data type: string
Access type: Read-only

Path to the system files required for booting the system.

Example: "C:\Windows"

Caption
Data type: string
Access type: Read-only
Qualifiers: MaxLen (64)

Short description of the CIM_Setting object. This property is inherited from CIM_Setting.

ConfigurationPath
Data type: string
Access type: Read-only

Path to the configuration files. This value may be similar to the value in the BootDirectory property.

Description
Data type: string
Access type: Read-only

Description of the CIM_Setting object. This property is inherited from CIM_Setting.

LastDrive
Data type: string
Access type: Read-only

Last drive letter to which a physical drive is assigned.

Example: "E:"

Name
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)

Name of the boot configuration. It is an identifier for the boot configuration.

ScratchDirectory
Data type: string
Access type: Read-only

Directory where temporary files can reside during boot time.

SettingID
Data type: string
Access type: Read-only
Qualifiers: MaxLen (256)

Identifier by which the CIM_Setting object is known. This property is inherited from CIM_Setting.

TempDirectory
Data type: string
Access type: Read-only

Directory where temporary files are stored.

Example: "C:\TEMP"

Remarks

The Win32_BootConfiguration class is derived from CIM_Setting.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

See also

Operating System Classes

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.