Copype Command-Line Options

Copype creates a working directory that contains a standard set of Windows Preinstallation Environment (Windows PE) files. You use these files to customize images and (together with the Makewinpemedia script) to create bootable media.

CopyPE is available in the Windows Assessment and Deployment Kit with WinPE add-on. For more information, see Makewinpemedia Command-Line Options.

CopyPE Syntax

Copype.cmd <Architecture> <WorkingDirectory>

Copype Command-Line Options

Command-line option Description

architecture

Copies the boot files and the Windows PE base image (Winpe.wim) to <WorkingDirectory>\Media.

Values include amd64, x86, arm, or arm64.

The x86 version of Windows PE can boot 32-bit UEFI, 32-bit BIOS, or 64-bit BIOS-based PCs.

The amd64 version of Windows PE can boot either 64-bit BIOS-based or 64-bit UEFI-based PCs.

The arm versions of Windows PE can boot Arm-based PCs of their respective architectures.

For more information about running Windows PE on PCs with different architectures, see Windows Setup Supported Platforms and Cross-Platform Deployments.

WorkingDirectory

Specifies the name of the working directory where Copype creates the directory structure and copies the Windows PE files. For example:

copype amd64 C:\winpe_amd64

Copype creates the following directory structure.

<WorkingDirectory>
<WorkingDirectory>\media
<WorkingDirectory>\mount

When Copype copies the Windows PE base image to the <WorkingDirectory>\Media\Sources folder, it renames the base image from Winpe.wim to Boot.wim.

WinPE overview

WinPE: Create USB Bootable drive

Makewinpemedia Command-Line Options