I have found two ways of integrating MDT and DaRT.

Option 1: The first is deploying DaRT to the OS as replacement for the built in Windows Recovery Environment (WinRE).
Option 2: The second is to include DaRT as a boot option on the MDT splash screen.

Both Options assume you have installed DaRT 7.0 onto a test machine and have created media containing all user options. For Option 1 you will need to mount the created dart70.ISO file and extract the boot.wim file.

Option 1:
This sequence is taken from the Microsoft Technet video (because I never have the sound on in work!)

1. Create a BDE_Show.txt document within your DeploymentShare\scripts folder. Enter the following information (corrected from the video – partition 1 not 2)
Select Disk 0
Detail Disk
Select Partition 1
Assign Letter =S
Detail Disk
Exit

2. Create a BDE_Hide.txt document in the same place, Enter the following information
Select Disk 0
Detail Disk
Select Partition 1
Remove Letter =S
Detail Disk
Exit

3. Copy the DaRT boot.wim to the deploymentshare\scripts folder and rename it to WinRE_x64.wim

4. Create a new folder names “Deploy DaRT 7.0” within the Task Sequence (during State Restore) and add the following sections with the necessary configuration

Add New Command Line
Name: Assign Driver Letter to BDE Drive
Command Line: Diskpart.exe /s “%scriptroot%\BDE_Show.txt

Add New Command Line
Name: Create Folder on BDE Drive
Command Line: cmd /c mkdir S:\Recovery\WindowsRE

Add New Command Line
Name: Copy DaRT Image to BDE Drive
Command Line: cmd /c copy “%ScriptRoot%\WinRE_x64.wim” “S:\Recovery\WindowsRE\WinRE.wim” *****Note the name change to the .wim!!!*****

Add New Command Line
Name: Check WindowsRE Configuration
Command Line: reagentc.exe /info
Start In: C:\Windows\System32

Add New Command Line
Name: Disable Current WindowsRE Configuration
Command Line: reagentc.exe /disable
Start In: C:\Windows\System32

Add New Command Line
Name: Set DaRT as WindowsRE Image
Command Line: reagentc.exe /setreimage /path S:\Recovery\WindowsRE
Start In: C:\Windows\System32

Add New Command Line
Name: Enable DaRT WindowsRE Image
Command Line: reagentc.exe /enable
Start In: C:\Windows\System32

Add New Command Line
Name: Remove Drive Letter from BDE Drive
Command Line: Diskpart.exe /s “%scriptroot%\BDE_Hide.txt

5. The BDE Partition also needs to be expanded to 500MB. Add the following line to the customsettings.ini file
BDEDriveSize=500

Option 2:
1. From the DaRT media copy the tools.cab file into \\deployment\deploymentshare$\tools\x64 folder (or x86)
2. Open the Deployment Share, WinPE tab and select x64, Features
3. You will see the Microsoft Diagnostic and Recovery Toolset as an option
4. Check the box and then update the Deployment Share. Ensure you select the “Regenerate from Scratch” option or you may get the Command Prompt hanging during boot.
5. Now when you boot to MDT there should be a DaRT option on the splash screen. This will not appear if you have the “SkipBDDWelcome=Yes” enabled.

Advertisements

One thought on “Integrating MDT 2012 with Microsoft DaRT

  1. Thank you for this great post. This works very good.
    But in my test case it only worked when you use only one partition.

    In our company we have a mixed group of users. So we made three identical TS (1 partition, 2 partitions and 3 partitions). Your instruction sadly worked only for the TS with one partition.

    Luckily I found another website with a different way to handle it.
    If people like me, want to use more partitions, than please follow the instruction at website: http://deploymentworld.wordpress.com/2011/05/18/integrating-dart-in-a-mdt-2010-task-sequence/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s