Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / How to Create the DaRT 10 Recovery Image

January 18, 2018 Windows 10Windows Server 2012 R2

How to Create the DaRT 10 Recovery Image

ERD Repair Disk is an unchallenged administrator’s assistant to recover Windows refusing to boot for a number of reasons. In this article, we’ll tell how to create your own boot ERD disk with a set of tools to recover Windows 10 or Windows Server 2016. To create an ISO image of the recovery disk, we’ll use a set of MSFT tools called Diagnostics and Recovery Toolset (DaRT).

Contents:
  • What We Need
  • Installation of Windows ADK 10, WinDbg
  • DaRT Installation
  • Creating DaRT 10 Recovery Disk
  • How to Use DaRT

What We Need

To use DaRT 10 Boot Media Wizard that allows to create a DaRT image (ERD Commander) boot/repair disk, you will have to install a number of Microsoft packages for image management, development and deployment:

  • Windows Assessment and Development Kit for Windows 10 (Windows ADK0) contains a number of development utilities as well as some tools to manage Windows images. It also contains Windows PE (Windows Preinstallation Environment) necessary to boot the system
  • Windows 10 Debugging Tools are required to analyze dumps using Crash Analyzer in DaRT 10 environment. Debugging Tools are the part of Windows SDK, which you can download and install only Debugging Tools for Windows component
  • .NET Framework 5.1 (installed by default on Windows Server 2016 and Windows 10)
  • To create DART 10 image you shiuld use Windows 2012 R2 / 2016 or Windows 8.1 / 10
  • DaRT10 is a part of MDOP 2015 (Microsoft Desktop Optimization Pack 2015) that is not freely available. You can download it only if you are a corporate subscriber ( Microsoft Software Assurance)
  • Windows 10 x64 distribution as an ISO image or on a DVD

Installation of Windows ADK 10, WinDbg

After you have downloaded all necessary tools, you can install them. First of all, install Windows ADK.

Run Adksetup.exe. Specify C:\Program Files (x86)\Windows Kits\10\ as an installation directory.

Windows Assessment and Development Kit for Windows 10

Select only 2 items from the list of the components to be installed:

  1. Deployment Tools
  2. Windows Preinstallation Environment (Windows PE)

installing Windows Preinstallation Environment (Windows PE)

Continue the installation. The installer must download all the necessary components from the Internet and install them.

Then run Software Development Kit for Windows 10 installer (but first of all install the KB3118401 — Update for Universal C Runtime in Windows). We need only Debugging Tools for Windows out of the SDK components.

installing Debugging Tools for Windows

DaRT Installation

We need the ISO image of Microsoft Desktop Optimization Pack 2015 (SW_DVD5_Dsktp_Optimization_Pck_SA_2015_MultiLang_MLF_X20-35801.iso) available to download only within Software Assurance program. Mount the MDOP image to the virtual drive and go to DaRT directory. As you can see, there are several DaRT versions for different Windows versions.

  • DaRT 7 – WinPE 3
  • DaRT 8 SP1 – WinPE 4
  • DaRT 8.1– WinPE 5
  • DaRT 10 – WinPE 10

distribution DaRT 10

Since we are going to create a bootable disk for Windows 10 x64, go to F:\DaRT\DaRT 10\Installers\en-us\x64. Run the installation file msdart100.msi with the default settings.

dart 10 setup wizard

Creating DaRT 10 Recovery Disk

The DaRT wizard allows to create both x86 and x64 images. DaRT 10 boot disk can be used to boot Windows 10, Windows 8 and Windows 7.

Run the application to create DaRT Recovery Image.

DaRT Recovery Image

Specify that you need a 64-bit DaRT image and select the path to the virtual drive with Windows 10 x64 distribution.
select the type of DaRT image to create - 64 bit DaRT image

Check the tools to be included in DaRT 10 image.

dart 10 tools

If you want to connect to a computer booted in DaRT remotely, check “Allow remote connections”. You can set the fixed connection port, or it has to be specified directly on the client.

DaRT : Allow remote connections

In the next step, you can add some drivers to the DaRT image (for network adapters, as a rule) and specify which WinPE components will be integrated into the image.

Adding WinPE options to DaRT image
Now you just have to specify the directory to save the DaRT ISO image to (optionally, you can save it a WIM file and a PoSh script used to create the image with the specific settings to be used later). To generate the image, click Create.

create iso and wim file with DaRT 10 image

If it is OK, in some minutes the ISO file with the DaRT boot image for Windows 10 will appear in the directory you have specified.

The DaRT image was successfully created

dart10.iso

Note. In my case, the creation of the image in Windows Server terminated with the following error:

