Home > Articles > Certification > Microsoft Certification

Windows Server 2008 Portable Command Guide: Using ntdsutil

  • Print
  • + Share This
This chapter helps you to become familiar with ntdsutil commands and capabilities to help in preparing for the 70-640, 70-646, and 70-647 exams.
This chapter is from the book

This chapter provides information and commands concerning the following topics:

  • Resetting the directory services restore mode password
  • Changing the garbage collection logging level
  • Moving Active Directory to a different drive
  • Defragmenting Active Directory
  • Performing an authoritative restore
  • Removing a domain controller from Active Directory
  • Seizing an operations master role

Resetting the Directory Services Restore Mode Password

The following steps show how to reset the Directory Services Restore Mode (DSRM) password.




Start a command prompt with administrative permissions on a domain controller.


Type ntdsutil and press Enter.


Type set dsrm password and press Enter. This accesses the Reset DSRM Administrator Password prompt.


Type reset password on server servername and press Enter. Substitute servername with the name of the domain controller.


Type a new password and press Enter. Type the same password and press Enter again.


Type quit and press Enter. Type quit and press Enter again.

  • + Share This
  • 🔖 Save To Your Account