Wondershare Recoverit

Crashed Computer Data Recovery

  • Recovers deleted or lost files from crashed computer effectively, safely and completely.
  • Supports data recovery from 500+ data loss scenarios, including computer crash, partition loss, accidental human error, etc.
  • Supports 1000+ file formats recovery with a high success rate and without any quality loss.
Free Download Free Download Free Download Learn More >
crashed computer recovery

How to Install WinPE on a Hard Drive

Wondershare Recoverit Authors

Jan 15, 2024 • Filed to: Windows Computer Solutions • Proven solutions

Windows Preinstallation Environment provides a fast and reliable way to install Windows or perform recovery and troubleshooting activities. One of the best things about Windows PE is that it can be installed on a USB drive, CD, DVD, etc. and later boot your system from an external source. To achieve this, you need to learn how to install Window PE on a hard drive (as an external source). This can be done by following this step-by-step guide.

What is Windows PE?

The Windows Preinstallation Environment is a lightweight operating system that was initially introduced by Windows with XP. Its primary objective was to replace the MS-DOS-based booting environment. Ever since Windows has deployed the Preinstallation Environment in all the operating systems, it has a dedicated UI that can help you install the primary operating system, perform a system recovery, or troubleshooting activities. Simply boot your system from the hard drive having Windows PE to do this.

How to get Windows PE?

Before you install Windows PE on your hard drive or any other external unit, you need to meet specific prerequisites. Earlier, users need to buy Windows development kit to install Windows PE.

Now, users can download the Windows Assessment and Deployment Kit (Windows ADK) for free from windows assessment deployment. It has all the primary deployment tools and Windows Preinstallation Environment that you would need to install Windows PE on a hard drive.

In addition to that, you need to make sure that your system has enough RAM and that there is required space on the hard drive (512 MB) to support Windows PE.

To install WindowsPE, refer to these steps:

a) Install Assessment and Deployment Kit.
b) Pick Deployment Tools and Windows Pre-installation Environment.

How to install Windows PE on your Hard Drive?

After getting the source for Windows Preinstallation Environment, you can proceed and learn how to install Windows PE by following these steps.

  1. Setting up the Drive

    Firstly, we need to set up the hard drive by making a bootable disk. You can also utilize a sector of the drive and make it bootable.

    It should have all the necessary bootstrapping kernels that are needed to boot a system. In the case of an emergency, you can simply boot your system from the bootable disk.

    1. After installing the Windows Preinstallation Environment ADK on your system, simply plug in the USB drive.
    2. Now, you need to reboot your system. You must have gotten a bootable CD with your Windows. If not, then you can quickly burn a bootable CD.
    3. Once it is done, you need to reboot your system from the CD as a source. Instead of installing the OS on your system, select the USB drive.
    4. Make sure that the drive is already formatted. If not, the operation will automatically format it.
    5. After completing this, just turn off your system or restart it.
  2. Installing WinPE

    After setting up the hard drive, you need to install Windows PE on it. To do this, follow these steps:

    1. After rebooting your system, insert the WinPE CD, if it hasn't been inserted before.
    2. Visit the hard drive location and create a new folder with the name of "Mining."
    3. Once it is done, you need to visit the file location of the Windows PE CD. Go to the "i386" folder in it. Here comes the crucial part. You need to select all the files from the i386 folder and manually copy them to the "Mining" folder that you have just created. If you copy these files after booting your system from WinPE, then your system won't include all the required files and folders.
    4. After copying these files, you have to look for the "ntdetect.com" and the "setupldr.bin" files.
    5. Simply select these files and copy them to the root directory of your system. Afterward, just rename the "setupldr.bin" file to "ntldr" without using any extensions.
  3. Scripting

    The last and the most crucial part to completely install Windows PE on your hard drive involve the scripting process. To do this, follow these steps:

    1. Launch the file location on the USB drive and visit the "Mining" folder that you have created. Here, you need to launch the "system32" file.
    2. There would be a file with the name of "startnet.cmd". This is a critical file as it involves information related to networking, bootloader, etc. for the system You can just edit the file and add your scripts to customize anything.
    3. Additionally, you can find other scripts to run as well. Just go to command prompt and look for files with type "/?". This will provide access to other scripts that you can edit.

After following this approach, you can easily install Windows PE on a hard drive and use it at the time of an emergency.

Tips for Running Windows PE Installation

Here we have listed some tips for installation of Windows PE:

FAQ

Why Do You Require Windows PE for Windows 10?

Windows Preinstallation Environment can do a lot of things for you:

How to Run the Installation of Windows PR on SSD?

Installing Preinstallation Environment on your SSD can be a great alternative to building a bootable DVD or USB stick. Here we’ll discuss the installation steps of Windows PE into the virtual disk:

  1. Download Win10ISO picture.
  2. Extract the file named as \sources\boot.wim.
  3. To make a virtual disk, make %windir%\system32\diskpart.exe.
  4. Now, use the boot.wim picture to the virtual disk.
  5. Add WindowsPE to the boot menu.
  6. Alter the user locales and input.
  7. After some time, your systems restart. It is time to boost directly to Windows PE.

How to Install WinPE to a Portable Hard Drive?

Step 1. Prepare the partition for Windows PE

Make sure you press enter button after each command.

Step 2. Copy WindowsPE to HD

Now, use a 7-zip tool to extract WinPE ISO to the portable drive directly. Here are the steps for it:

Step 3. Boot your Drive

(Replace D: with the letter of your hard drive)


Wrapping Up:

Windows PE is a tiny OS used to install and repair windows. We have discussed the step-by-step process to install it on your HD quickly.

If you wish to recover your lost content, then you can try Wondershare Data Recovery pro that supports Windows PE as well. In this way, you can perform the data recovery operation while using Recoverit data recovery without any trouble.

Hard Drive Recovery Software

Your Safe & Reliable Hard Drive Recovery Software

  • Recover lost or deleted files, photos, audio, music, emails from any storage device effectively, safely and completely.
  • Supports data recovery from recycle bin, hard drive, memory card, flash drive, digital camera, and camcorders.
  • Supports to recover data for sudden deletion, formatting, hard drive corruption, virus attack, system crash under different situations.
Recoverit author

David Darlington

staff Editor

Home > Resources > Windows Computer Solutions > How to Install WinPE on a Hard Drive