How to boot Windows Server in Directory Services Restore Mode (DSRM)

This article will show you how to boot Windows Server in Directory Services Restore Mode (DSRM) to repair or recover Active Directory (AD).

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

For Windows Server, Directory Services Restore Mode (DSRM) is a special boot mode to repair or recover damaged Active Directory (AD). If the AD on your Windows Server is so damaged, using DSRM is recommended. In our previous article, we’ve seen how to reset Directory Services Restore Mode password. Now, in this article, we’ll see how to boot Windows Server in Directory Services Restore Mode (DSRM).

DSRM would be the only way to log in to a Windows Server, in case if you can’t login with AD. Also, when you boot into DSRM, the domain controller is taken offline. To login into DSRM, you can only use DSRM password. This is because the DSRM password used is for the local Administrator account. It is authenticated by the local Security Accounts Manager (SAM) database.

Here’s how to boot your Windows Server into DSRM.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

Method 1 – Using MSCONFIG

1. Press W8K + R and type msconfig in Run dialog box to open System Configuration Utility. Click OK.

System Configuration Utility

2. In System Configuration Utility, go to Boot tab. Under Boot options, check Safe boot and then select Active Directory repair. Click Apply, OK.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

3. After that, you would immediately see a pop-up, click on Restart in that.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

Now your Windows Server will restart and then boot into DSRM.

Method 2 – Using Advanced Recovery Options

1. Right click Start Button or press W8K + X keys and select Settings.

2. In the Settings app, navigate to Update & Security > Recovery and click on Restart now under Advanced startup.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

3. Choose a reason to restart and click Continue.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

4. You should be now seeing recovery mode interface. Under Choose an option, click Troubleshoot.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

5. Moving on, under Advanced options, click on Startup Settings.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

6. In the next window, under Startup Settings, click on Restart.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

7. Finally, under Advanced Boot Options, select Directory Services Repair Mode and press Enter.

How to boot Windows Server in Directory Services Restore Mode (DSRM)

Your system should now restart and boot into DSRM.

That’s it!

Share this article
https://www.kapilarya.com/how-to-boot-windows-server-in-directory-services-restore-mode-dsrm

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

Leave a Comment

Your email address will not be published. Required fields are marked *