Active Directory Authoritative and Non-Authoritative Restore Server 2008

Take systemstate backup.

After installation of Role Windows Backup/Restore with Command line option selected, Run wbadmin from an elevated command prompt. (To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator

Syntax: Wbadmin start systemstatebackup –backupTarget: <VolumeName>[-quiet]
Example: Wbadmin start systemstatebackup –backupTarget:D:

Restore Server 2008 Active Directory (non-authoritative)

1. On Server 2008 DC, open the command prompt on the server.

2. Run below commands to enter Directory Services Restore Mode (DSRM).

Bcedit / set safeboot dsrepair
Shutdown –t 0 -r

Note: To manually boot in Directory Services Restore Mode, press the F8 key repeatedly. Use the up/down arrow keys to select Directory Services Restore Mode or DS Restore Mode. Then press the Enter key.

3. Login using administrator and DSRM password.

4. Run below command (note that e: is the drive letter of your backup), this will show you the version identifier of the backup.

Wbadmin get versions –backuptarget:D:

5. Run below command to start the restore.

Wbadmin start systemstaterecovery -version:18/09/2013-16:57–backuptarget:d:

6. After the restore process is completed, run following commands to reboot.

Bcedit /deletevalue safeboot
Shutdown –t 0 -r

Restore Server 2008 Active Directory if Someone Accidentally Deletes an Object. (Authoritative restore)

1.Restore Server 2008 Active Directory (non-authoritative), do not reboot the server

2. Open command prompt, run following commands, where CN=Sumit,OU=IT,DC=SYSGHOST,DC=LOCAL is the object you wish to restore.

C:>ntdsutil
ntdsutil: activate instance ntds

Active instance set to “ntds”.

ntdsutil: authoritative restore

authoritative restore: restore object CN=Sumit,OU=IT,DC=SYSGHOST,DC=LOCAL

3. Once it’s completed. Type quit

4. After the restore process is completed, run following commands to reboot.

     Bcedit /deletevalue safeboot
Shutdown –t 0 -r
Advertisements

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