Monday, October 15, 2012

2 Options to Reset Directory Services Restore Mode Password

When a Windows Server 2008/2003/2000 machine is prompted to a domain controller (DC), the Directory Services Restore Mode (DSRM) password is created for the local administrator account. This password will be used only when booting into the recovery console or Directory Services Restore Mode. If you forget the DSRM password, you can't use the recovery console nor restore the Active Directory (AD) database.

Luckily there are two simple solutions to a forgotten DSRM password: Ntdsutil and Reset Windows Password. In this tutorial we'll show you how to use the software to reset Directory Services Restore Mode password in Windows Server 2008/2003/2000 domain controller.

Option 1: Reset DSRM Password with Ntdsutil

  1. On your machine, select Run from the Start menu, type ntdsutil and click OK. Ntdsutil
  2. At the Ntdsutil command prompt, type set dsrm password.
  3. At the DSRM command prompt, 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 command:
    reset password on server thanos
    To reset the password on the local machine, specify null as the server name:
    reset password on server null
  4. You'll be prompted twice to enter the new password.
  5. Type q to exit the DSRM command prompt. reset DSRM password
  6. At the Ntdsutil command prompt, type q to exit.
You can now use the local administrator account to log on to the recovery console or Directory Services Restore Mode using the new password. However, you can only use the Ntdsutil utility to reset DSRM password while logging into domain controller. If you also forgot domain administrator password, then you need to use the method below to change your forgotten DSRM password.

Option 2: Reset DSRM Password with Reset Windows Password Utility

  1. You need an alternative computer with internet access to download the Reset Windows Password utility.
  2. Unzip the download file, you'll get the ResetWindowsPwd.iso file.
  3. Burn the ISO image file to a CD or USB thumb drive using the ISO2Disc tool.
  4. Insert your newly burned CD/USB drive into the domain controller and power it up. Set the computer to boot from CD/USB by going into BIOS.
  5. Once you've gotten it to boot from the CD/USB, the computer will load the system inside the CD/USB drive and launch the Reset Windows Password utility. Reset Windows Password
  6. Click on the Reset Local Admin/User Password option, you'll see the Windows SAM database and local user accounts.
  7. Choose the local administrator account and click on the Reset Password button.
  8. It will remove your forgotten DSRM password immediately.
Additionally, you can also use Reset Windows Password utility to reset forgotten domain administrator password for Windows 2000 / 2003 / 2008 Active Directory domain controllers.

No comments:

Post a Comment