Partilhar via


LogPath

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

LogPath specifies the path of the log file to use during the Windows Preinstallation Environment (Windows PE) phase of installation. This log file is used only to log the events related to configuring Windows PE and not a regular operating system. (Windows PE is a minimal operating system designed to prepare a computer for Windows installation.) The log files used to configure a regular operating system, available in the %WINDIR%\panther or $windows.~bt\sources\panther directories, cannot be changed.

The LogPath setting must be the fully qualified, non-UNC path to a directory on a fixed disk of the local computer.

This setting refers to a directory where the log files are written, rather than an individual log file. These log files contain details for settings related to the windowsPE configuration pass.

Values

Path_to_log_file

Specifies the fully qualified, non-UNC path to a directory on a fixed disk of the local computer.

For example, to create log files in a Log folder at the root of the C drive, set this value to C:\Log.

Path_to_log_file is a string, with a maximum length of 259 characters.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | LogPath

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output shows how to set the log path.

<LogPath>C:\Log</LogPath>

See Also

Concepts

Microsoft-Windows-Setup