Restart the domain controller in Directory Services Restore Mode Remotely

Restart the domain controller in Directory Services Restore Mode Remotely

Updated: June 8, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

If Remote Desktop is enabled on a domain controller, you can use Remote Desktop Connection to connect to the domain controller remotely. Remote Desktop Connection (formerly known as the Terminal Services client) is installed by default on all Windows Server 2003 family operating systems.

If you use Remote Desktop Connection to connect to a domain controller remotely and you want to restart the domain controller in Directory Services Restore Mode, you must first modify the Boot.ini file on the remote server so that you do not lose the connection when the domain controller restarts.

When you start Windows Server 2003 in Directory Services Restore Mode, the local Administrator account is authenticated by the local Security Accounts Manager (SAM) database. Therefore, logging on requires that you use the local administrator password, not an Active Directory domain password. This password is set during Active Directory installation when you provide the password for Directory Services Restore Mode.

Administrative credentials

To perform this procedure, you must provide the Administrator password for Directory Services Restore Mode.

To restart the domain controller in Directory Services Restore Mode remotely
  1. Use Remote Desktop Connection to connect to the domain controller that you want to restart in Directory Services Restore Mode.

  2. Right-click My Computer, click Properties, and then click the Advanced tab.

  3. Click Settings for startup and recovery.

  4. Click the Edit button to edit the startup options file.

  5. Modify the default entry to include the /SAFEBOOT:DSREPAIR switch, as shown in the following example:

    multi(0)disk(0)rdisk(0)partition(2)\WINNT="W2K DC \\ your server name " /fastdetect /SAFEBOOT:DSREPAIR

    noteNote
    The /SAFEBOOT:DSREPAIR switch works for domain controllers running Windows 2000 Server and Windows Server 2003.

  6. Save the modified Boot.ini file, and then close Notepad.

  7. On the Start menu, click Shut Down, and then click Restart. During the restart process, the Terminal Services client reports that the session is disconnected.

    CautionCaution
    Be sure to click Restart and not Shut Down at this step. If you click Shut Down, you cannot restart the domain controller remotely.

  8. Wait until the restart process completes on the remote domain controller, and then reconnect the client session.

  9. When the client session is reconnected, log on as the local administrator.

  10. Right-click My Computer, click Properties, and then click the Advanced tab.

  11. Click Settings for startup and recovery.

  12. Click the Edit button to edit the startup options file.

  13. Delete the /SAFEBOOT:DSREPAIR switch from the default entry in the Boot.ini file, save the file, and then close Notepad.

    ImportantImportant
    If you restart the domain controller before you modify the Boot.ini file, the domain controller remains offline.

    The Boot.ini file is now returned to its original state, which starts the domain controller normally.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值