Microsoft KB Archive/273823

= The Windows NT 4.0 Domain Controllers That Are Upgraded to Windows 2000 May Hang During the Final Phase of Setup =

Article ID: 273823

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q273823



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you upgrade your computer from Windows NT 4.0 to Windows 2000 and the Winnt32.exe program is being run, the Windows NT 4.0 domain controllers that have large-sized Security Accounts Manager (SAM) account databases may seem to hang for excessive periods of time during the &quot;Performing final tasks&quot; phase of the upgrade. Under extreme circumstances, the computer may hang for up to 2.5 hours.



CAUSE
This behavior can occur during the &quot;Performing final tasks&quot; phase of Setup after approximately 90 percent of the &quot;Saving settings&quot; phase has completed. The &quot;Performing final tasks&quot; phase is one of the last phases of Setup before the Active Directory Installation Wizard starts and the Windows NT 4.0 registry-based SAM is converted to Active Directory.



WORKAROUND
To work around this behavior, complete the upgrade process without any administrator intervention. Eventually, the upgrade process completes and your computer returns to its normal state.

The domain controllers with SAM account databases that are 50 - 70 MB in size are the most susceptible to excessive upgrade times. The factors that can affect upgrade performance include the SAM size, the processor or disk subsystem performance, and the Registry Size Limit (RSL) settings.

To improve the upgrade performance on computers that have large SAM databases, you can make the following configuration changes:  Set the RSL in Windows 2000 to its maximum permitted value. One method is to set the RSL to 200 MB so that it is adjusted to 80 percent of PagedPoolSize when the computer restarts. The RSL must have a sufficiently high setting to enable the large-sized SAM upgrades to succeed. This setting is a key setting to improve upgrade performance.

For additional information about increasing the RSL, click the article number below to view the article in the Microsoft Knowledge Base:

124594 Understanding and Configuring Registry Size Limit (RSL)

 Set the Pagefile size to the number that equals the amount of physical random access memory (RAM) multiplied by 120 percent. Add any additional RAM to the server that is being upgraded to Windows 2000. For a Windows NT 4.0 primary domain controller (PDC) with a 30 MB SAM, 128 MB is the minimum amount of memory. Shrink the SAM on the PDC by using method #3 in the following article:

140380 User Account Database Fails to Shrink After Deleting Accounts

 Add a new Windows NT 4.0 backup domain controller (BDC) to the domain, promote the BDC to a PDC, and then upgrade your computer to Windows 2000. The newly replicated SAM file should be less fragmented than the copy on the original PDC. Any reduction in SAM size can mean less memory use and faster upgrade performance. This method is particularly suitable when new hardware is being deployed concurrently with Windows 2000 domain controllers.</ol>

The following examples are taken from Windows NT 4.0 PDCs that have been upgraded to Windows 2000:

<div class="moreinformation_section">

MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

242380 How to Use a Command Prompt During GUI-Mode Setup

To troubleshoot:
 * 1) Examine the  \Debug\Dcpromos.log folder by using one of the following two methods:
 * 2) * Press Shift+F10 during the graphical user interface (GUI) mode setup to use a command prompt.
 * 3) * If you are unable to use the previous method and your computer has hung, restart your computer with an alternate operating system.
 * 4) Search the Dcpromo.exe log to observe if DcPromoSaveDcStateForUpgrade has finished, has succeeded, or has been unsuccessful.
 * 5) Check the Dcpromo.exe log for the run time of DcPromoSaveDcStateForUpgrade.
 * 6) If the upgrade had been initiated with an incorrect RSL size, start Registry Editor (Regedt32), set the RSL directly, and then restart the computer.

Keywords: kbnetwork kbprb kbsetup KB273823

-

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

© Microsoft Corporation. All rights reserved.