How to reset the Directory Services Restore Mode administrator account password
Published August 27, 2022 by Danny Moran
Table of Contents
Introduction
Learn how to reset the Directory Services Restore Mode (DSRM) administrator password using ntdsutil. In this example, I show you how to use ntdsutil to reset the DSRM password for a local domain controller as well as a remote domain controller.
How to reset the Directory Services Restore Mode administrator account password video
How to reset DSRM password on a local domain controller
Log onto the domain controller and open command prompt as administrator.
Type ntdsutil and press enter
Type set dsrm password and press enter
Type reset password on server null and press enter
Type the new DSRM password and press enter
Type the new DSRM password again to confirm and press enter
The DSRM password has been changed.
How to reset DSRM password on a remote domain controller
Log onto the domain controller and open command prompt as administrator.
Type ntdsutil and press enter
Type set dsrm password and press enter
Type reset password on server SERVERNAME and press enter
Note: replace SERVERNAME with the hostname of the domain controller you want to reset the DSRM password on.
Type the new DSRM password and press enter
Type the new DSRM password again to confirm and press enter
The DSRM password has been changed.