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
Use Remote Desktop Connection to connect to the domain controller that you want to restart in Directory Services Restore Mode.
Right-clickMy computer, ClickProperties, And then clickAdvancedTab.
ClickSettings for startup and recovery.
ClickEditButton to edit the startup options file.
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. |
Save the modified boot. ini file, and then close notepad.
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. |
Wait until the restart process completes on the remote domain controller, and then reconnect the Client Session.
When the client session is reconnected, log on as the local administrator.
Right-clickMy computer, ClickProperties, And then clickAdvancedTab.
ClickSettings for startup and recovery.
ClickEditButton to edit the startup options file.
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.