I recently found out Microsoft Diagnostics and Recovery Tools (I'll refer to it as DaRT thereafter) was quite handy. It is part of Microsoft Desktop Optimization Pack, which is available for free if you're covered by Software Assurance.
So basically the goal here it to integrate the tools available in DaRT into the WinPE boot image generated by MDT.
![]() |
| Looks handy, doesn't it? |
Took me a little while to figure out but it ended up working so I'm sharing the technique with you guys:
You will need: Windows AIK, the DaRT installer, MDT 2010 and some kind of archive utility like 7-zip.
You will also need to do this twice, once for the x86 Boot Image and once for the x64 Boot Image.
- Acquire the MS DaRT installers for x86 and x64 located in the MDOP iso available through MS Volume Licensing or MSDN.
- Follow the wizard to create the 2 ISOs, 1 for x86 and the other one for x64.
- Create a directory called the following directories: c:\DaRT\ERD and c:\DaRT\files (or whatever/wherever you like).
- Expand the ISOs to c:\DaRT\ERD\x86 and c:\DaRT\ERD\x64 (using 7-zip for example).
- Open a privileged command prompt and use the following command:
C:\Program Files\Windows AIK\Tools\Servicing>dism /Mount-Wim /wimfile:c:\DaRT\ERD\x86\sources\boot.wim /mountdir:c:\DaRT\files\x86 /index:1
and
C:\Program Files\Windows AIK\Tools\Servicing>dism /Mount-Wim /wimfile:c:\DaRT\ERD\x64\sources\boot.wim /mountdir:c:\DaRT\files\x64 /index:1 - At this point you can delete c:\DaRT\ERD if you want.
- Go to c:\DaRT\files\x86 and x64. You should see the following directories:
Program Files
Program Data
sources
Users
Windows - Delete Program Data and Users.
- Go to Program Files, delete all directories but "Standalone System Sweeper".
- Go to sources, delete all directories but "recovery".
- Go to Windows, delete all directories but "System32". Then, under System32 sort files by date. Delete all files and folders that are not timestamped as of the day you created the ISO. That should leave you with 28 files (37 if you have the debugging tools). Additionally, delete winpeshl.ini as it interferes with the MDT wizard.
- At this point we're pretty much done.
- Go to MDT, right click on your Deployment Share > Properties.
- In both Windows PE x86 Settings or Windows PE x64 Settings at the Extra Directory to add, specify C:\DaRT\files\x86 for the x86 boot image and C:\DaRT\files\x64 for the x64 boot image (or any other folder you may already be using/wanting to use).
- Rebuild your deployment share.
You're done.
Namaste.


3 comments:
This is a great article. Thanks for the info! I am using Windows 7 Enterprise and replaced WinRE with DART 7.0 in our core image. The DART tools are much more robust and are very helpful in a tight spot (especially the Standalone System Sweeper).
**There is something that you may want to know about the DaRT tools:
I was using the DART tools on my 16gb bootable USB drive which uses Multiboot ISOs USB Creator from www.pendrivelinux.com (I use this because I have a ton of bootable ISOs that I want to use on a single USB drive) until I ran into a problem. Long story short, forget about using the Locksmith tool in DART if you use Multiboot USB or Grub4DOS. DART needs to load from the root of a bootable drive such as a CD, DVD, or a USB boot disc created using the Windows 7 USB\DVD Download tool. You cannot chainload the DART ISO into a RAM disk. DART must boot from a removable device. If you don't load DART from a removable device, DART will never list an available operating system at startup.
It's part of the reason why I decided to integrate it. I didn't want to have an extra wim to maintain and the ISO (if booted through PXELinux) was not entirely working.
after doing this I am not able to see
the toolset link...all i see start repair system restore etc..any ideas?
Post a Comment