0% found this document useful (0 votes)
450 views

Wpeinit and Startnet - CMD Using WinPE Startup Scripts

Use Wpeinit and Startnet.cmd to run startup scripts when Windows PE (WinPE) first runs. Wpeinit installs Plug and Play devices, processes Unattend.xml settings, and loads network resources. Startnet.cmd starts Wpeinit.exe which outputs log messages to C:\Windows\system32\wpeinit.log. The Wpeinit command line option -unattend can be used to specify a path to an answer file for supported Unattend settings like firewall, networking, and page file configuration.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
450 views

Wpeinit and Startnet - CMD Using WinPE Startup Scripts

Use Wpeinit and Startnet.cmd to run startup scripts when Windows PE (WinPE) first runs. Wpeinit installs Plug and Play devices, processes Unattend.xml settings, and loads network resources. Startnet.cmd starts Wpeinit.exe which outputs log messages to C:\Windows\system32\wpeinit.log. The Wpeinit command line option -unattend can be used to specify a path to an answer file for supported Unattend settings like firewall, networking, and page file configuration.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Wpeinit and Startnet.

cmd: Using
WinPE Startup Scripts
05/02/2017 • 2 minutes to read

In this article
Startnet.cmd
Wpeinit Command-Line Options
Supported Unattend settings
Related topics

Use Wpeinit and Startnet.cmd to run startup scripts when Windows PE (WinPE) first
runs.

Wpeinit outputs log messages to C:\Windows\system32\wpeinit.log.

Startnet.cmd
You can add customized command-line scripts in Windows PE by using
Startnet.cmd. By default, Windows PE includes a Startnet.cmd script located at
%SYSTEMROOT%\System32 of your customized Windows PE image.

Startnet.cmd starts Wpeinit.exe. Wpeinit.exe installs Plug and Play devices,


processes Unattend.xml settings, and loads network resources.

For more info, see WinPE: Mount and Customize.

Wpeinit Command-Line Options


The following command-line option is available for Wpeinit:

Wpeinit [-unattend:<path_to_answer_file>]

Example:

Copy

Wpeinit -unattend:"C:\Unattend-PE.xml"
Supported Unattend settings
You can create an answer file and include any of the following settings for use with
Windows PE:

• Microsoft-Windows-Setup/Display

• Microsoft-Windows-Setup/EnableFirewall

• Microsoft-Windows-Setup/EnableNetwork

• Microsoft-Windows-Setup/LogPath

• Microsoft-Windows-Setup/PageFile

• Microsoft-Windows-Setup/Restart

• Microsoft-Windows-Setup/RunAsynchronous

• Microsoft-Windows-Setup/RunSynchronous

Related topics
WinPE: Identify drive letters with a script

WinPE for Windows 10

Winpeshl.ini Reference: Launching an app when WinPE starts

WinPE: Mount and Customize

Unattended Windows Setup Reference

You might also like