Bootable WinRE (Windows Recovery Environment) is a handy tool that allows you to troubleshoot and fix issues with your Windows operating system. It is a lightweight version of Windows that can be booted from a USB drive or DVD. In this article, we will guide you on how to create a bootable WinRE and include certain applications in it.
What is WinRE?
WinRE is a recovery environment provided by Microsoft that allows you to repair your Windows installation when it fails to start properly. It is equipped with various tools and utilities that can help you diagnose and fix issues with your system.
Creating a Bootable WinRE
To create a bootable WinRE, you will need a USB drive or a DVD with at least 512 MB of free space. Follow the steps below to create a bootable WinRE:
- Insert your USB drive or DVD into your computer.
- Open the Windows Recovery Environment by pressing the Windows key + R, typing "recoverydrive" (without quotes), and pressing Enter.
- The Recovery Drive tool will open. Make sure the "Back up system files to the recovery drive" option is checked and click Next.
- Select your USB drive or DVD and click Next.
- Click Create. This will start the process of creating a bootable WinRE on your USB drive or DVD.
- Once the process is complete, you will have a bootable WinRE that you can use to troubleshoot and repair your Windows installation.
Adding Applications to WinRE
By default, WinRE includes a set of built-in tools and utilities. However, you can also add your own applications to enhance its functionality. Here's how you can add applications to WinRE:
- Prepare your application files by copying them to a separate folder on your computer.
- Open the Command Prompt as an administrator by right-clicking the Start button and selecting "Command Prompt (Admin)".
- Type the following command and press Enter:
reagentc /info. This will display information about the recovery environment. - Note down the "Windows Recovery Environment Path" value. It will look something like
C:\Windows\System32\Recovery\Winre.wim. - Type the following command and press Enter:
DISM /Mount-Wim /WimFile:"C:\Windows\System32\Recovery\Winre.wim" /Index:1 /MountDir:"C:\WinRE". Replace the path with the one you noted down in the previous step. - Type the following command and press Enter:
xcopy /s "C:\YourApplicationFolder" "C:\WinRE\YourApplicationFolder". Replace "C:\YourApplicationFolder" with the path to your application folder. - Type the following command and press Enter:
DISM /Unmount-Wim /MountDir:"C:\WinRE" /commit.
That's it! Your application has been added to WinRE. The next time you boot into WinRE, you will be able to access and use your application.
Conclusion
Creating a bootable WinRE and adding applications to it can be extremely useful when it comes to troubleshooting and repairing your Windows installation. With the ability to customize WinRE with your own applications, you can enhance its functionality and make it even more powerful.
References
| Reference | Link |
|---|---|
| Microsoft Support - Windows Recovery Environment (WinRE) | https://support.microsoft.com/en-us/windows/windows-recovery-environment-winre-5e6688cd-491e-99a0-79f0211b7c86 |
| Microsoft Docs - DISM Image Management Command-Line Options | https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-image-management-command-line-options-s14 |