When using the "System State (using WSB / Wbadmin)" plug-in, restoring a Domain Controller requires additional steps to those stated in the plug-in manual, and must be run from a different mode within Windows.
Note: If using the ESE Backup Client, refer to Article 574 on restoring a Domain Controller and performing a System State recovery.
1) Install Windows 2008 on the recovery machine.
2) Install Backup Pro V6 or above with the "System State (using WSB)" plug-in or V5.1.4 and the "System State (using Wbadmin)" plug-in.
3) Reconnect to your Backup Account using Backup Pro.
4) Select the System State data to restore. This will appear in the root of a volume as “WindowsImageBackup”.
5) Restore the data to its original location, or another volume root location (e.g. if it was originally on E:\WindowsImageBackup, restoring to D:\ is fine). Using compression and restoring directly to the target are likely to speed up the restore process.
6) To restore from the Windows Image Backup, certain features are required. Run the Add Features Wizard and ensure that Windows PowerShell, Windows Server Backup and Command-line Tools are checked. Then complete the Add Features Wizard.
7) To function as a domain controller, at minimum the DNS and Active Directory Domain Services must be installed before restoring the System State. Use the Add Roles Wizard to install both services, and any other Active Directory services you require. Note: DNS and ADDS cannot be installed at the time, so run the wizard twice to install these roles.
8) Run the command dcpromo from the Command Prompt to start the Active Directory Domain Services Installation Wizard. This installs the additional software components needed by a domain controller.
9) You will also need to create a new domain. Enter any details, as these will be overwritten by the restore process.
10) Set the forest functional level as appropriate, although this will also be overwritten by the restore process. You will be prevented from configuring further options, as the server is considered the first in the forest. Click Next to continue.
11) You may encounter warning messages concerning dynamic IP addresses and DNS. If so, click Yes to continue.
12) Select the location for the Database, Log Files and SYSVOL.
13) Create a Directory Services Restore Mode (DSRM) Administrator Password. Make a note of this, and click Next to continue.
14) Click Finish to complete the wizard and reboot as prompted.
15) To restore Active Directory, System State Recovery must be run from Directory Services Restore Mode. In the Start menu, navigate to Administrative Tools > System Configuration.
16) On the Boot tab, enable Safe Boot and select Active Directory repair. Click OK, and you will be prompted to restart. If the WindowsImageBackup folder has restored to disk, restart the machine into Safe Mode (which functions as DSRM).
Note: DSRM can also be entered by pressing F8 at startup and selecting the appropriate option.
17) Log in using the Administrator account with the DSRM administrator password.
Note: If restoring to a location different to what was used during backup, the original backup volume will be name of the folder on the new drive. For example: Volume “Z:” in the Restore tree is restored to volume “F:” will result in “F:\Z_\WindowsImageBackup”. After restoring, the WindowsImageBackup folder needs to be moved to the root of the restore location. For example: “F:\WindowsImageBackup”
18) In DSRM, navigate to the WindowsImageBackup\ComputerName\SystemStateBackup folder. Open the Restore.txt file.
19) Restore.txt contains instructions to complete before the Windows Server Backup (WSB) service can run the System State restore. (Note: These instructions will differ depending on the version of WSB/Wbadmin plug-in being used.)
Example 1: The original filename of the “RenamedFolder”. Rename the “RenamedFolder” back to its original name. In the screenshot below, the original folder name is “Backup 2010-03-16 173040”.
Example 2: The VHD file from the original backup was split out to allow for de-duplication but must be recombined for WSB to operate. Run the combine.bat file and rename the folder as instructed.
20) Open a Command Prompt window and switch to the drive containing the WindowsImageBackup folder (in this example, the E drive). Copy and paste the "wbadmin start systemstaterecovery..." command as found in restore.txt and press Enter.
21) Confirm that you wish to start the restore process by pressing Y.
22) System state restore may advise you that you are not restoring to the original machine. You may also be warned that the recovery option will cause all replicated content to resynchronise after recovery. Press Y to continue in both cases.
23) The Wbadmin system state restore process may take several moments. When it completes, it will advise you to restart. Do not restart yet. There is an additional step to be completed.
24) Open System Configuration and disable Safe Mode. Click OK and restart as prompted. (Note: This is not necessary if you pressed F8 to enter DSRM mode).
25) After restarting, log in to the domain using the Administrator account.
26) When prompted, press Enter to continue the recovery.
27) You should now restart the machine to allow some Active Directory details to reload.
28) Log in again and open Windows Services. Select Active Directory Domain Services and restart the service. You will be prompted to restart the dependent services. Click Yes to confirm this.
29) Open Active Directory Users and Computers. You may encounter an error message that the domain does not exist, or could not be contacted. Click OK and select Change Domain... from the file menu.
30) Browse to your domain and select it. Click OK. Then select Save the domain setting for the current console and click OK again.
31) Active Directory is now restored and can be administered as normal.
Note: Further configuration of Active Directory may be required. E.g, you may need to transfer the Operations Masters roles after the restore.
Old Article ID: 108
Posted: 15 Feb, 2012 by Flood A.