System Recovery Tools (SRT) in Custom Windows PE Image

The System Recovery Tools (WinPE-SRT-Package) was removed from the Windows Automated Installation Kit (WAIK) which has a lot of people that were relying on this in a quandary. While many have moved to BartPE to address this need, there are workarounds. One is to include the needed file and registry entries yourself: http://www.msfn.org/board/WinPE-SRT-Package-t104854.html. Another alternative for those who have access to it is to use the OPK which did not remove WinRE. Finally, you can still use the boot.wim from the Vista installation DVD/ISO 1. Launch the Windows PE Tools Command Prompt as administrator. 2. Create a directory for the WinRE Windows PE image and a mount point
mkdir c:\winre_image
mkdir c:\winre_mount

3. Copy the Windows PE image from the installation media using ImageX
imagex.exe /export /boot c:\winpe\boot.wim 2 c:\winre_image\winre.wim “Windows Recovery Environment”

4. Mount the image using ImageX
imagex /mountrw c:\winre_image\winre.wim 1 c:\winre_mount

5. Using a text editor, create a file called winpeshl.ini that contains the following text:.

[LaunchApp]
AppPath=x:\sources\recovery\recenv.exe

6. Copy this file to \Windows\System32 directory in your mounted Windows PE directory (copy winpeshl.ini c:\winre_mount\Windows\System32)

7. Unmount the image and commit your changes: imagex.exe /unmount /commit c:\winre_mount

At this point you should have a WinRE image you can work with. Unfortunately it is a prepped image (PeImg /Prep) which means you cannot do everything to it you may wish, but it should get most people most of what they need!

This entry was posted on Monday, March 31st, 2008 at 7:02 am and is filed under Windows PE. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply