EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

Win32_OSRecoveryConfiguration class

The Win32_OSRecoveryConfigurationWMI 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

[Provider("CIMWin32")]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:  Type of debugging information written to the log file.

ValueMeaning
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:  Expanded version of the DebugFilePath property.

Example: "C:\WinNT\Memory.dmp"

ExpandedMiniDumpDirectory
Data type: string
Access type: Read/write

Windows Server 2003:  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:  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)

Identifying name for this instance of the Win32_OSRecoveryConfiguration class.

OverwriteExistingDebugFile
Data type: boolean
Access type: Read/write

New debug 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.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

Operating System Classes

 

 

Afficher:
© 2014 Microsoft