Traceenable.exe: Trace EnableNEW


Trace Enable is a GUI-based tool that enables tracing and displays current tracing options.

Trace Enable allows you to:

What Trace Enable Does

Trace Enable scans the values under the HKLM\SOFTWARE\Microsoft\Tracing key, and enables you to modify the following subkeys for each component:

Using Trace Enable

As each tracing item is selected in the combo box, the values are displayed. Make your changes then click the Set button. This will write your changes to the registry.

In order to get console tracing, you must turn it on for the component, and turn it on with the master check box at the top of the TraceEnable window.

For example, to generate a log file for PPP:

  1. Select PPP from the drop down list.
  2. Click the Enable File Tracing button.
  3. Click the Set button.
  4. Tracing is now enabled for this component. In most cases the log file is created in %windir%\tracing.

Trace Enable

The following describes items in the Trace Enable interface.

Global
Enable Console Tracing Console tracing lets you view the log realtime, on the console. Press CTRL and TAB to swap between multiple open logs.
Enable Pool Tagging Turns on system pool tagging. Select this option only if you explicitly want to enable pool tagging. This option does not affect log tracing.
note-icon

Note

Pool tagging can also be enabled by using gflags.exe.

Per Component
Component drop-down list Component which can be traced on this computer.
Enable Console Tracing Display log trace information in a console window.
Enable File Tracing Save trace information to a log file.
note-icon

Note

Most trace log files are stored in %windir%\tracing, however you can check the value in the HKLM\SOFTWARE\Microsoft\Tracing FileDirectory subkey.

Max File Size Maximum log file size.
Close Exit Trace Enable.
Set Set selected options in the registry.
Disable All Disable tracing for all components.
Enable All Enable tracing for all components. Automatically selects Global console tracing for all components and pool tagging.
note-icon

Note

Deselect pool tagging unless you will need to view pool tag information using another tool.

Limitations

If you run Trace Enable on a cleanly installed computer, and haven't done any remote access server activity, most of the remote access server tracing keys will not exist in the registry. To get around this, on a clean computer, run RasPhone once before running TraceEnable.

File Required