Share via


Turn WMI error logging on or off

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To turn WMI error logging on or off

  1. Open WMI Control.

  2. In the console tree, right-click WMI Control, and then click Properties.

  3. Click the Logging tab.

  4. To turn logging off, click Disabled under Logging level.

  5. To turn logging on click either Errors only or Verbose under Logging Level.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To open the WMI Control console, click Start, click Run, type wmimgmt.msc, and then click OK.

  • Errors only reports errors that occur within WMI. Verbose reports all actions and errors.

  • Verbose logging can negatively impact system performance, so select Verbose only when you need more extensive information about the events leading to errors.

  • Log files are maintained for the WMI core and framework, as well as for each WMI-enabled provider.

  • You can set the maximum size for log files under Maximum size. When a log file has reached the maximum size, it is renamed with the .lo_ extension, and a new log file is created with the .log extension. When that file reaches the defined maximum size, the first file is deleted and the process is repeated.

  • You can set logging levels on a remote computer or a local computer. To access a remote computer, right-click WMI Control, click Connect to another computer, click Another computer, and then type the name of the computer to which you want to connect. If you are using WMI Control from the Computer Management console, right-click the Computer Management node to connect to the other computer.

  • It is recommended that you include log files when reporting issues associated with WMI services.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

WMI Control Overview
Working with MMC console files