Summary domain upgrade/migration

Current situation

Before starting a migration, the current situation should be investigated. Issues to take care of are :

bulletCurrent network infrastructure. (Physical network, routers, switches, protocols, dial-up networking, etc.)
bulletCurrent networking services (DHCP, WINS, DNS, RAS)
bulletCurrent domain structure, trust and domain controller locations.
bulletCurrent hardware clients- and servers. (hcl)
bulletCurrent software on clients- and servers.
bulletSecurity policies.
bulletBusiness critical applications.

Business goals

Before an organization decides to migrate to Windows 2000, there must be a reason for the organization to migrate. These reason can be business needs ('we need more than 40.000 users in a domain), business requirements ('customers or government requires IPSec), or business goals (lower TCO). These reasons provide the business value for the migration and are the basics for the migration goals. Business value can be :

bulletIncreased security. (Kerberos, IPSec)
bulletLower TCO. (less domains to administer, less hardware, locked-down clients, group-policy based software distribution, RIS for clients installations, etc.)
bulletIncreased scalability.
bulletIncreased productivity personnel. (Windows 2000 clients)

The migration goals related to these business values can be :

bulletCertificate services must be available for IPSec.
bulletMigrate user accounts to one new Windows 2000 domain from multiple NT 4.0 domains to reduce administration.
bulletMake RIS available to install clients.
bulletImplement group policies for lock-down clients and software distribution.
bulletData and applications must be available during upgrade.

Design

After the current situation and the business and migration goals are clear, an Active Directory and DNS design can be made. (See summary Active Directory) Other issues to design are the site design, administrative plan (ou's, administrative delegation, etc), recovery plan (e.g offline BDC) and security plan (Kerberos, PKI, etc).

Domain upgrade/restructure

Now that the current situation is clear, the goals are clarified and there is a new Active directory design there are three possible ways to do the migration :

bullet The first option is a domain upgrade. Issues concerning an upgrade are :
bulletUse if current domain structure is ok.
bulletLess phases possible. The whole domain has to be upgraded at once. (PDC first)
bulletMost Windows 2000 functions are available when domain moves to native mode. (All domain controllers are upgraded)
bulletDomain restructure possible after upgrade domains to Windows 2000 native mode.
bulletUsers can keep their current password.
bulletSoftware on domain controllers must be compatible with Windows 2000.
bulletPhases of an domain upgrade :
bulletAdd additional BDC to domain.
bulletSynchronize domain.
bulletTake additional BDC offline and store it in a secure place for recovery purposes.
bulletDocument and backup PDC.
bulletUpgrade PDC to Windows 2000.
bulletDocument and backup BDC's.
bulletUpgrade BDC's. (including additional BDC if it's needed, if there is a long period between the upgrade of the PDC and the last BDC, synchronize the additional BDC sometimes to prevent changes from being lost.)
bulletSwitch to native mode.
bulletThe second option is a domain restructure. Issues concerning a restructure are :
bulletUse if current domain structure does not meet business goals. Less domains require less hardware (domain controllers) and reduce administrative costs.
bulletInitial additional hardware required to build a new native mode domain. (native mode is required for SIDHistory)
bulletADMT or ClonePrincipal utility can be used to migrate users to new domain.
bulletUsers must be instructed to logon to new domain.
bulletStep-by-step, user-by-user, migration possible.
bulletDomain restructure possible.
bulletMore testing required for SIDHistory.
bulletThe third option is an upgrade first with a restructure afterwards.
bulletUse this option if only small changes have to be made in the domain infrastructure. The benefit of doing an upgrade first is that SIDhistory is available which makes it possible to move users between domains while they still can access their data.

Things to keep in mind when doing a domain upgrade/structure :

