Makewinpemedia command-line options

You can use Makewinpemedia to create bootable Windows Preinstallation Environment (Windows PE) media. Before you run Makewinpemedia, you have to run Copype to create a working set of Windows PE files.

Makewinpemedia and Copype are available in the Windows Assessment and Deployment kit with WinPE add-on.

For more information, see Copype Command-Line Options and WinPE: Create USB Bootable drive.

Makewinpemedia syntax

Makewinpemedia {/ufd | /iso} [/f] <WorkingDirectory> <DestinationLocation>

Makewinpemedia parameters

Makewinpemedia has the following command-line options:

Command-line option Description
/ufd Specifies a USB flash drive as the type of media to create. For example:

Makewinpemedia /ufd C:\winpe_amd64 F:

where F is the drive letter of the USB flash drive.
/iso Specifies a .iso file (CD or DVD) as the type of media to create. For example:

Makewinpemedia /iso C:\winpe_amd64 C:\winpe_amd64\winpe_amd64.iso
/f Optional. Suppresses the confirmation message that appears before you format the USB flash drive or overwrite an existing .iso file. For example:

Makewinpemedia /ufd /f C:\winpe_amd64 F:

where F is the drive letter of the USB flash drive.
<WorkingDirectory> Specifies the name of the working directory where the Copype tool creates the Windows PE directory structure and copies the necessary files for creating bootable media. For example:

C:\winpe_amd64
<DestinationLocation> Specifies the drive letter of the USB flash drive if you are using the /ufd option, or the name of the .iso file if you are using the /iso option.