TechNet
Wpeinit Commands
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Wpeinit Command-Line Options

Published: October 22, 2009

Updated: October 22, 2009

Applies To: Windows 7

noteNote
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

Show:
© 2016 Microsoft