Compartilhar via


Wpeinit Command-Line Options

Applies To: Windows 7

Note

This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.

Wpeinit is a command-line tool that initializes Windows® PE each time that Windows PE boots. When Windows PE boots, Winpeshl.exe executes the Startnet.cmd command script, which launches Wpeinit.exe. Specifically, Wpeinit.exe installs Plug and Play devices, processes Unattend.xml settings, and loads network resources.

Wpeinit replaces the initialization function previously supported in Factory.exe -winpe. Wpeinit outputs log messages to c:\Windows\system32\wpeinit.log.

Wpeinit Command-Line Options

You can manually execute Wpeinit from a Windows PE Command Prompt window to process a custom answer file. Wpeinit.exe accepts one option called -unattend. You can specify the parameter in one of four ways:

wpeinit -unattend=<path\unattend>
wpeinit -unattend:<path\unattend>
wpeinit /unattend=<path\unattend>
wpeinit /unattend:<path\unattend>

For more information about how to create an answer file (Unattend.xml), see theWindows® Unattended Setup Reference.

See Also

Concepts

Command-Line Tools Technical Reference