bulletUpgrading the account domains first gives more benefits than upgrading the resource domains. Keep in mind that the first upgraded domain becomes the forest root if not other domain is available in the forest. When determining which domain to upgrade first, look which domain needs an upgrade first (SAM size, specific applications, accounts/ need to be moved to that domain) or which domain must become the forest root. An other issue can be the size. Use smaller domains to get experience with the upgrade.
bulletFirst upgrade the servers to the latest service pack (SP6a) before doing an upgrade.
bulletUse winnt32 /checkupgradeonly to check compatibility issues before upgrading a machine.
bulletIf there will remain pre-Windows 2000 clients in the domain, consider installing the Directory services client. (See summary Active Directory)
bulletMigrate global groups before accounts are migrated.
bulletThe netdom utility can, just like admt, be used to move computer accounts. Computer accounts cannot be cloned. The Netdom utility must also be used to create a computer account for a new Windows NT 4.0 domain controller in a Windows 2000 mixed-mode network.
bulletWindows 2000 does not support LMrepl, it uses FRS which is available on domain controllers. When using scripts, upgrade the server with the export folder last and use lbridge.cmd to duplicate the scripts between the two environments during the migration. (schedule it) Lbridge will only replicate between the Windows 2000 NetLogon share and the Windows NT 4.0 export folder, not the other way around. As after an NT 4.0 server is upgraded to Windows 2000, Lan Manager replication is not available anymore, you should remove that machine from the export server' replication partners list.
bulletWindows NT 4.0 RAS service uses the LocalSystem account to connect to a domain controller to validate the user. This connection uses a null-session. As this is not supported in a fully secure environment (no Everyone account in Permissions compatible with pre-Windows 2000 computers-group) there is a chance the user is not validated. This will not happen if :
bulletThe NT 4.0 RAS server is a NT 4.0 BDC.
bulletThe NT 4.0 RAS server connects to a NT 4.0 BDC.
bulletThe NT 4.0 RAS server connects to a Windows 2000 server with permissions compatible with pre-Windows 2000 computers.

For these reasons, upgrade the RAS server early in the project to Windows 2000.

bulletWhen a DHCP server is upgraded, no address are provided during that upgrade. After the upgrade the server must be authorized by a member of the Enterprise administrator group to start issuing addresses again.
bulletCertificate services 1.0 does not automatically upgrade to version 2.0 during a Windows 2000 upgrade. Use the certutil utility to update the certificate services database and renew the CRL.
bulletAn upgraded machine does not have any security template loaded. Use the Security configuration and analyses tool or group policies to assign a security template if additional security is required.
bulletIn a mixed environment, a Windows 2000 client will receive system policies when connecting to a Windows NT 4.0 domain controller. It will receive group policies when it connects to a Windows 2000 domain controller. Clients before Windows 2000 will NOT use group policies. The resource kit utility gpolmig.exe can be used to migrate system policies to group policies.   
bulletWhen using Exchange 5.5, consider using the Active Directory connector between Windows 2000 OU's and Exchange 5.5 recipient containers. This will prevent separate information will be stored in separate databases (Exchange and Active Directory) without being replicated.
bulletWatch out for profile issues of users get a new sid after a domain consolidation.
bulletAfter a domain restructure the SIDwalker utility can be used to change the SID's on resource and to remove old SIDhistory information. There is a maximum of 1023 entries for SIDhistory on an account.

Microsoft tools that are available for the restructure are :

ADMT

The Active Directory Migration Tool can be used to import NT 4.0 security principals (users, computers and groups) into Windows 2000 Active Directory. (inter-forest) It can also be used to move Active Directory accounts between (source mixed- or native mode, target native mode) Windows 2000 domains. (intra-forest) It has the following requirements :

