Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows 10 / Creating an MSDaRT Recovery Drive for Windows 10/11

November 25, 2024 Windows 10Windows 11Windows Server 2022

Creating an MSDaRT Recovery Drive for Windows 10/11

Microsoft DaRT (Diagnostics and Recovery Toolset, formerly ERD Commander) is an official bootable WinPE-based recovery image from Microsoft that contains diagnostic and troubleshooting tools for Windows recovery. The DaRT rescue boot drive allows to boot a computer and fix common Windows problems when the installed operating system is corrupted and won’t boot. Compared to the built-in WinRE recovery environment, the DaRT recovery image contains more useful tools (including graphical ones). For example, a tool to reset the local Windows administrator password, restore deleted files, uninstall problematic updates, check system files, etc. This article describes how to create, customize, and use a bootable MS DaRT image for the latest builds of Windows 11 and 10.

Contents:
  • Installing the DaRT Recovery Image Creation Tools
  • How to Create an MSDaRT Recovery Image for Windows 10/11
  • How to Boot from the DaRT Recovery Image

Microsoft does not provide a ready-to-run ISO/WIM boot image with a DaRT environment for download. However, it is possible for the user to create a bootable DaRT image themselves with the necessary set of tools and drivers. You will need:

  • Windows Assessment and Development Kit (Windows ADK) – includes development tools for managing Windows images.
  • Windows PE add-on for the Windows ADK (download the Windows PE add-on for the Windows ADK 10.1.26100.1 (May 2024) – contains the Windows PE (Windows Preinstallation Environment) boot environment (all versions up to Windows 11 24H2, as well as Windows Server 2025 and 2022 are supported)
  • Windows SDK package (https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) – includes debugging tools (WinDbg) needed to analyze memory dumps in the recovery environment.
  • The DaRT image creation tools are part of the Microsoft Desktop Optimizations Pack (MDOP) ISO image. The MDOP toolset has not been developed since 2015 and is only available to MSDN subscribers and enterprise users under the Microsoft Software Assurance program. Nevertheless, this ISO image can easily be found on the web – SW_DVD5_Dsktp_Optimization_Pck_SA_2015_MultiLang_MLF_X20-35801.ISO (check the hash of the ISO file: 82889A16CD81DF4539C12B9E9D717E2D6615549A037C2C628D655F10645A8F06 )
  • Windows 11 or 10 installation ISO image

Installing the DaRT Recovery Image Creation Tools

Download the specified tools to your computer and install them one by one.

First, install the Windows ADK (Adksetup.exe) to the default directory C:\Program Files (x86)\Windows Kits\10\. Install Deployment Tools only

Install Deployment Tools from Windows 10 ADK

Then install the Windows PE add-on for the Windows ADK (adkwinpesetup.exe) -> select Windows Preinstallation Environment (Windows PE).

Windows PE add-on for the Windows ADK

Then run the Windows SDK setup (winsdksetup.exe). Select only Debugging Tools for Windows from the SDK components.

Install Debugging Tools for Windows SDK

Then mount the ISO image Microsoft Desktop Optimization Pack 2015, go to the E:\DaRT\DaRT 10\Installers\en-us\x64 directory, and run the msdart100.msi installation with default settings.

msdart100.msi setup wizard in Microsoft Desktop Optimization Pack 2015

I got an error about a missing ADK when installing MS DaRT. Missing Windows ADK components when installing DaRT

The workaround is to create several missing folders for 32-bit WinPE images.

mkdir "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\Media"
mkdir "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs"
mkdir "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\en-us"

Then restart the DART installation.

Install DaRT on Windows

How to Create an MSDaRT Recovery Image for Windows 10/11

Run the DaRT Recovery Image app.

Run DaRT recovery image wizard

Specify that you want to create a 64-bit version of the DaRT image and the path to the virtual drive where the Windows 10 or 11 installation ISO x64 image is mounted.

Create 64-bit DaRT image

Select the utilities you want to include in the DaRT image (we will cover these later).

DaRT recovery tools

If you want to be able to connect remotely to a computer that has booted into the DaRT recovery environment, tick the Allow remote connection box. The connection port can be fixed or set manually on the client.

Allow remote connection to DaRT recovery environment

The next step is to add device drivers to the DaRT image (these are usually drivers for network adapters or disk controllers) and specify which WinPE components need to be integrated into the image. I will add support for DISM commands (WinPE-DismCmdlets).

Add Drivers and optional features to DaRT image

Specify the destination folder for the DaRT ISO image and click Create (optionally, you can also save a WIM file with the image and a PowerShell script used to create the image with the selected parameters for later use.).

Create DaRT recovery image for Windows 10 and 11

An ISO file containing a bootable image of DaRT for Windows will appear in the specified directory in a few minutes. The size of the DaRT image is about 700 MB in my case.

DaRT10 ISO image

You can immediately write the ISO image to a USB flash drive

Burn DaRT10 recovery image to bootable USB stick

How to Boot from the DaRT Recovery Image

Now, if Windows fails to boot on a computer, you can select the USB flash drive with the DaRT image as the primary boot device in your computer’s UEFI/BIOS settings and boot from it.

A WinRE environment menu appears on boot. Select the Microsoft Diagnostics and Recovery Toolset (Launch various DaRT recovery tools) item in the Troubleshoot section.

Boot from Microsoft Diagnostics and Recovery Toolset (Launch various DaRT recovery tools)

You will see a list of available tools in the DaRT recovery image:

Diagnostics and recovery Toolset

  • Registry Editor
  • Locksmith – allows to reset the password and enable the administrator account
  • Crash Analyzer – tool for analyzing memory dumps that cause boot failures
  • File Restore – find and recover deleted files (not applicable for SSDs)
  • Disk Commander – Tool to recover deleted/corrupted volumes, MBRs, and hard disk partitions.
  • Disk Wipe – Securely erase data from storage devices, ensuring that deleted files cannot be recovered
  • Computer Management – standard Windows management snap-in. Allows to view recent system events in Event Viewer, manage services and drivers, and view Windows startup items.
  • Explorer – File Explorer GUI. It also allows you to map a network folder from a remote computer as a local drive. File Explorer GUI in recovery environment
  • Solution Wizard – the simple wizard allows you to choose the right DaRT tool for your case.
  • TCP/IP Config – configure the network settings
  • Hotfix Uninstall – useful tool to undo the installation of a security update or patch. Hotfix Uninstall tool in recovery image
  • SFC Scan – repairing Windows system image files
  • Search – file search tool
  • Defender – a simple antivirus. If you have a network connection, you can update the anti-virus definitions, or (preferably) update the signatures directly when you build the DaRT image.
  • Remote Connection – allows to establish a remote connection to a computer in the recovery environment (used for remote support)

MsDaRT is a simple and convenient rescue image for system administrators that allows them to repair Windows in case of various failures. It is possible to integrate MS DaRT into all Windows workstations by replacing the winre.wim file of the Windows Recovery Environment (WinRE) on the hidden System Reserved partition.

9 comments
3
Facebook Twitter Google + Pinterest
previous post
How to Obtain SeDebugPrivilege when Debug Program Policy is Enabled
next post
Removable USB Flash Drive as Local HDD in Windows

Related Reading

WMIC Command Not Found on Windows

May 20, 2025

Configuring Windows Protected Print Mode (WPP)

May 19, 2025

Unable to Map Drive: An extended error has...

May 13, 2025

Map a Network Drive over SSH (SSHFS) in...

May 13, 2025

Configure NTP Time Source for Active Directory Domain

May 6, 2025

9 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
Mukul July 1, 2024 - 9:00 pm

I figured it out guys, it basically means that the installed adk/winpe addon is incompatible with the windows iso you are trying to use with DaRT, download the adk/winpe addon corresponding to the windows version.

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
Juan November 7, 2023 - 9:16 am

Hi. Thanks for this. I get an error in the second step when you need to “select the source for the Windows 10 media files” (it says the is not .wim valid file). I’m running it on Windows 11.

What do I need to do?

Thanks

Reply
Mukul July 1, 2024 - 9:01 pm

You need to mount the iso with Explorer and select that directory instead of the iso file.

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

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

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Booting Windows from GPT Disk on BIOS (non-UEFI) Computer
  • Removable USB Flash Drive as Local HDD in Windows
  • How to increase KMS current count (count is insufficient)
  • How to Disable UAC Prompt for Specific Applications in Windows
  • Managing Printers and Drivers on Windows with PowerShell
  • Managing Printers from the Command Prompt in Windows
  • Fix RDP Authentication Error: The Function Requested Is Not Supported
Footer Logo

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


Back To Top