Win32_OSRecoveryConfiguration class
The Win32_OSRecoveryConfiguration WMI class represents the types of information that will be gathered from memory when the operating system fails. This includes boot failures and system crashes.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
class Win32_OSRecoveryConfiguration : CIM_Setting
{
boolean AutoReboot;
string Caption;
string DebugFilePath;
uint32 DebugInfoType;
string Description;
string ExpandedDebugFilePath;
string ExpandedMiniDumpDirectory;
boolean KernelDumpOnly;
string MiniDumpDirectory;
string Name;
boolean OverwriteExistingDebugFile;
boolean SendAdminAlert;
string SettingID;
boolean WriteDebugInfo;
boolean WriteToSystemLog;
};
Members
The Win32_OSRecoveryConfiguration class has these types of members:
Properties
The Win32_OSRecoveryConfiguration class has these properties.
- AutoReboot
-
- Data type: boolean
- Access type: Read/write
System will automatically reboot during a recovery operation.
- Caption
-
- Data type: string
- Access type: Read-only
Short description of the CIM_Setting object—a one-line string.
- DebugFilePath
-
- Data type: string
- Access type: Read/write
Full path to the debug file. A debug file is created with the memory state of the computer after a computer failure.
Example: "C:\WinNT\Memory.dmp"
- DebugInfoType
-
- Data type: uint32
- Access type: Read/write
Windows Server 2003 and Windows XP: Type of debugging information written to the log file.Value Meaning - 0
None
- 1
Complete Memory Dump
- 2
Kernel Memory Dump
- 3
Small Memory Dump
- Description
-
- Data type: string
- Access type: Read-only
Description of the CIM_Setting object.
- ExpandedDebugFilePath
-
- Data type: string
- Access type: Read/write
Windows Server 2003 and Windows XP: Expanded version of the DebugFilePath property.Example: "C:\WinNT\Memory.dmp"
- ExpandedMiniDumpDirectory
-
- Data type: string
- Access type: Read/write
Windows Server 2003 and Windows XP: Expanded version of the MiniDumpDirectory property.Example: "C:\WinNT\MiniDump"
- KernelDumpOnly
-
- Data type: boolean
- Access type: Read/write
Only kernel debug information will be written to the debug log file. If TRUE, then only the state of the kernel is written to a file in the event of a system failure. If FALSE, the system will try to log the state of the memory, and any devices that can provide information about the system when it failed.
- MiniDumpDirectory
-
- Data type: string
- Access type: Read/write
Windows Server 2003 and Windows XP: Directory where small memory dump files will be recorded and accumulated.Example: "%systemRoot%\MiniDump"
- Name
-
Identifying name for this instance of the Win32_OSRecoveryConfiguration class.
- OverwriteExistingDebugFile
-
- Data type: boolean
- Access type: Read/write
New log file will overwrite an existing one.
- SendAdminAlert
-
- Data type: boolean
- Access type: Read/write
Alert message will be sent to the system administrator in the event of an operating system failure.
- SettingID
-
- Data type: string
- Access type: Read-only
Identifier by which the CIM_Setting object is known.
- WriteDebugInfo
-
- Data type: boolean
- Access type: Read/write
Debugging information is to be written to a log file.
- WriteToSystemLog
-
- Data type: boolean
- Access type: Read/write
Events will be written to a system log.
Remarks
The Win32_OSRecoveryConfiguration 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 |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012