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;
}; |
Methods
The Win32_BootConfiguration class does not define any methods.
Properties
The Win32_BootConfiguration class defines the following properties.
- BootDirectory
- Data type: string
Access type: Read-onlyPath 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 (one-line string) of the CIM_Setting object. This property is inherited from CIM_Setting.
- ConfigurationPath
- Data type: string
Access type: Read-onlyPath to the configuration files. This value may be similar to the value in the BootDirectory property.
- Description
- Data type: string
Access type: Read-onlyDescription of the CIM_Setting object. This property is inherited from CIM_Setting.
- LastDrive
- Data type: string
Access type: Read-onlyLast 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-onlyDirectory 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-onlyDirectory 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
| Client | Requires Windows Vista, Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0 SP4 and later. |
| Server | Requires Windows Server 2008, Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0 SP4 and later. |
|---|
| MOF |
Declared in Cimwin32.mof. |
| DLL | Requires Cimwin32.dll. |
| Namespace | Defined in \root\cimv2.
|
See Also
Operating System Classes
Send comments about this topic to Microsoft
Build date: 9/29/2008