Domain Controller keeps starting in Directory Service Restore mode


After installing the latest batch of Microsoft updates on one of my virtualized domain controllers. I needed to restart the virtual machine. Nothing interesting so far but when the virtual machine was started I logged on with the correct credentials and noticed that the virtual machine was started in

Check the safeboot parameter via bcdedit:

image

if the safeboot contains DsRepair the domain controller will start in Directory Services repair mode. I don’t know why or who changed the safeboot parameter. But I know how you can delete this value so the VM will start normally. Just run the following command to delete the DsRepair value: bcdedit /deletevalue safeboot and shutdown –r –t 10 to restart the virtual machine.

More information about Directory Services Restore mode can be found here.

About these ads

2 Responses to Domain Controller keeps starting in Directory Service Restore mode

  1. habibalby says:

    Hello,
    This could happened only if the DC was restored from a Backup Vss/Domain Controller aware, as the virtual DC when its backed up it does enable DS restore mode to ensure that the DC will be restored without any issues.

    Start>Run “msconfig” on the domain controller you will see an option Directory Service Safe mode or AD safe mode.

  2. habibalby says:

    Hello,
    This could happened only if the DC was restored from a Backup Vss/Domain Controller aware, as the virtual DC when its backed up it does enable DS restore mode to ensure that the DC will be restored without any issues.

    Start>Run “msconfig” on the domain controller you will see an option Directory Service Safe mode or AD safe mode.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,173 other followers

%d bloggers like this: