Microsoft KB Archive/263532

= How to perform a disaster recovery restoration of Active Directory on a computer with a different hardware configuration =

Article ID: 263532

Article Last Modified on 4/9/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 4
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q263532



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SUMMARY
This article describes how to perform a disaster recovery restoration of the Microsoft Windows 2000 Active Directory domain controller on a computer that has a different hardware configuration from that of the computer where you performed the Active Directory backup.

You may have to use this procedure if no other domain controllers exist and if no computers with a hardware configuration that is similar to that of the failed domain controller are available. This article applies to computers that are running Windows 2000 Service Pack 2 (SP2) or later at the time that the backup operation was performed.

Microsoft does not support restoring a system state backup from one computer to a second computer of a different make, model, or hardware configuration. Microsoft will only provide commercially reasonable efforts to support this process. Even if the source and destination computers appear to be identical makes and models, there may be driver, hardware, or firmware differences between the source and destination computers.



Warning The procedure that is described in this article is intended for disaster recovery of a single domain when no other domain controllers are available. This procedure is not intended as a means to move domain controllers from old hardware operating systems to new hardware operating systems in a multiple-domain environment. It is intended for use only when disaster recovery is required. After you recover the domain controller, do not keep the recovered domain controller in production. The purpose of this recovery is to restore Active Directory functionality and to bring new domain controllers online. After a new domain controller is online, demote the recovered server, remove it from the domain, and then reinstall Windows.



MORE INFORMATION
To perform a disaster recovery restoration of the Windows 2000 Active Directory domain controller on a computer with different hardware from the computer where you performed the backup, follow these steps.Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  Perform a full backup of the domain controller, including the system state and the drive that contains the system volume. On the new computer, perform a clean installation of Windows 2000 as a stand-alone server in a workgroup.

Note The file system, the installation drive, and the Windows installation folder name must be the same as the server that is being restored (for example, C:\Winnt or D:\Winnt35). Also, recovery results are generally better when the computer that you are restoring has a video bus that is similar to the one on the computer where the backup was made. For example, if the original system uses an AGP bus, and you are restoring to a system that uses a PCI video bus, the recovery may be difficult. Perform the disaster recovery restoration. To do so, follow these steps:  Click Start, point to Programs, point to Accessories, point to System Tools, and then click Backup. Click Restore Wizard, and then in the Restore Wizard dialog box, click Next. Click Import File, click Browse, locate the disk where you saved the backup file, and then click Open.</li> Click OK.</li> In the What to restore list, click to select the computer partition check box and the System State check box that you want to restore.</li> Click Next, and then click Advanced.</li> In the Restore files to list, click Original location, and then click Next.</li> Click Always replace the file on disk, and then click Next.</li> Follow the remaining steps in the Restore Wizard to complete the disaster recovery restoration.</li> In the restored domain controller, change the BurFlags value to d4. To do so, follow these steps: <ol> Click Start, and then click Run.</li> In the Open box, type regedit, and then click OK.</li> In the left pane, expand My Computer.</li> Expand HKEY_LOCAL_MACHINE, and then expand SYSTEM.</li> Expand CurrentControlSet, and then expand Services.</li> Expand NtFrs, and then expand Parameters.</li> Expand Backup/Restore, and then click Process at Startup.</li> In the right pane, right-click BurFlags, and then click Modify.</li> <li>In the Value data box, type d4, and then click OK.

Note If the restored domain controller’s BurFlags value is not changed to d4, sysvol does not share out.</li></ol> </li></ol>

After the disaster recovery restoration process is completed successfully, the following three scenarios are possible: <ul> <li>Scenario 1: Windows starts successfully.</li> <li>Scenario 2: Windows stops responding, or hangs, when you try to start it, but it starts successfully when you select the Safe Mode option. This behavior occurs because of the bus architecture chipset or because of an incompatible driver in the new computer. You may have to run an in-place repair or an upgrade operation.</li> <li>Scenario 3: The computer stops responding in Start Windows Normally mode and in safe mode. You must run an in-place repair or an upgrade. This is typically caused by a mismatched hardware abstraction layer (HAL). You may have to press F7 during Windows startup to force the standard version of the HAL for the operating system to start successfully.</li></ul>

