Del via


Windows Setup Log Files and Event Logs

Windows Setup creates log files for all actions that occur during installation. If you're experiencing problems installing Windows, check the log files to help troubleshoot the installation.

Log locations

Windows Setup log files are available in the following directories:

Log file location Description

X:\Windows\panther\

Log location before Setup can access the drive.

%WINDIR%\Panther

Log location of Setup actions after disk configuration.

%WINDIR%\Inf\Setupapi.log

Used to log Plug and Play device installations.

%WINDIR%\Memory.dmp

Location of memory dump from bug checks.

%WINDIR%\Minidump.dmp

Location of log minidumps from bug checks.

%WINDIR%\System32\Sysprep\Panther

Location of Sysprep logs.

Windows Setup Event Logs

Windows Setup includes the ability to review the Windows Setup performance events in the Windows Event Log viewer. This enables you to more easily review the actions that occurred during Windows Setup and to review the performance statistics for different parts of Windows Setup. You can filter the log so as to view only relevant items that you are interested in. The Windows Setup performance events are saved into a log file that is named Setup.etl, which is available in the %WINDIR%\Panther directory of all installations.

To view the logs, you must use the Event Viewer included with the Windows media that corresponds to the version of the customized image that you are building.

To view the logs on a computer that does not include the corresponding kit, you must run a script from the root of the media that installs the Event Trace for Windows (ETW) provider. From the command line, type:

Cscript D:\sources\etwproviders\etwproviderinstall.vbs install D:\sources\etwproviders

where D is the drive letter of the Windows DVD media.

View the Windows Setup event logs

  1. Start the Event Viewer, expand the Windows Logs node, and then click System.
  2. In the Actions pane, click Open Saved Log and then locate the Setup.etl file. By default, this file is available in the %WINDIR%\Panther directory.
  3. The log file contents appear in the Event Viewer.

Export the log to a file

From the command line, use the Wevtutil or Tracerpt commands to save the log to an .xml or text file. For information about how to use these tools, see the command-line Help. The following commands show examples of how to use the tools:

Wevtutil qe /lf C:\windows\panther\setup.etl 

-or-

Tracerpt /l C:\windows\panther\setup.etl

Windows Setup Command-Line Options Windows Setup States Windows Setup Edition Configuration and Product ID Files (EI.cfg and PID.txt)