How to replace default Windows 7 Recovery Environment in Diagnostic and Recovery Toolset

By Ben Ben    5,200 views

Abstract

This guide describes how to replace the default Windows Recovery Environment (RE) with a Diagnostic and Recovery Toolset version 6.5 (new version of Winternals ERD Commander).

Introduction

Microsoft has been developed a new version of ERD Commander from Winternals, which Microsoft acquired while ago; Named Diagnostic and Recovery Toolset, or DaRT for short.

In order to replace Windows RE boot image with DaRT you’ll need to use account with administrative privileges (member of the local Administrators group at least).

It’s recommended to replace the default Windows RE within DaRT for getting wide local troubleshooting toolset such as LockSmith for passwords reset, restoration utility, etc.

In order to perform the replacement follows these steps:

Preparing the field…

1. Open Windows Explorer, click with Alt and choose Folder Options from the Tools menu.

2. Choose Show hidden files, folders and drives and deselect Hide protected operating system files (Recommended) and Hide extensions for known file types.

change_winre_with_dart_1

3. Then click OK.

4. Open C:\ Drive, right-click Recovery folder. Choose Properties from the menu.

5. Select Security tab, and click on Edit.

6. On the new windows, click on Add and find you user account, then click on OK.

7. Assign Allow: Full Control permissions for the specific account and click on OK.

change_winre_with_dart_2

Now, as you can see the C:\Recovery folder is accessible to your user account.

change_winre_with_dart_3

At C:\Recovery\<UID> you’ll find the Winre.wim image file. This is the Windows RE image that have been loaded every time you’re choosing to repair your computer from the F8 startup menu.

change_winre_with_dart_4

Creating ERD Commander ISO Image

1. Install DaRT 6.5 from Microsoft Desktop Optimization Pack 2009 R2 (available to customers with active Software Assurance license) on your computer or on computer with DVD burner.

change_winre_with_dart_5

2. Open ERD Commander Boot Media Wizard from the Windows menu and follow these steps to create ERD ISO image:

2.1. On the welcome screen click Next.

change_winre_with_dart_6

2.2. Insert and navigate to Windows 7/Server 2008 R2 media and click Next.

change_winre_with_dart_7

2.3. On the Preparing files screen click on Next.

change_winre_with_dart_8

2.4. Select or exclude the tools that will be included in your ERD image and click on Next.

change_winre_with_dart_9

2.5. Locate the Windows Debugging tools and click on Next.

change_winre_with_dart_10

2.6. Choose if you want to update your ERD’s system sweeper and click on Next.

change_winre_with_dart_11

2.7. If you want to add additional drivers, click on Add. Then click on Next.

change_winre_with_dart_12

2.8. On the Additional Files click on Next.

change_winre_with_dart_13

Note: You can add useful applications and files to your ERD ISO image such as disk imaging utility, corporate antivirus, etc.

2.9. To create the ISO image click on Next.

change_winre_with_dart_14

2.10. If you want to burn the ISO into a media set the wizard to your media burner. Click on Next to proceed.

change_winre_with_dart_15

2.11. Click on Finish.

change_winre_with_dart_16

3. On the ISO navigate to the Sources directory; inside X:\Sources (when X: is the CD driver letter) you’ll find boot.wim image.

4. Copy boot.wim into C:\Recovery\<UID>\ and change the file name to Winre.wim.

Note: It’s recommended to rename the original Winre.wim file name to Winre.wim.old or delete it from the C:\Recovery directory.

Next time you’ll restart your computer and choose Repair your computer you’ll notice that DaRT has been added to the Windows RE menu (and there’s also network support at the start of Windows RE).

change_winre_with_dart_17

Note: My personal recommendation is to deploy Windows 7/Server 2008 R2 with a built-in DaRT recovery environment support.

Note that you will need an active Software Assurance (SA) license to each OS that deployed with DaRT.

Summary

This guide described how to create ERD ISO image by using Diagnostic and Recovery Toolset and then replacing the default Windows RE boot image with DaRT boot image on Windows 7 & Server 2008 R2.

About the author

Netanel Ben-Shushan is an IT Consultant & Trainer from Israel, who works mainly with Microsoft, networking and information security systems.


One Comment

  1. Sean
    Posted April 20, 2010 at 11:55 am | Permalink

    Great article. I was wondering if you could answer a question for me. During the step 2.8 (Additional Files) you said you can add additional programs, such as your corporate AV software. I’ve been trying to find information about how to do this and have come up empty so far. Do you know where I can find more detailed information on how to add more files? Do I add just the program’s executable or do you do this another way? Any assistance would be greatly appreciated.

    I tried adding as a text, Firefox, and that failed.

Post a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Your email is never shared.