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:Windowssystem32wpeinit.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

wpeinit -unattend=<pathunattend>
wpeinit -unattend:<pathunattend>
wpeinit /unattend=<pathunattend>
wpeinit /unattend:<pathunattend>