Windows setup exe log

Windows Vista, Windows 7, Windows Server 2008 R2, Windows 8.1, and Windows 10 setup log file locations

This article describes where to locate these log files and which log files are most useful for troubleshooting each setup phase of Windows 7, of Windows Server 2008 R2, and of Windows Vista.

Original product version: В Windows 10 — all editions, Windows Server 2019, Windows Server 2016
Original KB number: В 927521

Introduction

Windows setup log files are in different locations on the hard disk. These locations depend on the setup phase.

Support for Windows Vista without any service packs installed ended on April 13, 2010. To continue receiving security updates for Windows, make sure you’re running Windows Vista with Service Pack 2 (SP2). For more information, see Windows XP support has ended.

Down-level phase

The downlevel phase is the Windows setup phase that is running within the previous operating system. The following table lists important log files in this setup phase.

Log file Description
C:\WINDOWS\setupapi.log Contains information about device changes, driver changes, and major system changes, such as service pack installations and hotfix installations.

This log file is used only by Microsoft Windows XP and earlier versions.

C:$WINDOWS.

BT\Sources\Panther\setupact.log

Contains information about setup actions during the installation.
C:$WINDOWS.

BT\Sources\Panther\setuperr.log

Contains information about setup errors during the installation.
C:$WINDOWS.

BT\Sources\Panther\miglog.xml

Contains information about the user directory structure. This information includes security identifiers (SIDs).
C:$WINDOWS.

BT\Sources\Panther\PreGatherPnPList.log

Contains information about the initial capture of devices that are on the system during the downlevel phase.

Windows Preinstallation Environment phase

The Windows Preinstallation Environment (Windows PE or WinPE) phase is the Windows setup phase that occurs after the restart at the end of the downlevel phase, or when you start the computer by using the Windows installation media. The following table lists important log files in this setup phase.

Log file Description
X:$WINDOWS.

BT\Sources\Panther\setupact.log

Contains information about setup actions during the installation.
X:$WINDOWS.

BT\Sources\Panther\setuperr.log

Contains information about setup errors during the installation.
X:$WINDOWS.

BT\Sources\Panther\miglog.xml

Contains information about the user directory structure. This information includes security identifiers (SIDs).
X:$WINDOWS.

BT\Sources\Panther\PreGatherPnPList.log

Contains information about the initial capture of devices that are on the system during the downlevel phase.
or
C:$WINDOWS.

BT\Sources\Panther\setupact.log

Contains information about setup actions during the installation.
C:$WINDOWS.

BT\Sources\Panther\setuperr.log

Contains information about setup errors during the installation.
C:$WINDOWS.

BT\Sources\Panther\miglog.xml

Contains information about the user directory structure. This information includes security identifiers (SIDs).
C:$WINDOWS.

BT\Sources\Panther\PreGatherPnPList.log

Contains information about the initial capture of devices that are on the system during the downlevel phase.

You may also see a log file in the X:\WINDOWS directory. The Setupact.log file in this directory contains information about the progress of the initial options that are selected on the Windows installation screen. The Windows installation screen appears when you start the computer by using the Windows installation media. After you select Install now from the Windows installation screen, the Setup.exe file starts, and this log file is no longer used.

Online configuration phase

The online configuration phase (the first boot phase) starts when you receive the following message:

Please wait a moment while Windows prepares to start for the first time.

During this phase, basic hardware support is installed. If it’s an upgrade installation, data and programs are also migrated. The following table lists important log files in this setup phase.

Log file Description
C:\WINDOWS\PANTHER\setupact.log Contains information about setup actions during the installation.
C:\WINDOWS\PANTHER\setuperr.log Contains information about setup errors during the installation.
C:\WINDOWS\PANTHER\miglog.xml Contains information about the user directory structure. This information includes security identifiers (SIDs).
C:\WINDOWS\INF\setupapi.dev.log Contains information about Plug and Play devices and driver installation.
C:\WINDOWS\INF\setupapi.app.log Contains information about application installation.
C:\WINDOWS\Panther\PostGatherPnPList.log Contains information about the capture of devices that are on the system after the online configuration phase.
C:\WINDOWS\Panther\PreGatherPnPList.log Contains information about the initial capture of devices that are on the system during the downlevel phase.

Windows Welcome phase

The Windows Welcome phase includes the following options and events:

  • It provides the options to create user accounts.
  • It provides the option to specify a name for the computer.
  • The Windows System Assessment Tool (Winsat.exe) finishes performance testing to determine the Windows Experience Index rating.

