Restart the domain controller in Directory Services Restore Mode Remotely

Source: Internet
Author: User
Tags administrator password
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.

If 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-clickMy computer, ClickProperties, And then clickAdvancedTab.

  3. ClickSettings for startup and recovery.

  4. ClickEditButton to edit the startup options file.

  5. Modify the default entry to include/Safeboot: dsrepairSwitch, as shown in the following example:

    Multi (0) disk (0) RDISK (0) Partition (2) \ WINNT = "w2k DC \\ Your server name "/Fastdetect/safeboot: dsrepair

    Note
    The/Safeboot: dsrepairSwitch works for Domain Controllers Running Windows 2000 Server and Windows Server 2003.

  6. Save the modified boot. ini file, and then close notepad.

  7. OnStartMenu, clickShut down, And then clickRestart. During the restart process, the terminal services client reports that the session is disconnected.

    Caution
    Be sure to clickRestartAnd notShut downAt this step. If you clickShut 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-clickMy computer, ClickProperties, And then clickAdvancedTab.

  11. ClickSettings for startup and recovery.

  12. ClickEditButton to edit the startup options file.

  13. Delete/Safeboot: dsrepairSwitch from the default entry in the boot. ini file, save the file, and then close notepad.

    Important
    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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.