Creating WinRE Bootable Media
Creating WinRE Bootable Media
A boot disk (sometimes called a startup disk) is a media file that contains startup files that your computer can use to boot up, in case the Operating System of your computer becomes corrupt or unusable.
Recovery media (WinRE) can be used to restore a Windows device to the Working state, even if the user needs to replace the hard drive or completely wipe the drive clean.
You would need to create the Windows RE bootable media in X64 or X86 environment depending on the OS architecture you are restoring.
For creating Windows image, follow the steps below or learn more here.
- Download and install the latest Windows assessment and deployment kit (ADK)
- A Windows OS image (Install.wim). You can either use the base Windows image or a customized recovery image.
- A Windows RE tool image from extracted Windows image
- USB Pen drive (8GB and above) for creating Windows recovery environment
Note: Windows image can be downloaded from the Microsoft website: (Sample link):
Step 1: Install and open the deployment and imaging tools environment
- Log in to any computer (for creating the USB WinRE boot disk), with Administrator privilege.
- Download and install the latest Windows ADK ( recommended version is 1703 ) and install it by following the wizard, until you reach the 'Select the features you want to install' screen of the Wizard.
- Select the options for 'Deployment Tools' and 'Windows Preinstallation Environment' (Windows PE), and clear the other selected options, if any.
- Click 'Install', and wait for the installation of the assessment and deployment kit to complete.
- Click 'Start', and enter deployment. Right click 'Deployment and Imaging Tools Environment' and then select 'Run as administrator'.
Step 2: Extract the Windows RE image from the Windows image
- Mount the Windows image
- Right click the Windows image (.iso) and mount to view contents inside the iso file.
Once image is mounted, copy 'install.wim' from 'G:\sources\' to 'D:\ sources' , where G is the ISO mounted drive:
Dism /Mount-Image /ImageFile:D:\sources\install.wim /Index:1 /MountDir:C:\mount\Windows\
where D is the location where install.wim is present.
Copy the Windows RE image:
xcopy C:\mount\Windows\Windows\System32\Recovery\winre.wim C:\Images\winre.wim /h
Unmount the Windows image:
Dism /Unmount-Image /MountDir:C:\mount\Windows\ /Discard
Step 3: Create a working folder for Windows RE files
- Create a folder structure for Windows RE, which is based on Windows PE:
where amd64 or x86 is the architecture of the system you are creating media for.
- For X64 Architecture: copype amd64 C:\resetmedia_amd64
- For X86 Architecture: copype x86 C:\resetmedia_x86
- Replace the default Windows PE boot image (Boot.wim) with a Windows RE tools image:
- For X64 Architecture: xcopy C:\Images\winre.wim C:\resetmedia_amd64\media\sources\boot.wim /h
- For X86 Architecture: xcopy C:\Images\winre.wim C:\resetmedia_x86\media\sources\boot.wim /h
Step 4: Add the Windows image
- For X64 Architecture: copy D:\sources\install.wim C:\resetmedia_amd64\media\sources\install.wim
- For X86 Architecture: copy D:\sources\install.wim
Step 5: Create bootable USB flash drive
- Install Windows RE to a USB flash drive:
- For X64 Architecture: Makewinpemedia /ufd C:\resetmedia_amd64 F:
- For X86 Architecture: Makewinpemedia /ufd C:\resetmedia_x86 F:
- Label the USB flash drive with a descriptive name.
- In 'File Explorer', right click the drive, and select 'Rename', and enter 'Full-PC Recovery'.
- Use this bootable USB device to start your PC with WinRE environment.