This section explains how to create a bootable Emergency Recovery USB device (ERD) using Microsoft Windows Preinstallation Environment (Windows PE). When it is booted, the ERD provides access to the Emergency Recovery application you can use to perform recovery operations on a device.
You must perform the following steps on a Windows 7 or later Windows device. The steps are not supported on Windows XP or Vista. The USB drive size must be at least 256 MB.
To create a Windows PE emergency recovery USB drive:
Complete the Prerequisites for Creating a Windows PE Emergency Recovery Disk.
Insert a data free USB drive into the device. If any data is on the USB drive, it will be wiped.
In the C:\winpe folder, right-click the applicable makepe.bat file for the OS version you need the ERD for and select Run as administrator
Windows 7: makepe.bat
Windows 8-8.1: makepe_win8.bat
Windows 10: makepe_win10.bat
When the Command Prompt opens, press Enter to keep the default setting or type the other option number to choose a different platform, and press Enter.
Press Enter for the next three commands or until the Media type option displays.
The Media type defaults to option 1, ISO. Type 2 for the USB Flash Drive, and press Enter.
When the default USB drive letter appears, press Enter or type the letter that matches your USB drive, and press Enter.
Type yes when the notification “all data will be lost” on the drive appears.
When presented with the option to copy the selected architecture to directory, type Yes, and press Enter.
When the MakeWinPEMedia warning appears, type Y to proceed with the formatting of the USB drive.
When the ERD formatting is done, the Command Prompt displays the following:
Success
USB Flash Drive: f: (or other drive letter)
Done!
The USB drive is ready to use as an ERD.