Back to Basics – Reset the Windows 10 Admin Password using DaRT

Here is a guide for create a DaRT recovery media that allows for resetting the admin password of a Windows 10 machine. In this case it was a Windows 10 20H2 machine, where the admin password was not known, and the machine was in a workgroup mode too.

DaRT Background

DaRT, or the Microsoft Diagnostics and Recovery Toolset, is part of the Microsoft Desktop Optimization Pack (MDOP), which is a great set of tools available as a subscription for Software Assurance customers. DaRT is primarily used to diagnose and fix a computer that cannot boot, or is having other issues starting. One of the tools included in DaRT is the Locksmith tool that allow you to reset passwords for local users on the device.

Install DaRT, and creating the DaRT Recovery Image

Creating the DaRT recovery media is a fairly straightforward process. You need to have the Windows ADK and the WinPE addon installed, and have access to a Windows 10 media since DaRT are using files from those. I have only tested DaRT with Windows ADK 10 2004.

Note: Based on heavy real-world experience I recommend using the same version of Windows 10 as the version you are about to recover and build media from. Otherwise, you may run into this error when generating the DaRT media.: Package is not applicable: 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\'

Anyway, after downloading the MDOP 2015 ISO from VLSC, mount the ISO and install MSDaRT100.msi from the DaRT\DaRT 10\Installers\en-us\x64 folder. Use the default settings for the install wizard

The MSDaRT100.msi file.
The DaRT installer showing the DaRT Recovery Image option.

Note: If the installer is now showing the DaRT Recovery Image option, you are most likely missing the Windows ADK and WinPE Addon for Windows ADK on the machine.

DaRT Install wizard.

Once the installation is complete, you can go ahead and start the DaRT Recovery Image tool from the start menu. Simply point it to where you have the Windows 10 media, and it will create a boot image for you. Either as a WIM file, or ISO, or both. Below are some screenshots of the process.

When the DaRT Recovery Image has been created, simply boot your device on it, and start the DaRT tools from the recovery menu. When the DaRT tools menu is shown, select the Locksmith option to reset the admin password. This is what it's look like:

About the author

Johan Arwidmark

5 1 vote
Article Rating
Notify of
Oldest Most Voted
Inline Feedbacks
View all comments
6 months ago

Hello Johan, would be great if you could create a blog entry that explains how to setup DaRT that you can do a remote desktop session with a PC that is doing PXE. BR Daniel

1 year ago

Does Dart 10 works with Win11? I've done few testing but can't get it to work. I've looked at the Microsoft Documentation and there is no mention of Win11, but I just want to confirm

Mike Compton
Mike Compton
1 year ago

Hi Johan, can you please update your DaRT WinPE injection article to explain how you can add the LockSmith tool, in addition to remote control?

Chad Simmons
1 year ago

I saw this blog post in my feed about 3 weeks ago and thought, "wow, I haven't needed to do this in 7 years". Then today a customer needed it. Your timing was fantastic.

1 year ago

Hi Johan, we cannot thank you enough for all these amazing blogs. My question is I have this issue on a VM and cannot login to Admin account, so how can I instal DaRT.msi on this VM when I am not able to login to or?