Subscribe to Windows IT Pro
May 04, 2004 12:00 AM

Q. How can I reset the Directory Service Restore Mode Administrator password?

Windows IT Pro
InstantDoc ID #42540
Rating: (7)

A. In Windows 2000 Server, you used to have to boot the computer whose password you wanted to change in Directory Restore mode, then use either the Microsoft Management Console (MMC) Local User and Groups snap-in or the command

net user administrator *

to change the Administrator password. Win2K Server Service Pack 2 (SP2) introduced the Setpwd utility, which lets you reset the Directory Service Restore Mode password without having to reboot the computer. (Microsoft refreshed Setpwd in SP4 to improve the utility's scripting options.)

In Windows Server 2003, you use the Ntdsutil utility to modify the Directory Service Restore Mode Administrator password. To do so, follow these steps:

  1. Start Ntdsutil (click Start, Run; enter cmd.exe; then enter ntdsutil.exe).
  2. Start the Directory Service Restore Mode Administrator password-reset utility by entering the argument "set dsrm password" at the ntdsutil prompt:
    ntdsutil: set dsrm password
  3. Run the Reset Password command, passing the name of the server on which to change the password, or use the null argument to specify the local machine. For example, to reset the password on server thanos, enter the following argument at the Reset DSRM Administrator Password prompt:
    Reset DSRM Administrator Password: reset password on server thanos
    To reset the password on the local machine, specify null as the server name:
    Reset DSRM Administrator Password: reset password on server null
  4. You'll be prompted twice to enter the new password. You'll see the following messages:
    Please type password for DS Restore Mode Administrator Account: 
    Please confirm new password: 
    Password has been set successfully.
  5. Exit the password-reset utility by typing "quit" at the following prompts:
    Reset DSRM Administrator Password: quit
    ntdsutil: quit

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.