The Windows Welcome phase is the final setup phase before a user signs in. The following table lists important log files in this setup phase.

Log file Description
C:\WINDOWS\PANTHER\setupact.log Contains information about setup actions during the installation.
C:\WINDOWS\PANTHER\setuperr.log Contains information about setup errors during the installation.
C:\WINDOWS\PANTHER\miglog.xml Contains information about the user directory structure. This information includes security identifiers (SIDs).
C:\WINDOWS\INF\setupapi.dev.log Contains information about Plug and Play devices and driver installation.
C:\WINDOWS\INF\setupapi.app.log Contains information about application installation.
C:\WINDOWS\Panther\PostGatherPnPList.log Contains information about the capture of devices that are on the system after the online configuration phase.
C:\WINDOWS\Panther\PreGatherPnPList.log Contains information about the initial capture of devices that are on the system during the downlevel phase.
C:\WINDOWS\Performance\Winsat\winsat.log Contains information about the Windows System Assessment Tool performance testing results.

Rollback phase

If a Windows upgrade installation fails, and you’ve successfully rolled back the installation to the previous operating system desktop, there are several log files that you can use for troubleshooting. The following table lists important log files in this phase.

Windows Setup Log Files and Event Logs

Windows® Setup creates log files for all actions that occur during installation. If you are experiencing problems installing Windows, consult the log files to troubleshoot the installation.

WindowsВ Setup log files are available in the following directories:

Log location before Setup can access the drive.

Log location when Setup rolls back in the event of a fatal error.

Log location of Setup actions after disk configuration.

Used to log Plug and Play device installations.

Location of memory dump from bug checks.

Location of log minidumps from bug checks.

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:

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

To view the WindowsВ Setup event logs

Start the Event Viewer, expand the Windows Logs node, and then click System.

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.

The log file contents appear in the Event Viewer.

To 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:

Расположения файлов журнала установки Windows Vista, Windows 7, Windows Server 2008 R2, Windows 8.1 и Windows 10

В этой статье описывается, где найти эти файлы журналов и какие файлы журналов наиболее полезны для устранения неполадок на каждом этапе установки Windows 7, Windows Server 2008 R2 и Windows Vista.

Исходная версия продукта: Windows 10 — все выпуски, Windows Server 2019, Windows Server 2016
Исходный номер КБ: 927521

Введение

Файлы журнала установки Windows находятся в разных местах на жестком диске. Эти расположения зависят от этапа установки.

Поддержка Windows Vista без установленных пакетов обновления завершилась 13 апреля 2010 г. Чтобы продолжить получать обновления для системы безопасности Windows, убедитесь, что вы работаете под управлением Windows Vista с Пакет обновления 2 (SP2). Дополнительные сведения см. в сведениях о том, что поддержка Windows XP завершена.

Этап более высокого уровня

Этапом downlevel является этап установки Windows, который работает в предыдущей операционной системе. В следующей таблице перечислены важные файлы журналов на этом этапе установки.

Log file location Description
Файл журнала Description
C:\WINDOWS\setupapi.log Содержит сведения об изменениях устройств, драйверах и важных изменениях системы, таких как установка пакетов обновления и установки для установки изменений.

Этот файл журнала используется только в Microsoft Windows XP и более ранних версиях.

C: $ WINDOWS.

BT\Sources\Panther\setupact.log

Содержит сведения о действиях по установке во время установки.
C: $ WINDOWS.

BT\Sources\Panther\setuperr.log

Содержит сведения об ошибках установки во время установки.
C: $ WINDOWS.

BT\Sources\Panther\miglog.xml

Содержит сведения о структуре каталогов пользователей. Эти сведения включают идентификаторы безопасности (SID).
C: $ WINDOWS.

BT\Sources\Panther\PreGatherPnPList.log

Содержит сведения о начальном захвате устройств, которые находятся в системе на этапе ухусля.

Этап среды предустановки Windows

Этап среды предустановки Windows (Windows PE или WinPE) — это этап установки Windows, который происходит после перезапуска в конце этапа обновления или при запуске компьютера с помощью установок Windows. В следующей таблице перечислены важные файлы журналов на этом этапе установки.

Файл журнала Description
X: $ WINDOWS.

BT\Sources\Panther\setupact.log

Содержит сведения о действиях по установке во время установки.
X: $ WINDOWS.

BT\Sources\Panther\setuperr.log

Содержит сведения об ошибках установки во время установки.
X: $ WINDOWS.

