Wpeinit Command-Line Options (Standard 7 SP1)


Wpeinit is a command-line tool that initializes Windows Preinstallation Environment (Windows PE) 3.0 every time it starts. When Windows PE starts, Winpeshl.exe runs Startnet.cmd which starts Wpeinit.exe. Wpeinit.exe installs plug and play devices, processes Autounattend.xml settings, and loads network resources.

Wpeinit replaces the initialization function previously supported by Factory.exe -winpe. Wpeinit writes log messages to C:\Windows\System32\Wpeinit.log.

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 the following four ways.

wpeinit –unattend=<path\answer_file>
wpeinit –unattend:<path\answer_file>
wpeinit /unattend=<path\answer_file>
wpeinit /unattend:<path\answer_file>