To resolve the issues that are described in scenarios 2 and 3, perform an in-place upgrade repair. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start the computer by using the Windows 2000 CD-ROM. The repair operation begins after you accept the license agreement and after the Setup program searches for previous installations of Windows to repair.</li> <li>When the Setup program finds the damaged installation, press R to repair the selected installation. the Setup program re-enumerates your computer's hardware (including the HAL) and performs an in-place upgrade while maintaining your programs and user settings. This procedure also refreshes the %SystemRoot%\Repair folder with accurate information that you can use for repair operations.</li></ol>

For more information about how to turn off the Advanced Configuration and Power Interface (ACPI) by pressing F7 during the in-place upgrade repair, click the following article number to view the article in the Microsoft Knowledge Base:

237556 How to troubleshoot Windows 2000 Hardware Abstraction Layer issues

Note If the in-place repair operation is not successful, and if Windows restarts after every power-on self test (POST), start the computer by using the recovery console, and then run the following command to disable the ACPI:

disable acpi

After the ACPI has been disabled, restart the in-place repair. To force Windows to use the Standard PC HAL, press F7 when you are prompted with the following:

Press F6 if you safe install a third-party SCSI or RAID driver.

After the repair or the upgrade operation starts, and after the Setup program proceeds to the graphical user interface (GUI) part of Windows Setup, Windows typically installs successfully.

Important When the Optional Components dialog box appears in the GUI part of the Setup process, make sure that the DNS check box is selected under Networking Components. Additionally, make sure that the SMTP check box is selected under Internet Information Services. When the SMTP check box is selected, the following dependent services are also installed under Internet Information Services (IIS): <ul> <li>Common Files</li> <li>Internet Information Services Snap-in</li> <li>World Wide Web Server</li></ul>

Note If Microsoft Exchange Server is installed, do not click to select the SMTP Service check box under Internet Information Services. Exchange Server supplies the SMTP service installation in this case. However, Active Directory requires that you install the other IIS items -- for example, Common Files, Internet Information Services Snap-in, and World Wide Web Server.

If a DNS installation that supports the dynamic update protocol is on a separate member server in the domain, you must install the DNS option of the Optional Components during the in-place upgrade process of the Windows 2000 domain controller that is being recovered. This is required primarily because the network adapter that Active Directory was previously bound to is, in effect, removed. The new network adapter will retain the current protocols, but their settings are lost, and you cannot reconfigure these options in an in-place upgrade and repair operation. If the domain controller does not have access to a DNS server that supports the dynamic update protocol during the upgrade and repair process, none of the Directory Service components are restored. You can see this in Event Viewer by noting all the missing event logs that are related to Active Directory. Only the system log, the application log, and the security log are displayed. Therefore, DNS must be installed on a domain controller that is undergoing an in-place repair and upgrade on different hardware. On similar hardware, this is typically not an issue because the network adapter is the same and because all protocol settings are retained.</li> <li>After the in-place upgrade and repair operation is complete, start Registry Editor, and then verify that the  key is located under the following registry subkey:

To do so, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open box, type regedit, and then click OK.</li> <li>In the left pane, expand My Computer.</li> <li>Expand HKEY_LOCAL_MACHINE, and then expand SOFTWARE.</li> <li>Expand Microsoft, and then expand Rpc.</li></ol>