BT\Sources\Panther\miglog.xml

Содержит сведения о структуре каталогов пользователей. Эти сведения включают идентификаторы безопасности (SID).
X: $ WINDOWS.

BT\Sources\Panther\PreGatherPnPList.log

Содержит сведения о начальном захвате устройств, которые находятся в системе на этапе ухусля.
или
C: $ WINDOWS.

BT\Sources\Panther\setupact.log

Содержит сведения о действиях по установке во время установки.
C: $ WINDOWS.

BT\Sources\Panther\setuperr.log

Содержит сведения об ошибках установки во время установки.
C: $ WINDOWS.

BT\Sources\Panther\miglog.xml

Содержит сведения о структуре каталогов пользователей. Эти сведения включают идентификаторы безопасности (SID).
C: $ WINDOWS.

BT\Sources\Panther\PreGatherPnPList.log

Содержит сведения о начальном захвате устройств, которые находятся в системе на этапе ухусля.

Вы также можете увидеть файл журнала в X:\WINDOWS каталоге. Файл Setupact.log в этом каталоге содержит сведения о ходе выполнения начальных параметров, выбранных на экране установки Windows. При запуске компьютера с помощью установок Windows появляется экран установки Windows. После выбора «Установить» на экране установки Windows запускается Setup.exe, и этот файл журнала больше не используется.

Этап настройки в сети

Этап сетевой настройки (первый этап загрузки) начинается, когда вы получаете следующее сообщение:

Подождите некоторое время, пока Windows будет готов к первому запуску.

На этом этапе устанавливается базовая поддержка оборудования. Если это установка обновления, данные и программы также переносят. В следующей таблице перечислены важные файлы журналов на этом этапе установки.

Файл журнала Description
C:\WINDOWS\PANTHER\setupact.log Содержит сведения о действиях по установке во время установки.
C:\WINDOWS\PANTHER\setuperr.log Содержит сведения об ошибках установки во время установки.
C:\WINDOWS\PANTHER\miglog.xml Содержит сведения о структуре каталогов пользователей. Эти сведения включают идентификаторы безопасности (SID).
C:\WINDOWS\INF\setupapi.dev.log Содержит сведения об устройствах Plug and Play и установке драйверов.
C:\WINDOWS\INF\setupapi.app.log Содержит сведения об установке приложения.
C:\WINDOWS\Panther\PostGatherPnPList.log Содержит сведения о захвате устройств, которые находятся в системе после этапа сетевой настройки.
C:\WINDOWS\Panther\PreGatherPnPList.log Содержит сведения о начальном захвате устройств, которые находятся в системе на этапе ухусля.

Этап приветствия Windows

Этап приветствия Windows включает следующие параметры и события:

  • Он предоставляет возможности для создания учетных записей пользователей.
  • Он позволяет указать имя компьютера.
  • Средство оценки системы Windows (Winsat.exe) завершает тестирование производительности, чтобы определить оценку индекса windows Experience Index.

Этап приветствия Windows — это заключительный этап настройки, на который пользователь должен войт. В следующей таблице перечислены важные файлы журналов на этом этапе установки.

Файл журнала Description
C:\WINDOWS\PANTHER\setupact.log Содержит сведения о действиях по установке во время установки.
C:\WINDOWS\PANTHER\setuperr.log Содержит сведения об ошибках установки во время установки.
C:\WINDOWS\PANTHER\miglog.xml Содержит сведения о структуре каталогов пользователей. Эти сведения включают идентификаторы безопасности (SID).
C:\WINDOWS\INF\setupapi.dev.log Содержит сведения об устройствах Plug and Play и установке драйверов.
C:\WINDOWS\INF\setupapi.app.log Содержит сведения об установке приложения.
C:\WINDOWS\Panther\PostGatherPnPList.log Содержит сведения о захвате устройств, которые находятся в системе после этапа сетевой настройки.
C:\WINDOWS\Panther\PreGatherPnPList.log Содержит сведения о начальном захвате устройств, которые находятся в системе на этапе ухусля.
C:\WINDOWS\Performance\Winsat\winsat.log Содержит сведения о результатах тестирования производительности средства оценки системы Windows.

Этап отката

В случае сбой установки обновления Windows и успешного отката установки на предыдущий рабочий стол операционной системы можно использовать несколько файлов журнала для устранения неполадок. В следующей таблице перечислены важные файлы журналов на этом этапе.

Читайте также:  Переменных средах windows добавьте
Оцените статью