Platform SDK: Windows Management Instrumentation

WMI Event Registration Tool

The WMI Event Registration Tool is designed for developers and system managers. It provides a graphical interface for what may also be accomplished programmatically. The WMI Event Registration Tool allows you to create, display, and modify the event consumers, filters, and timers for a given namespace and any bindings between filters and consumers. By using the WMI Event Registration Tool, you can do the following:

Note  You must install Windows Management and create a repository of classes on the target computer before you can use the WMI Event Registration Tool. One of the methods for creating a repository of classes is to compile a MOF file in the system directory where the WMI Core is installed. To compile the MOF file, type the following at the command-line prompt:

mofcomp <filename.mof>.

For more information, see MOF Compiler.

The examples in the following topics use the Eviewer.mof file found in the WMI SDK. This MOF file contains the classes and instances required to declare and register the WMI Event Viewer consumer provider with the Event subsystem. This MOF file is compiled automatically when Windows Management is first started, so that the WMI Event Viewer consumer is registered as a permanent event consumer by default. For more information on the required schema for this type of registration, see Registering Class and Instance Providers.

To open the WMI Event Registration Tool

  1. From Start, point to Programs and click WMI SDK.
  2. Click Event Registration. For instructions in using the WMI Login dialog box, see WMI Application Logon.

See Also

Timer Events, Permanent Event Consumers