Generating DaRT image
Installing and configuring DaRT tools…
The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: The request is not supported. (Exception from HRESULT: 0x80070032)
Cleaning up temporary files
Temporary folder: C:\Users\root\AppData\Local\Temp\DaRT_Mount_2017.12.16.17.58.36
The clean-up has successfully been completed.

"ErrorActionPreference" or common parameter is set to Stop: The request is not supported. (Exception from HRESULT: 0x80070032)

After making some experiments, I found out that the image would be created successfully without File Restore and Disk Commander tools. If any of these tools were present, the process would abort. It was very strange…

exclude some dart tools

At the same time, Windows 10 image was created on a workstation without any errors.

How to Use DaRT

This DaRT image can be written to a CD/DVD disk or a USB flash drive and used to boot user computers after system failures. The set of tools in DaRT allows to diagnose and repair the most common problems (reset the administrator password, delete a secutiry update resulting in a failure, recover the registry, check system files, connect to DaRT environment remotely, etc.).

Diagnostics and recovery Toolset

You can also integrate MS DaRT in Windows at all workstations by replacing winre.wim file of Windows Recovery Environment (WinRE) on the hidden System Reserved partition.

 

 

6 comments
0
Facebook Twitter Google + Pinterest
previous post
How to Obtain SeDebugPrivilege when Debug Program Policy is Enabled
next post
FAQ: MS Office 2013 KMS and Volume License Activation

Related Reading

Using Previous Command History in PowerShell Console

January 31, 2023

How to Install the PowerShell Active Directory Module...

January 31, 2023

Enable Internet Explorer (IE) Compatibility Mode in Microsoft...

January 27, 2023

How to Disable or Uninstall Internet Explorer (IE)...

January 26, 2023

How to Delete Old User Profiles in Windows?

January 25, 2023

6 comments

SPOOTNICK April 8, 2018 - 7:53 am

If you want to create an image with all the features there are some version prerequisites to respect, here is what to install:
– ADK Version 1703: https://go.microsoft.com/fwlink/p/?LinkId=845542
– DaRT 10: 10.0.1021.0
– Windows 10 build 1703: https://msdn.microsoft.com/subscriptions/downloads/default.aspx#FileId=71730

With that you can integrate what you want without error message (tested and approved)

Reply
Robink May 14, 2019 - 3:20 pm

As of Win 10 build 1809 ADK tools Win PE is now an add in . More info here :
https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install

Reply
Jack May 13, 2020 - 9:41 pm

I also get an error if File Restore and Disk Commander tools are selected. Without those two tools the image is successfully created.
It also fails if the Remote option is selector or ANY WinPE OCs are selected. What gives?

I am running Dart 10 on Windows 10 Pro 64-bit Version 1909 Build 18363.836
Windows ADK for Windows 10, version 2004
Windows PE add-on for the ADK, version 2004
Windows 10 SDK (10.0.19041.0) for Windows 10, version 2004

Error Examples:
Generating DaRT image
Add-WindowsPackage: C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Scripting.cab
Running
Add-WindowsPackage failed. Error code = 0x800f081e
Cleaning up temporary files
Temporary folder: C:\Users\Primaruser\AppData\Local\Temp\DaRT_Mount_2020.05.13.17.34.53
The clean-up has successfully been completed.

or

Generating DaRT image
Installing and configuring DaRT tools…
The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Error applying Dart Tools to the image mounted to: ‘C:\Users\\AppData\Local\Temp\DaRT_Mount_2020.05.13.17.34.53’. Package is not applicable: ‘C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FMAPI.cab’..
Cleaning up temporary files
Temporary folder: C:\Users\\AppData\Local\Temp\DaRT_Mount_2020.05.13.17.34.53
The clean-up has successfully been completed.

Reply
Jodee August 6, 2021 - 3:59 pm

Jack did you ever figure this out? I am having hte same issue with the WinPE “Add-WindowsPackage failed. Error code = 0x800f081e”

Reply
Gabrielius November 4, 2022 - 7:07 pm

Jodee, did you ever figure that out? 😀
It seems like everyone’s issue…

Reply
Chris May 11, 2022 - 1:11 pm

I also had an error and removing the File Restore and Disk Commander tools did the trick – thank you!

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023
  • Adding Trusted Root Certificates on Linux

    January 9, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • Error Code: 0x80070035 “The Network Path was not found” after Windows 10 Update
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to Disable UAC Prompt for Specific Applications in Windows 10?
  • How to increase KMS current count (count is insufficient)
  • Managing Printers and Drivers with PowerShell in Windows 10 / Server 2016
  • Managing Printers from the Command Prompt in Windows 10 / 8.1
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top