If the key is missing, the network adapter that is used for the restoration is different from the adapter of the original server. The  key is deleted when a network adapter is unexpectedly removed from a server. Without the  registry key and the values that it contains, there is no network connectivity. If the key is missing, you can manually re-create it with all the values that it contains, or you can use Registry Editor to import it from another Windows 2000 domain controller. <ul> <li>To export the  key from another Windows 2000 domain controller, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open box, type regedit, and then click OK.</li> <li>In the left pane, expand My Computer.</li> <li>Expand HKEY_LOCAL_MACHINE, and then expand SOFTWARE.</li> <li>Expand Microsoft, and then expand Rpc.</li> <li>Click ClientProtocols.</li> <li>On the Registry menu, click Export Registry File.</li> <li>In the Save in list, select a removable media device or a network share.</li> <li>In the File name box, type the file name, and then click Save.</li> <li>On the recovered server, double-click the .reg file to import the registry key.</li></ol> </li> <li>To manually re-create the  key and its values, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open box, type regedit, and then click OK.</li> <li>In the left pane, expand My Computer.</li> <li>Expand HKEY_LOCAL_MACHINE, and then expand SOFTWARE.</li> <li>Expand Microsoft, and then expand Rpc.</li> <li>Right-click Rpc, point to New, and then click Key.</li> <li>Type ClientProtocols .</li> <li>Right-click ClientProtocols, point to New, and then click String Value.</li> <li>In the right pane, type ncacn_http for the Value name.</li> <li>Right-click ncacn_http, and then click Modify.</li> <li>In the Value data box, type rpcrt4.dll, and then click OK.</li> <li>Repeat steps h through k to create the following registry values in the  registry key:

{|
 * width="33%"|

Value name

 * width="33%"|

Value type

 * width="33%"|

Value data
</li></ol> </li></ul> </li> <li>Restart the server.</li> <li>Reconfigure the server's Internet Protocol (IP) settings so that the Preferred DNS server points to its own IP address. If DNS is configured on a separate Windows 2000 member server, you can point the primary DNS to the DNS member server, and you can remove DNS from the recovered domain controller after you restart the server in step 9 later in this article.</li> <li>Start the DNS utility, right-click the server, and then click Properties. View the entries on each tab to make sure that they are correct. When you are finished, click OK.</li> <li>Under the server name, expand Forward Lookup Zones, right-click the zone that applies to you, and then click Properties. On the General tab, verify that the Yes option is selected next to Allow dynamic updates.
 * ncacn_ip_tcp
 * REG_SZ
 * rpcrt4.dll
 * ncacn_nb_tcp
 * REG_SZ
 * rpcrt4.dll
 * ncacn_ip_udp
 * REG_SZ
 * rpcrt4.dll
 * ncacn_np
 * REG_SZ
 * rpcrt4.dll
 * }
 * ncacn_np
 * REG_SZ
 * rpcrt4.dll
 * }

Note By configuring DNS to accept dynamic updates, you make sure that the correct records for Active Directory are re-created when you start Windows or at the next restart of the Net Logon service.</li> <li>Restart the server, and then run DCDiag.exe from the command line to search for errors. For more information about how to use DCDiag.exe, click the following article number to view the article in the Microsoft Knowledge Base:

265706 DCDiag and NetDiag in Windows 2000 facilitate domain join and DC creation

You can expect to see system log errors in the DCDiag.exe output because of the nature of the activities that are occurring on the computer. Any other errors must be analyzed and possibly referred to a Microsoft Product Support Professional for additional troubleshooting.</li> <li>Unless the domain controller that you restored managed all five roles as an operations master, you must manage these roles to fully recover the Active Directory. An operations master is also known as flexible single master operations or FSMO controller.

Note If you are denied access to the GUI-based tools, manage the roles through the command-line utility, Ntdsutil.exe. For more information about how to use Ntdsutil.exe, click the following article number to view the article in the Microsoft Knowledge Base:

255504 Using Ntdsutil.exe to seize or transfer FSMO roles to a domain controller

</li></ol>

<div class="moreinformation_section">

For information about metadata cleanup of servers, visit the following Microsoft Web site:

http://technet2.microsoft.com/windowsserver/en/library/012793ee-5e8c-4a5c-9f66-4a486a7114fd1033.mspx

For more information about the Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:

229716 Description of the Windows 2000 Recovery Console

For more information about moving Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:

249694 How to move a Windows 2000 installation to different hardware

For more information about how to perform an in-place upgrade to Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:

292175 How to perform an in-place upgrade of Windows 2000

Keywords: kbinfo kbupgrade kbsetup kbrepair KB263532

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.