Steps to reboot a Windows Server 2008 DC into DSRM

Windows Server 2008 related tips, questions, answers, concerns and more...
Post Reply
ManU
Founder
Founder
Posts: 98
Joined: Sat Sep 26, 2009 9:57 am
Location: India
Contact:

Steps to reboot a Windows Server 2008 DC into DSRM

Post by ManU » Tue Apr 06, 2010 9:29 am

Steps to reboot a Windows Server 2008 DC into DSRM (Directory Service Restore Mode)

Changing the boot options to make Windows Server 2008 boot into DSRM is not quite as easy as it used to be. The entire Windows boot environment has been re-engineered to support the new Extensible Firmware Interface (EFI) and the old school boot.ini file no longer exists. Instead, Windows Server 2008 uses Boot Configuration Data (BCD) to control the boot process.
The simplest way to manage the BCD is to use the BCDEDIT command line program.

To reboot a Windows Server 2008 DC into DSRM, use the following command:

Code: Select all

C:\> bcdedit /set safeboot dsrepair
This will set the safeboot option for the default boot loader entry. In a fresh Windows Server 2008 installation, there is only one boot loader entry, WINLOAD.EXE. To remove the safeboot option and reboot in normal mode, use this command:

Code: Select all

C:\> bcdedit /deletevalue safeboot
To add a new bootloader entry, use this command:

Code: Select all

C:\> bcdedit /copy {default}
/d "Directory Service Repair Mode"
This action will create a new bootloader entry by copying the default bootloader entry.
The GUID identifies the new entry. Then use this command to set the safeboot option for the new bootloader entry in the BCD:

Code: Select all

C:\> bcdedit /set {<GUID for new entry>}
safeboot dsrepair
You can now switch from normal boot mode to DSRM boot mode using the Startup and Recovery settings (see Figure below).
cc462796_fig10(en-us).gif
cc462796_fig10(en-us).gif (29.45 KiB) Viewed 3310 times
Thanks
MANU PHILIP
Microsoft MVP(Exchange Server)
| MCITP | MCTS | MCSA | ITIL V3 |
TechNet Forums Profile: ManU

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest