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
[Dynamic, Provider("CIMWin32"), SupportsUpdate, UUID("{8502C4E8-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class Win32_OSRecoveryConfiguration : CIM_Setting
{
string Caption;
string Description;
string SettingID;
boolean AutoReboot;
string DebugFilePath;
uint32 DebugInfoType;
string ExpandedDebugFilePath;
string ExpandedMiniDumpDirectory;
boolean KernelDumpOnly;
string MiniDumpDirectory;
string Name;
boolean OverwriteExistingDebugFile;
boolean SendAdminAlert;
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
-
Qualifiers: MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|AutoReboot")
System will automatically reboot during a recovery operation.
-
-
Caption
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MaxLen (64)
Short textual description of the current object.
This property is inherited from CIM_Setting.
-
-
DebugFilePath
-
-
Data type: string
-
Access type: Read/write
-
Qualifiers: MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|DumpFile")
Full path to the debug file. A debug file is created with the memory state of the computer after a computer failure.
Example: "C:\Windows\Memory.dmp"
-
-
DebugInfoType
-
-
Data type: uint32
-
Access type: Read/write
Type of debugging information written to the log file.
-
-
None (0)
-
Complete memory dump (1)
-
Kernel memory dump (2)
-
Small memory dump (3)
Description
-
Data type: string
-
Access type: Read-only
Textual description of the current object.
This property is inherited from CIM_Setting.
ExpandedDebugFilePath
-
Data type: string
-
Access type: Read/write
Expanded version of the DebugFilePath property.
Example: "C:\Windows\Memory.dmp"
ExpandedMiniDumpDirectory
-
Data type: string
-
Access type: Read/write
Expanded version of the MiniDumpDirectory property.
Example: "C:\Windows\MiniDump"
KernelDumpOnly
-
Data type: boolean
-
Access type: Read/write
-
Qualifiers: DEPRECATED, MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|KernelDumpOnly")
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
-
Qualifiers: MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|MiniDumpDir")
Directory where small memory dump files will be recorded and accumulated.
Example: "%systemRoot%\MiniDump"
Name
-
Data type: string
-
Access type: Read-only
-
Qualifiers: key, MaxLen (256), MappingStrings ("WMI")
Identifying name for this instance of the Win32_OSRecoveryConfiguration class.
OverwriteExistingDebugFile
-
Data type: boolean
-
Access type: Read/write
-
Qualifiers: MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|Overwrite")
New debug file will overwrite an existing one.
SendAdminAlert
-
Data type: boolean
-
Access type: Read/write
-
Qualifiers: MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|SendAlert")
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
-
Qualifiers: MaxLen (256)
Identifier by which the current object is known.
This property is inherited from CIM_Setting.
WriteDebugInfo
-
Data type: boolean
-
Access type: Read/write
-
Qualifiers: DEPRECATED, MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|CrashDumpEnabled")
Debugging information is to be written to a log file.
WriteToSystemLog
-
Data type: boolean
-
Access type: Read/write
-
Qualifiers: MappingStrings ("Win32Registry|SYSTEM\\CurrentControlSet\\Control\\CrashControl|LogEvent")
Events will be written to a system log.
Remarks
The Win32_OSRecoveryConfiguration class is derived from CIM_Setting.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|
See also