Friday, March 9, 2012

Create Microsoft DaRT ConfigMgr 2007 Boot Disk



Create ERD/DaRT ConfigMgr Boot Disk

Prerequisites

Microsoft Desktop Optimization Pack (Available through Mirosoft Software Assurance)
Microsoft Windows Automated Installation Kit Download

Create Microsoft DaRT Boot Disk

Copy Microsoft DaRT Boot Disk

1.       Mount Microsoft DaRT Boot Disk with an ISO mounting utility
2.       Copy contents to a "<DaRT Folder>” on the SCCM server
3.       Make a copy of the boot.wim file under the sources folder and call it DaRT.wim

Mount the DaRT.wim file

1.       Launch the Deployment Tools Command Prompt on the SCCM server
2.       Navigate to the <DaRT Folder> folder
3.       Run dism /mount-wim /wimfile:DaRT.wim /index:1 /mountdir:e:\mount\DaRT

Edit the DaRT.wim file

1.       Copy trace32.exe from the SMS toolkit to e:\mount\DaRT\windows\system32
2.       Create a cmd file called ITTools.cmd that has the following code to e:\mount\DaRT\windows\system32
a.       ECHO OFF
CLS
:MENU
CLS
ECHO.
ECHO ...............................................
ECHO PRESS 1, 2 OR 3 to select your task, or 4 to EXIT.
ECHO ...............................................
ECHO.
ECHO 1 - Open MS DaRT
ECHO 2 - Open Trace32
ECHO 3 - Space Holder
ECHO 4 - EXIT
ECHO.
SET /P M=Type 1, 2, 3, or 4 then press ENTER:
IF %M%==1 GOTO Dart
IF %M%==2 GOTO Trace32
IF %M%==3 GOTO BOTH
IF %M%==4 GOTO EOF
:Dart
start %systemdrive%\sources\recovery\recenv.exe
GOTO MENU
:Trace32
start trace32.exe
GOTO MENU
:BOTH
GOTO MENU
:EOF
Exit
3.       If there are other stand-alone tools you would like to add copy them to the same system32 folder and then update the cmd file with a new menu option.

Update and Finalize DaRT.WIM

1.       Launch the Deployment Tools Command Prompt on the SCCM server
2.       Navigate to the “<DaRT Folder>” folder
3.       Run dism /unmount-wim /mountdir:e:\mount\DaRT /commit

Copy DaRT.WIM to SCCM Boot Images Folder

1.       Copy the new DaRT.wim to \\<SCCM Server>\SMS_<Site Code>\OSD\boot\<version of your wim file>\

Extract and Compress DaRT.WIM

1.       Launch the Deployment Tools Command Prompt on the SCCM server
2.       Navigate to <ConfigMgr Install Dir>\osd\boot\<version of your wim>\
3.       Run imagex /export DaRT.wim 1 DaRT<version>.wim “Microsoft DaRT” /compress maximum

Import new DaRT.WIM into SCCM

1.       Launch the SCCM Console
2.       Navigate to Site Database (Site)\Computer Management\Operating System Deployment\Boot Images
3.       Right Click Boot Images and select Add Boot Image
4.       Add Boot Image Package Wizard
a.       Data Source
                                                               i.      Path:
1.       \\<SCCM Server>\SMS_<Site Code>\OSD\boot\<version of your wim file>\DaRT<version>.wim
                                                             ii.      Boot Image:
1.       Select the correct Image
                                                            iii.      Click Next
b.      General
                                                               i.      Name:
1.       ERD Commander
                                                             ii.      Version:
1.       6.5 x86 or x64
                                                            iii.      Click Next
c.       Summary:
                                                               i.      Click Next
d.      Confirmation:
                                                               i.      Click Finish

Modify DaRT Boot Image

1.       Navigate to Site Database (Site)\Computer Management\Operating System Deployment\Boot Images
2.       Right Click on the New Boot Image and select Properties
a.       Click on the Windows PE tab
b.      Check Enable command support
c.       Click OK
d.      Answer Distribution Point Update Required box appropriately to your environment.
3.       Navigate to Site Database (Site)\Computer Management\Operating System Deployment\Drivers
a.       Right click on any NIC or HDD controller driver that you have assocated to the old boot image and update the new boot image with them
b.      Update the distribution points again once all drivers have been added to the new boot images

Create New Task Sequences or Update existing Task Sequences with new boot image.

1.      Open the SCCM Console
2.      Navigate to Site Database (Site)\Computer Management\Operating System Deployment\Task Sequences and find the Task Sequence to update
a.      Right Click your Task Sequence and select Properties
b.     Click the Advanced Tab
c.      Click Browse and select your new Boot Image

Access DaRT portion of the Boot Image

After you have booted from the Boot Image and sitting at the Task Sequence Welcome screen
1.       Press F8 (should open a command prompt if you enabled command prompt support on your boot image)
2.       Type ittools
3.       Type 1 and press Enter (this will launch the DaRT portion of the ConfigMgr boot image)
       exchange spam filter

5 comments:

  1. You should update this to reflect SCCM2012 SP1 which requires the WinPE version 4 images from DaRT 8.

    Also I had a problem where I had to modify the target path. I had to run the command option /set_targetpath:X:\ under the Edit Dart.wim file section to get the Dart 8 wim to boot.

    Lastly it appears that Dart8 is only for Win8 systms so we can not use Dart8 as a recovery enviorment for Win 7.

    ReplyDelete
    Replies
    1. I will look into updating but Dart8 can be used for Windows 7 recovery. There is just a few extra clicks to get to the recovery tools.

      Delete
    2. Can you please explain the extra clicks to get to the recovery?

      Thanks

      Delete
    3. I have created a new post you may be interested in. http://fritschetom.blogspot.com/2013/04/step-by-step-replace-default-recovery.html

      Delete
  2. I had a few issues with getting this to work with SCCM 2012 SP1. I have written an updated guide available at http://www.ideadata.co.uk/index.php/pxe-booting-dart-8-1-with-sccm-2012-including-remote-viewer/

    This fully supports Bitlocker and also uses DaRT remote viewer to allow 100% remote support after PXE Booting

    ReplyDelete