bulletThe user of the ADTM must be domain administrator in both domains.
bulletADTM moves or clones security principals (users, computers and groups), ClonePrinciple clones (non-destructive) only security principals.
bulletADTM cannot clone computers accounts, it moves them just like Netdom.
bulletSecurity principals are cloned when the domains are in a separate forest. When cloning users, the passwords will not remain. (This option is available in ADMT 2.0, released with Windows 2003 server) The users should be provided with new passwords. When moving accounts within a forest, the passwords are preserved.
bulletWhen doing a migration from a NT 4.0 domain, the registry key hklm\System\CurrentControlSet\Control\LSA\TcpipClientSupport reg_dword ox1 must be created on the PDC in the source domain. (restart required) It enables tcp/ip to access the directory where normally named pipes are used. 
bulletThe source (NT 4.0 domain) must at least trust the target (Windows 2000 domain) domain. ADTM can be used to create the trust. A two way trust is required if the moved users need to access the old NT 4.0 domain.
bulletThe target (Windows 2000 domain) domain must be in native mode to support SIDhistory.
bulletThe source server (PDC NT 4.0 domain) must run at least NT4.0 SP4.
bulletAdministrative shares must be available on the domain controllers.
bulletADMT must run on a domain controller in the target domain, preferable a FSMO holder.
bulletAuditing for success- and failure of account management in both domains must be enabled when doing an intra-forest migration.
bulletA local group SourceDomainName$$$ must be available on the PDC of the source domain.
bulletADMT, just like ClonePrincipal, must run on the target domain controller when cloning accounts. It can run on both the source or target domain controller when moving accounts.

ClonePrincipal

The ClonePrincipal utility is part of the support tools and exists of VBscripts that can clone users and groups (not computers) to a new Windows 2000 native mode domain in another forest. While cloning, the password is not preserved but it does use SIDhistory.. It requires NT4.0 SP4 or newer on the source domain. The support scripting on the target domain, use csript.exe. ClonePrincipal uses the following scripts :

bulletClonegg.vbs. This script can be used to clone all global groups to a new Windows 2000 domain.
bulletCloneggu.vbs. This script is used to clone multiple global groups and users to the new Windows 2000 domain.
bulletClonelg.vbs. This script can be used to clone all local groups to the new Windows 2000 domain.
bulletClonepr.vbs. This script is used to clone a single global group or user to the new Windows 2000 domain.
bulletSidhist.vbs. This script copies the sid of the source account to the sidHistory of the target account.

Movetree

Active Directory object manager which is part of the support tools. Program to move  users, groups and OU's between domains within a forest. It can move computer account but this does not work. (use Netdom) During the move, the passwords do not change. The tools must connect to the RID master of the source domain. (mixed or native mode) The target domain must be in native mode to support SIDhistory.
Only empty global groups can be moved.  Movetree uses the movetree.log and movetree.err log files.

Netdom

Windows 2000 domain manager. Program to check and maintain Windows 2000 trusts and other domain information. It can be used to create trusts and to move or create computer accounts. Part of the support tools.

SIDWalker

Security administration tool. Uses showaccs.exe and sidwalk.exe to view permissions. Sidwalker.msc can be used to migrate permissions e.g when SIDHistory is used during a domain reconstruction. It's part of the support tools. The resource kit utility SubInACL can also be used to watch and/or modify SIDS on files and folders.
LDP.exe (Active Directory administration tool) can be used to view the SIDhistory information on an account.

For more info see domain migration cookbook chapter 4 'Restructuring tools' and chapter 7 'Migration of Windows NT 4.0 account domain into Active Directory'.

Links :

bullet Ten Active Directory migration tips (SearchWindows2000)
bullet Merging NT 4.0 domains (Windows & .net magazine, feb 2002)
bullet Upgrading a Windows NT domain to Windows 2000 Active Directory whitepaper
bullet Check hard- and software compatibility with Windows 2000 (Microsoft)
 
bulletUpdated Active Directory migration tool will precede Windows .NET Server release  (EntMag 13-dec-01)
bullet How to set up ADMT for Windows NT 4.0 to Windows 2000 migration (Q260087)
bullet ClonePrincipal and ADMT require uplevel trust to migrate objects (Q256250)
bullet Domain names with capital letters prevents ADMT user migration (Q266763)
bullet ADMT does not migrate the Exchange system attendant service (Q300628)
bullet ADMT - The road to migration (Windows 2000 magazine)
 
bullet How to use the Movetree utility to move objects between domains (Q238394)
bullet MoveTree functions only for intra-forest migrations (Q291574)
bullet MoveTree: The Active Directory object manager (Windows 2000 magazine)
 
bullet Error messages when using the ClonePrincipal tool to migrate users (Q283833)

Last update : 19 February 2003