Win32_WMISetting

The Win32_WMISetting class is a Singleton class that contains the operational parameters for the WMI service. Win32_WMISetting can only have one instance. This single instance always exists for each Win32 system, and cannot be deleted. Additional instances cannot be created.

Quick Start

Properties

Most WMI properties are read-only. You can only read values but not change them. Few properties are also writeable. You can assign new values to those properties.

Writeable properties are marked with this icon:   

  ASPScriptDefaultNamespace

Data type String

The ASPScriptDefaultNamespace property contains the namespace used by calls from the script API if none is specified by the caller.

  ASPScriptEnabled

Data type Boolean

The ASPScriptEnabled property indicates whether WMI scripting can be used on Active Server Pages (ASP). This property is valid on Windows NT 4.0 systems only. For Windows 2000 systems, WMI scripting is always allowed on ASP.

AutorecoverMofs

Data type String

The AutoRecoverMofs property contains a list of fully qualified MOF file names used to initialize or recover the WMI repository. The list determines the order in which MOFs are compiled.

  AutoStartWin9X

Data type UInt32

The AutoStartWin9X property indicates the circumstances under which WMI will start on Win9X systems.

  BackupInterval

Data type UInt32

The BackupInterval property specifies the length of time that will elapse between backups of the WMI database.

  BackupLastTime

Data type DateTime

The BackupLastTime property specifies the date and time the last backup was performed.

BuildVersion

Data type String

The BuildVersion property contains version information for the currently installed WMI service.

Caption

Data type String

A short textual description (one-line string) of the CIM_Setting object.

DatabaseDirectory

Data type String

The DatabaseDirectory property specifies the directory path containing the WMI repository.

DatabaseMaxSize

Data type UInt32

The DatabaseMaxSize property specifies the maximum size of the WMI repository.

Description

Data type String

A textual description of the CIM_Setting object.

DisableCaching

Data type Boolean

  EnableAnonWin9xConnections

Data type Boolean

The EnableAnonWin9xConnections indicates whether remote access without security checking is permitted. This property only applies to Windows 95 and Windows 98 systems.

  EnableEvents

Data type Boolean

The EnableEvents property indicates whether the WMI event subsystem should be enabled.

Values: $true or $false, If $true,then the event subsystem is enabled.

  EnableStartupHeapPreallocation

Data type Boolean

The EnableStartupHeapPreallocation property indicates whether WMI will start with a pre-allocated heap.

Values: $true or $false. If $true, then a pre-allocated heap with the size of LastStartupHeapPreallocation is created when WMI is initialized.

  HighThresholdOnClientObjects

Data type UInt32

The HighThresholdOnClientObjects property specifies the maximum rate provider created objects can be delivered to clients. To accommodate speed differentials between providers and clients, WMI holds objects in queues before delivering them to consumers.. WMI slows down the addition of new objects into the queue when the low threshold is reached. If this does not help, and high threshold (specified by this property) is reached, WMI will accept no more objects from providers and return WBEM_E_OUT_OF_MEMORY to the clients.

  HighThresholdOnEvents

Data type UInt32

The HighThresholdOnEvents property specifies the maximum rate at which events are to be delivered to clients. To accommodate speed differentials between providers and clients, WMI queues events before delivering them to consumers.. WMI slows down the addition of new events into the queue when the low threshold is reached. If this does not help, and high threshold (specified by this property) is reached, WMI will accept no more events from providers and return WBEM_E_OUT_OF_MEMORY to the clients.

InstallationDirectory

Data type String

The InstallationDirectory property contains the directory path where the WMI software has been installed. The default location is: \system32\wbem.

LastStartupHeapPreallocation

Data type UInt32

The LastStartupHeapPreallocation property specifies the size of the pre-allocated heap created by WMI during initialization.

  LoggingDirectory

Data type String

The LoggingDirectory property specifies the directory path containing the location of the WMI system log files.

  LoggingLevel

Data type UInt32

The LoggingLevel property indicates whether event logging is enabled and the verbosity level of logging used.

  LowThresholdOnClientObjects

Data type UInt32

The LowThresholdOnClientObjects property specifies the rate at which WMI will start to slow the creation of new objects created for clients. To accommodate speed differentials between providers and clients, WMI holds objects in queues before delivering them to consumers.. If the rate of requests for objects grows out of control, WMI gradually slows down the creation of new objects to match the client’s rate of use. This slowdown starts when the rate at which objects are being created exceeds the value of this property. The slowdown continues until equilibrium is achieved, or the high threshold is reached.

  LowThresholdOnEvents

Data type UInt32

The LowThresholdOnEvents property specifies the rate at which WMI will start to slow the delivery of new events. to accommodate speed differentials between providers and clients, WMI queues events before delivering them to consumers. If the queue grows out of control, WMI slows down the delivery of events gradually to get them in line with the client’s rate . This slowdown starts when the rate at which events are generated exceeds the value of the this property. The slowdown continues until either the equilibrium is achieved, or the high threshold is reached.

  MaxLogFileSize

Data type UInt32

The MaxLogFileSize property indicates the maximum size of the log files produced by the WMI service.

  MaxWaitOnClientObjects

Data type UInt32

The MaxWaitOnClientObjects property specifies the amount of time a newly created object waits to be used by the client before it is discarded and an error value is returned.

  MaxWaitOnEvents

Data type UInt32

The MaxWaitOnEvents property specifies the amount of time an event sent to a client is queued before being discarded.

MofSelfInstallDirectory

Data type String

The MofSelfInstallDirectory property contains the directory path for applications that install MOF files to the CIM repository. WMI automatically compiles any MOF files placed in this directory and, depending on its success, moves the MOF to a subdirectory labeled “good” or “bad”. If the “autorecover” pragma is included, the fully qualified file name is added to the AutorecoverMofs list used when WMI is initializing or recovering the repository. The list determines the order in which MOFs are compiled.

SettingID

Data type String

The identifier by which the CIM_Setting object is known.

Methods

Examples

See Also

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:28:59 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin