Creating and Managing Domain Controllers

Understanding the Different Server Roles

The server roles that exist in a networking environment are standalone servers, member servers and domain controllers. A standalone server is a computer that is not member of a domain, and can be a computer running Windows NT 4, Windows 2000 or Windows Server 2003. A test server is a good example of a standalone server. Standalone servers do not use Active Directory for authentication and access control because they are not included in the Active Directory domain. These servers use the local Security Accounts Manager (SAM) database on the local machine for access control.

A member server is a machine that holds a replica of the Active Directory data store, and is a member of the domain, but it does not perform any domain management functions. Because a member server operates as a member of the domain, it has a computer account within the domain. Users and computers can be authenticated and managed via the domain. Member servers are your print servers, file servers, application servers, e-mail servers, Terminal Services serves, Web servers, DNS servers, WINS servers, DHCP servers, NAT servers and Remote Access servers.

In Windows NT, you had to choose the role of the servers during the installation of the operating system. The server could be configured as a Primary Domain Controller (PDC), a Backup Domain Controller (BDC), or a member server. Changes to the security database could only be made from the server configured as a PDC. You could only promote a BDC to a PDC. If you wanted to change the role of a server from a member server, to a domain controller, you had to completely reinstall Windows NT. With Windows 2000, came the concept of promoting member servers to domain controllers and demoting domain controllers back to the member server role. Thus, all machines in Windows 2000 and Windows Server 2003 have either the standalone server role or member server role when they start out.

A domain controller is a computer running Windows 2000 or Windows Server 2003 that hosts a replica of the Active Directory data store, and is a member of the Active Directory domain. A domain controller performs various Active Directory operations within the domain such as granting access to, or denying access to network resources hosted in the domain.

The Role of Domain Controllers

A domain controller performs the following operations within an Active Directory domain:

Considerations for Multiple Domain Controllers

The number of domain controllers which are needed within your domain are determined by the following factors:

How to create the first domain controller

A domain controller can be installed through the use of the Active Directory Installation Wizard. Through wizard, you can configure Active Directory on a member server, thereby making it a domain controller. You can also demote the domain controller to being a member server at a later stage, when it no longer needs to perform Active Directory functions. Before Active Directory can be installed, be sure to verify that DNS is installed and working.

Use the steps below to create a domain controller

  1. Log on to the member server that you want to configure as a domain controller
  2. Click Start, click Run, and enter dcpromo in the Run dialog box. Click OK.
  3. This action starts the Active Directory Installation Wizard.
  4. On the initial Welcome page of the wizard, click next.
  5. On the Operating System Compatibility page, click Next.
  6. On the Domain Controller Type page, you are prompted to choose one of the options listed below. Click Next after you have selected the appropriate option.
    • Domain controller for a new domain: If you choose this option, the server becomes the first domain controller in a new domain. The option is typically chosen for each new domain being created.
    • Additional domain controller for an existing domain: If you choose this option, the server that you are promoting to be domain controller has to be able to locate another domain controller through DNS. This option is typically used to create additional domain controllers for an existing domain, and to create domain controllers for each site within your Active Directory environment.
  7. The options available on the Create New Domain Page are listed below. Once you have made the appropriate selection, click Next
    • Domain in a new forest: If this is the first domain controller being created, you would select this option. The domain, domain tree, and forest would are all created when you create the first domain controller.
    • Child domain in an existing domain tree: This option is selected if you are adding another domain (child domain) to an existing domain (parent domain).
    • Domain tree in an existing forest: This option is chosen if you want to add another domain tree to an existing forest.
  8. On the New Domain Name page, you have to enter the fully qualified domain name (FQDN) of the new domain. Click Next
  9. On the NetBIOS Domain Name page, you have to verify whether the default NetBIOS domain name should be used. You can accept the default name by clicking Next.
  10. On the Database and Log Folders page, you have to specify a location for the Active Directory database, and specify a location for the Active Directory log files. The locations that you specify should preferably exist on an NTFS volume. Click Next.
  11. On the Shared System Volume page, you need to specify the location of the SYSVOL folder. This folder has to be located on a NTFS volume. Click Next.
  12. On the DNS Registration Diagnostics page, you can choose one of the following options:
    • I have corrected the problem. Perform the DNS diagnostics test again: This option is usually selected after you have corrected a previous DNS server problem, and you are attempting to run the Active Directory Installation Wizard again.
    • Install and configure the DNS server on this computer to use this DNS server as its preferred DNS server: This is the default setting on the DNS Registration Diagnostics page. If selected, the Active Directory Installation Wizard creates and configures the DNS server on the machine.
    • I will correct the problem later by configuring DNS manually: It is generally recommended to not select this option.
  13. On the Permissions page, you have to choose the default permissions for user and group objects. The options available are:
    • Permissions compatible with pre-Windows 2000 server operating systems
    • Permissions Compatible only with Windows 2000 or Windows Server 2003
  14. On the Directory Services Restore Mode Administrator Password page, you have to enter the appropriate password in the two password text boxes.
  15. The Summary page lists all the configuration settings that you have specified while navigating through the various pages of the Active Directory Installation Wizard. Once you have verified that the correct settings have been specified, click Next
  16. At this stage, the Active Directory Installation Wizard installs Active Directory.
  17. On the Completing the Active Directory Installation Wizard page, click Finish. If this is the first domain controller, it is placed in the Default-First-Site-Name default site.

How to create additional domain controllers

After you have created the first domain controller for a domain, you can create additional domain controllers for the domain. This process is typically known as promoting a member server or standalone server to an additional domain controller role. To create an additional domain controller, you would need an existing domain controller, and a standalone server or member server that is connected on the same network, and using the same DNS server.

Use the steps below to create additional domain controllers for a domain:

  1. Log on to the member server or standalone server that you want to promote to an additional domain controller.
  2. Click Start, click Run, and enter dcpromo in the Run dialog box. Click OK to start the Active Directory Installation Wizard.
  3. Click Next on the initial Welcome page of the wizard and on the Operating System Compatibility page.
  4. On the Domain Controller Type page, select the Additional domain controller for an existing domain option. Click Next
  5. On the Network Credentials page, enter the user name, password and domain for the Administrator account being used to install Active Directory on the server. Click Next
  6. On the Additional Domain Controller page, enter the FQDN domain name of the domain to which this particular server is to be an additional domain controller for. Click Next
  7. On the Database and Log Folders page, you have to specify a location for the Active Directory database, and specify a location for the Active Directory log files. Click Next.
  8. On the Shared System Volume page, you need to specify the location of the SYSVOL folder. This folder has to be located on a NTFS volume. Click Next.
  9. On the Directory Services Restore Mode Administrator Password page you have to enter the appropriate password in the password text boxes.
  10. The Summary page lists all the configuration settings that you have specified while navigating through the various pages of the Active Directory Installation Wizard. Once you have verified that the correct settings have been specified, click Next
  11. On the Completing the Active Directory Installation Wizard page, click Finish.

Upgrading Domain Controllers

You can upgrade existing domains to Windows Server 2003 by individually upgrading your domain controllers. You can upgrade an existing domain through one of the following methods:

A few advantages associated with a migration are summarized below:

A few disadvantages associated with a migration are:

The steps typically required to perform an in-place upgrade of a Windows Server NT 4 domain to a Windows Server 2003 forest is listed below:

  1. Create a placeholder domain to be the root domain of the forest to simplify the installation process. You would then create the first domain controller in the placeholder domain. You can raise the domain functional level to Windows Server 2003 when the domain controller is up and running.
  2. Upgrade the primary domain controller and the backup domain controllers of the first account domain. To do this, use the Windows Server 2003 CD to start the upgrade wizard for upgrading the operating system. The Active Directory Installation Wizard automatically starts after the operating system is upgraded. You would need to select the Domain In An Existing Tree option to join the forest at the previously created placeholder domain.
  3. Raise the domain functional level to Windows Server 2003 functional level for the first account domain. You would need to use the Active Directory Domains and Trusts console to raise the functional level of the domain.
  4. Upgrade the primary domain controller and the backup domain controllers of the resource domains beneath the first account domain.
  5. Raise the domain functional level to Windows Server 2003 functional level for the resource domains through the Active Directory Domains and Trusts console.
  6. Upgrade the primary domain controller and the backup domain controllers of all other account domains.
  7. Raise the domain functional level to Windows Server 2003 functional level for these domains. Use Active Directory Domains and Trusts to perform this task.
  8. Raise the forest functional level to Windows Server 2003 forest functional level. Use Active Directory Domains and Trusts to perform this task.

The steps typically required to perform an in-place upgrade of a Windows 2000 forest to Windows Server 2003 noted below:

  1. Upgrade the Active Directory schema. Before you can update the schema, each domain controller must be running Windows 2000 with Service Pack 2 or above. You can use the ADPREP utility located on the Windows Server 2003 CD-ROM to upgrade the schema.
    • Use adprep /forestprep to perform the schema upgrade.
    • Use adprep /domainprep to apply new attributes to the Domain object, and to add the container used for tracking domain updates.
  2. Upgrade the existing domain controllers in the root domains.
  3. Raise the domain functional level to Windows Server 2003 domain functional level.
  4. Upgrade the existing domain controllers in the child domains.
  5. Raise the domain functional level to Windows Server 2003 domain functional level.
  6. Raise the functional level of the forest to Windows Server 2003 forest functional level.
  7. Create the forest trust relationships.

Backing up Domain Controllers

Before looking at how to backup the domain controllers within your Active Directory environment, it is important to note that you can also create domain controllers by using a backup of Active Directory. This basically involves performing a restore to the server that you want to promote to a domain controller. You have to be a member of the Administrators group or the Backup Operators group to perform the backup process.

A domain controller contains system state data that also includes Active Directory and the SYSVOL directory. System state data consists of the Registry, system boot files, COM+ Class Registration database, Certificate Services database, and files under Windows File Protection. Backing up system state data backs up all system state data associated with the local computer. A domain controller can also contain applications or files that are specific to that particular domain controller. These have to be included when you back up the domain controller. You cannot back up system state data on a remote computer. What this means is that you have to be logged on to the computer locally.

How to perform a domain controller backup

  1. Log on to the domain
  2. Click Start, All Programs, Accessories, System Tools, and then click Backup.
  3. When the Welcome To The Backup Or Restore Wizard page opens, click Next.
  4. In the Backup Or Restore page, choose the Backup Files And Settings option. Click Next.
  5. When the What To Back Up page opens, choose the Let Me Choose What To Back Up option. Click Next.
  6. In the Items To Back Up page, select System State. Click Next.
  7. When the Backup Type, Destination, And Name page opens, choose the appropriate option in the Select The Backup Type box.
  8. Choose the location for the backup in the Choose A Place To Save Your Backup box.
  9. Enter a name for the backup job in the Type A Name For This Backup box. Click Next.
  10. Click the Advanced button on the Completing The Backup Or Restore Wizard page.
  11. When the Type Of Backup page opens, choose the Normal option for the backup type. Click Next.
  12. In the How To Back Up page, it is recommended to select the Verify Data After Backup option.
  13. If hardware compression is supported, and you are using a tape mechanism, click the Use Hardware Compression, If Available option. Click Next.
  14. When the Backup Options page opens, choose Replace The Existing Backups, and choose Allow Only The Owner And The Administrator Access To The Backup Data And To Any Backups Appended To This Medium. Click Next.
  15. Select the Now option in the When To Back Up page. Click Next.
  16. Click Finish
  17. Click the Report button on the Backup Progress page to view a report on the backup job just completed.

Restoring Domain Controllers

When you restore system state data, including Active Directory to a domain controller, you basically have to decide on the method of restore to perform. System state data can be restored on the domain controller by one of the following methods:

How to restore system state data on a domain controller - nonauthoritative restore

  1. Restart the local computer
  2. During startup, press F8 to access the Windows Advanced Options.
  3. Proceed to choose Directory Services Restore Mode. Press Enter
  4. Choose the operating system that should be started at the Please Select The Operating System To Start prompt. Press Enter
  5. Log on to the domain using an account with Administrator privileges.
  6. Click OK when a message appears stating that Windows is running in safe mode.
  7. Click Start, All Programs, Accessories, System Tools, and then click Backup.
  8. When the Welcome To The Backup Or Restore Wizard page opens, click Next.
  9. In the Backup Or Restore page, choose the Restore Files And Settings option. Click Next.
  10. On the What To Restore page, choose the data that should be restored. Click Next.
  11. Verify that the media that contains the backup file is in the proper place.
  12. Click Finish to start the nonauthoritative restore.
  13. Click OK when a message appears stating that the restore will overwrite existing system state data.
  14. When the restore process completes, restart the computer.

How to restore system state data on a domain controller - authoritative restore method

  1. You first have to perform a nonauthoritative restore of the system state data to the domain controller. This restore method was outlined in the preceding section.
  2. Proceed to restart the computer.
  3. During startup, press F8 to access the Windows Advanced Options.
  4. Proceed to choose Directory Services Restore Mode. Press Enter
  5. Choose the operating system that should be started at the Please Select The Operating System To Start prompt. Press Enter
  6. Log on to the domain using an account with Administrator privileges.
  7. Click OK when a message appears stating that Windows is running in safe mode.
  8. Click Start, and then Command Prompt.
  9. Enter and run Ntdsutil.
  10. From the Ntdsutil: prompt, insert the following: authoritative restore. Press Enter
  11. The authoritative restore: prompt opens next. This is where you specify what you want to restore through its distinguished name. For example, if you want to restore an object, enter restore object. To restore the Active Directory database, enter restore database.
  12. Push Enter for the authoritative restore to start.
  13. Enter quit to exit out of Ntdsutil.
  14. Restart the domain controller and reconnect it to the network.
  15. All changes from the other domain controllers that were not marked as authoritative are replicated to this particular domain controller. The changes that are marked as authoritative are replicated from this particular domain controller to the remainder of the domain controllers.


Top 5 Free Networking Tools

Bookmark Creating and Managing Domain Controllers

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.