大网数据广告活动
域与目录服务

How to reset the Directory Services Restore Mode administrator account password

· 52CE 我爱测

Describes how to reset the DSRM administrator password for any server in your domain without restarting the server.

This article describes how to reset the Directory Services Restore Mode (DSRM) administrator password for any server in your domain without restarting the server in DSRM.

Original KB number:   322672

Summary

Microsoft Windows 2000 uses the Setpwd utility to reset the DSRM password. In newer versions of Microsoft Windows Server, that functionality has been integrated into the NTDSUTIL tool. Note that you can't use the procedure that is described in this article if the target server is running in DSRM. A member of the Domain Administrators group sets the DSRM administrator password during the promotion process for the domain controller. You can use Ntdsutil.exe to reset this password for the server on which you're working, or for another domain controller in the domain.

Reset the DSRM administrator password

  1. Click Start > Run, type ntdsutil, and then click OK.

  2. At the Ntdsutil command prompt, type set dsrm password.

  3. At the DSRM command prompt, type one of the following lines:

    • To reset the password on the server on which you're working, type reset password on server null. The null variable assumes that the DSRM password is being reset on the local computer. Type the new password when you're prompted. Note that no characters appear while you type the password.

    -or-

    • To reset the password for another server, type reset password on server servername, where servername is the DNS name for the server on which you're resetting the DSRM password. Type the new password when you're prompted. Note that no characters appear while you type the password.
  4. At the DSRM command prompt, type q.

  5. At the Ntdsutil command prompt, type q to exit.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。