How to promote and demote domain controllers in Windows 2000 (238369)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Datacenter Server
This article was previously published under Q238369 SUMMARY This article describes how to promote or demote a domain
controller to a stand-alone server in Windows 2000. Promoting a server to a
domain controller is the process of installing Active Directory Services on
that server. Demoting a domain controller removes Active Directory and switches
to using a local User Accounts System (UAS). Before promoting a server to a
domain controller, you must plan your structure to best suit your
organizational needs and network topologies. An administrator has the following
options when promoting a server to a domain controller:
- Installing the first domain controller in a new
forest
- Installing the first domain controller in a new domain
tree
- Installing the first domain controller in a new child
domain
- Installing an additional domain controller in a domain
tree
- Removing Active Directory from domain controller
The Domain Name System (DNS) service is an integral part of
Active Directory for name resolution. DNS defines the Windows 2000 namespace
and is very flexible.
For additional information about DNS
requirements and installation, click the article number below to view the
article in the Microsoft Knowledge Base: 237675 Setting Up the Domain Name System for Active Directory
After you plan your configuration and decide which
option you will be using during the promotion process, use the steps in the
appropriate section below. These sections guide an administrator through the
promotion process.
back to the top
Installing the First Domain Controller in a New ForestNOTE: You must install a DNS server at some point before or during the
promotion process. After the computer is promoted to a domain controller, it
registers services in DNS that enable Lightweight Directory Access Protocol
(LDAP) queries to be performed against the directory on that domain controller.
- Click Start, click Run, type dcpromo, and then click OK.
- This starts the Active Directory Installation Wizard. Click
Next.
- The Active Directory Installation Wizard asks a series of
questions to determine the role this server will have. Because you are
installing this server as the first domain controller in the forest, click
Domain Controller for a New Domain.
- Click Next.
- Because this domain controller will also be the first
domain controller in a new domain tree, click Create a new domain
tree.
- Click Next.
- Because this will be the first domain controller in the new
forest, it will be the first domain in your organization. Click Create
a new forest of domain trees.
- Click Next.
- In the New Domain Name screen, type the full DNS name for your new domain in the form of
a fully qualified domain (for example: Microsoft.com).
- In the NetBIOS Domain Name screen, the NetBIOS Name box is populated with the first part of your fully qualified
domain name (for example: MICROSOFT).
- The Database Location and Logs Location boxes are populated with the default location
(Rootdrive\Winnt\Ntds). For best performance and recoverability, store the
database and the logs on a separate hard disk. Change the Logs Location value to another hard disk.
- Click Next.
- In the Shared System Volume screen, the default location of Rootdrive\Winnt\Sysvol is
acceptable as long as the volume uses the NTFS file system. This is required
for the Sysvol folder.
- Click Next.
- If you do not have a DNS server available, a "The wizard
cannot contact the DNS server that handles the name Domain
Name to determine if it supports dynamic update. Confirm your DNS
configuration, or install and configure a DNS server on this computer" message
appears.
- Click OK.
- In the Configure DNS screen, click Yes, install and configure DNS on this
computer (recommended).
- Click Next.
- In the Windows NT 4.0 RAS Server screen, choose whether or not you want to allow Remote Access
Services (RAS) access to this server. Click Next.
- In the Directory Serviced Restore Mode Administrative Password screen, specify an administrator password to use when you start
the computer in Directory Services Restore mode. You use Directory Services
Restore mode when you need to recover the Active Directory database.
NOTE: Make sure you remember this password, or you cannot restore
Active Directory if needed. - In the Summary screen, confirm your options, and then click Next.
- Verify that Active Directory is installed by viewing the
messages on the screen. After Active Directory is installed, click Finish to close the wizard.
- Restart the computer.
back to the top
Installing the First Domain Controller in an Existing ForestNOTE: The design of your namespace determines whether or not you
install and configure the DNS service on this computer. If the TCP/IP settings
are configured correctly to point to an existing DNS server, you do not need to
install the DNS service on this server.
- Click Start, click Run, type dcpromo, and then click OK.
- This starts the Active Directory Installation Wizard. Click
Next.
- The Active Directory Installation Wizard asks a series of
questions to determine the role this server will have. Because you are
installing this server as the first domain controller in the forest, click
Domain Controller for a new domain.
- Click Next.
- Because this domain controller will also be the first
domain controller in a new domain tree, click Create a new domain
tree.
- Click Next.
- Because this will not be the first domain controller in the
new forest, it will not be the first domain in your organization. Click
Place this new domain tree in an existing forest.
- Click Next.
- The next screen prompts for network credentials. Type the
user name, password, and domain name for an account to use for this operation.
The account must have full administrative privileges. The domain name can be in
the form of a fully qualified domain name (FQDN).
- In the New Domain Tree screen, type the full DNS name for your new domain in the form of
a fully qualified domain (for example: Microsoft.com).
- In the NetBIOS Domain Name screen, the NetBIOS Name box is populated with the first part of your fully qualified
domain name (for example: MICROSOFT).
- The Database Location and Logs Location boxes are populated with the default location
(Rootdrive\Winnt\Ntds). For best performance and recoverability, store the
database and the logs on a separate hard disk. Change the Logs Location value to another hard disk.
- Click Next.
- In the Shared System Volume screen, the default location of Rootdrive\Winnt\Sysvol is
acceptable as long as the volume uses the NTFS file system. This is required
for the Sysvol folder.
- Click Next.
- If you do not have a DNS server available, a "The wizard
cannot contact the DNS server that handles the name Domain
Name to determine if it supports dynamic update. Confirm your DNS
configuration, or install and configure a DNS server on this computer" message
appears.
- Click OK.
- In the Configure DNS screen, click Yes, install and configure DNS on this
computer (recommended).
- Click Next.
- In the Windows NT 4.0 RAS Server screen, choose whether or not you want to allow Remote Access
Services (RAS) access to this server. Click Next.
- In the Directory Serviced Restore Mode Administrative Password screen, specify an administrator password to use when you start
the computer in Directory Services Restore mode. You use Directory Services
Restore mode when you need to recover the Active Directory database.
NOTE: Make sure you remember this password, or you cannot restore
Active Directory if needed. - In the Summary screen, confirm your options, and then click Next.
- Verify that Active Directory is installed by viewing the
messages on the screen. After Active Directory is installed, click Finish to close the wizard.
- Restart the computer.
back to the top
Installing the First Domain Controller in a New Child DomainNOTE: You must have the DNS settings configured correctly on the
server before promoting it to a domain controller in a child domain. During the
promotion process, the server needs to resolve the fully qualified domain name
of the parent domain.
For additional information about how to configure DNS for a new child domain, click the following article number to view the article in the Microsoft Knowledge Base:
255248
How to create a child domain in Active Directory and delegate the DNS namespace to the child domain
- Click Start, click Run, type dcpromo, and then click OK.
- This starts the Active Directory Installation Wizard. Click
Next.
- The Active Directory Installation Wizard asks a series of
questions to determine the role this server will have. Because you are
installing this server as the first domain controller in a new domain, click
Domain Controller for a New Domain.
- Click Next.
- Because this domain controller will also be the first
domain controller in a new child domain, click Create a new child
domain in an existing domain tree.
- Click Next.
- The next screen prompts for network credentials. Type the
user name, password, and domain name for the account to use for this operation.
The account must have full administrative privileges. To install a child
domain, make sure that DNS is configured correctly so that it can find the
parent domain. If you have DNS configured correctly and the server points to
the DNS server that contains the correct domain name, the Domain box entry can be in the form of a fully qualified domain
name.
- In the Child Domain Installation screen, type the full DNS name for the parent domain in the form
of a fully qualified domain (for example: Microsoft.com).
- In the Child Domain box, type the name of the child domain (for example: Finance).
Click Next.
- In the NetBIOS Domain Name screen, the NetBIOS Name box is populated with the first part of your fully qualified
domain name (for example: Finance).
- The Database Location and Logs Location boxes are populated with the default location
(Rootdrive\Winnt\Ntds). For best performance and recoverability, store the
database and the logs on a separate hard disk. Change the Logs Location value to another hard disk.
- Click Next.
- In the Shared System Volume screen, the default location of Rootdrive\Winnt\Sysvol is
acceptable as long as the volume uses the NTFS file system. This is required
for the Sysvol folder.
- Click Next.
- If you do not have a DNS server available, a "The wizard
cannot contact the DNS server that handles the name Domain
Name to determine if it supports dynamic update. Confirm your DNS
configuration, or install and configure a DNS server on this computer" message
appears.
- Click OK.
- In the Configure DNS screen, click Yes, install and configure DNS on this
computer (recommended).
- Click Next.
- In the Windows NT 4.0 RAS Server screen, choose whether or not you want to allow Remote Access
Services (RAS) access to this server. Click Next.
- In the Directory Serviced Restore Mode Administrative Password screen, specify an administrator password to use when you start
the computer in Directory Services Restore mode. You use Directory Services
Restore mode when you need to recover the Active Directory database.
NOTE: Make sure you remember this password, or you cannot restore
Active Directory if needed. - In the Summary screen, confirm your options, and then click Next.
- Verify that Active Directory is installed by viewing the
messages on the screen. After Active Directory is installed, click Finish to close the wizard.
- Restart the computer.
back to the top
Installing an Additional Domain Controller for an Existing DomainNOTE: You must have the DNS settings configured correctly on the
server before promoting it to a domain controller in an existing domain. During
the promotion process, the server needs to resolve the fully qualified domain
name of the domain.
- Click Start, click Run, type dcpromo, and then click OK.
- This starts the Active Directory Installation Wizard. Click
Next.
- The active Directory Installation Wizard asks a series of
questions to determine the role this server will have. Because you are
installing this server as an additional domain controller in a domain, click
Additional Domain Controller for an Existing
Domain.
- Click Next.
- The next screen prompts for network credentials. Type the
user name, password, and domain name for the account to use for this operation.
The account must have full administrative privileges. The domain name should
not be in the form of a fully qualified domain name.
- In the Additional Domain Controller screen, type the full DNS name for your existing domain in the
form of a fully qualified domain (for example: Microsoft.com).
- The Database Location and Logs Location boxes are populated with the default location
(Rootdrive\Winnt\Ntds). For best performance and recoverability, store the
database and the logs on a separate hard disk. Change the Logs Location value to another hard disk.
- Click Next.
- In the Shared System Volume screen, the default location of Rootdrive\Winnt\Sysvol is
acceptable as long as the volume uses the NTFS file system. This is required
for the Sysvol folder.
- Click Next.
- If you do not have a DNS server available, a "The wizard
cannot contact the DNS server that handles the name Domain
Name to determine if it supports dynamic update. Confirm your DNS
configuration, or install and configure a DNS server on this computer" message
appears.
- Click OK.
- In the Configure DNS screen, click Yes, install and configure DNS on this
computer (recommended).
- Click Next.
- In the Windows NT 4.0 RAS Server screen, choose whether or not you want to allow Remote Access
Services (RAS) access to this server. Click Next.
- In the Directory Serviced Restore Mode Administrative Password screen, specify an administrator password to use when you start
the computer in Directory Services Restore mode. You use Directory Services
Restore mode when you need to recover the Active Directory database.
NOTE: Make sure you remember this password, or you cannot restore
Active Directory if needed. - During the replication phase of the promotion process,
there is an option to replicate later. There are many reason to choose this
option (for example, if you are using a slow link in the middle of the day and
you want to wait until the end of the day).
- Verify that Active Directory is installed by viewing the
messages on the screen. After Active Directory is installed, click Finish to close the wizard.
- Restart the computer.
back to the top
Removing Active Directory from a Domain ControllerNOTE: When a domain controller is demoted, if it is not the last
domain controller in the domain, it performs a final replication and then
transfers the roles to another domain controller. As part of the demotion
process, the Dcpromo utility removes the configuration data for the domain
controller from Active Directory. This data takes the form of an NTDS Settings
object, which exists as a child to the server object in Active Directory Sites
and Services Manager. After the domain controller is demoted it no longer has
Active Directory information available, and uses the Security Accounts Manager
(SAM) database for local database information. If the domain controller is a
global catalog, that role is not transferred to another domain controller. In
this case, you must manually select the check box in Active Directory Sites and
Services Manager for another domain controller to take over the role.
If the demotion process does not succeed for any reason, you must
manually delete this metadata from the directory. Use the Ntdsutil.exe utility
to manually remove the NTDS Settings object.
For additional information about how
to use Ntdsutil.exe, click the article number below to view the article in the
Microsoft Knowledge Base: 216498 Removing Active Directory Data After an Unsuccessful Demotion
- Click Start, click Run, type dcpromo, and then click OK.
- This starts the Active Directory Installation Wizard. Click
Next.
- There is a check box in the Remove Active Directory screen. If this computer is the last domain controller in the
domain, click to select the check box. Otherwise, click Next.
- In the next screen, set the password for the administrator
account on the server after Active Directory is removed. Type the appropriate
password in the Password and Confirm Password boxes, and then click Next.
- In the Summary screen, review and confirm the options you selected, and then
click Next.
- The wizard begins the process of removing Active Directory
from the server. After the process is finished, a message indicates that Active
Directory was removed from the computer.
- Click Finish to quit the wizard.
- Restart the computer.
NOTE: Windows 2000-based DNS severs should point to themselves for DNS
in their TCP/IP properties. If this server needs to resolve names from its
Internet service provider (ISP),you should configure a
forwarder.
back to the top
Modification Type: | Major | Last Reviewed: | 11/16/2004 |
---|
Keywords: | kbenv kbhowto kbHOWTOmaster KB238369 kbAudITPro |
---|
|