On this topic, you will learn how to create Windows PE/RE Media (ISO file or a bootable USB drive), which could be a windows recovery or installation image using Windows Assessment and Deployment Kit (ADK) deployment tools and ADK Windows PE Add-ons.
Note: This topic is to create a bootable Windows PE media manually. To see how to create a WinPE or WinRE media automatically using auto batch file, read this topic.
This is the summary of the manual steps:
Step 1: Download & Install ADK and Windows PE add-on and other files
Step 2: How to Create a Working Folder of Windows PE Files?
Type “Deployment” into search box and then start the Deployment and Imaging Tools Environment as an administrator.
Execute the following command to create a working folder of the Windows PE files:
copype amd64 C:\WinPE_amd64
You can replace the C with another partition letter if you want.
Step 3: How to Customize Windows PE?
There are many customizations that can be done to the windows image, such as, adding an update, adding a video or network driver and many more customizations, however, on this video you will learn how to customize the type of boot file either by adding a file of full windows installation or just a file of a recovery image.
But if you want to create a simple ISO image of Windows PE without modification, execute this command:
Also to create a bootable USB drive of Windows PE without customization, connect a USB drive to your computer and then execute this command:
Makewinpemedia /ufd C:\WinRE_amd64 J:
Where J is the drive letter of the USB flash drive.
Note: After customizing the windows image, you can either create an ISO image file or create a bootable USB directly. In both cases, the created media could be either a full windows image for installation or just a recovery image.
3.1. How to create a Recovery image using the WinRE.wim file?
To create a Recovery image using the WinRE.wim file, do the followings:
Double click the ISO file of installed windows to mount it
Run Command prompt as administrator
Change the CMD path to the installation path of 7zip app using this command:
CD /D C:\Program Files\7-Zip
Extract the WinRE.wim image from mounted ISO image of windows to the working folder using this command:
7z e H:\sources\install.wim -OC:\WinRE_amd64\media\sources\ 6\Windows\System32\Recovery\WinRE.wim
Also you can copy the WinRE.wim file from Windows partition or from Recovery partition using one of the following commands: