Share via


Makewinpemedia Command-Line Options

Applies To: Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2

The Makewinpemedia tool is new for Windows® 8. You can use Makewinpemedia to create bootable Windows Preinstallation Environment (Windows PE) media. Running the Copype tool is a prerequisite for creating bootable media. Copype creates a directory structure for Windows PE files and copies the necessary Windows PE media files. For more information, see Copype Command-Line Options and WinPE: Create USB Bootable drive.

Makewinpemedia Command-Line Options

The Makewinpemedia tool uses the following command-line options.

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

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_x64\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.

See Also

Tasks

WinPE: Create USB Bootable drive
WinPE: Mount and Customize

Reference

Oscdimg Command-Line Options

Other Resources

WinPE for Windows 8: Windows PE 5.0