Active Directory:: Server Manager Command Line
Active Directory:: Server Manager Command Line
Active Directory:: Server Manager Command Line
dcpromo /adv
Dcpromo /answer:<path_to_answer_file>
Microsoft recommends that you keep the domain naming master and schema master roles on the same computer
The RID master keeps track of all RIDs assigned within its domain and issues
blocks of 500 RIDs to all other domain controllers in the domain so that administrators
can create accounts.
When you create a new tree or child domain in an existing forest, the server you are promoting must be
able to contact the domain naming master, or the promotion will fail.
. If you need to modify the schema, the server you are working from must be able to contact the schema
master. This includes the installation or configuration of server applications such as Exchange Server that
add classes or attributes to the schema.
. Client computers running pre-Windows 2000 operating systems must be able to contact the PDC emulator
if users on these computers want to perform account modifications such as password changes.
. The PDC emulator ensures that clocks on all computers in the domain remain synchronized. You can also
configure another domain controller with GTIMESERV to ensure clock synchronization.
. When creating new users or groups, you must be able to contact the infrastructure master to ensure that
conflicting changes are not occurring elsewhere in the domain. Remember that this server also tracks
changes in group membership that can cross domains, and that these changes cannot occur if the
infrastructure master is unavailable.
. When creating new user, group, or computer accounts, the server on which you are performing these tasks
must have RIDs available. When this server exhausts its pool of RIDs, it must be able to contact the RID
master, or you won’t be able to create additional new accounts.
Active Directory creates site link bridges for all site links you have configured. Each site link bridge is a chain of
site links that enables any two domain controllers to communicate directly with each other, whether or not they are
directly connected with a site link. To begin, all site links for a single transport protocol (IP or SMTP) are included
in one site link bridge for that
protocol. This is known as automatic site link bridging or transitive site links.
The cost of a site link bridge is the sum of the costs of all links contained within the site link bridge. However, you must ensure
that each site link in the bridge has at least one site in common with another site link in the bridge; otherwise, you cannot
compute costs for the site link bridge, and such a bridge serves no real purpose
bridgehead server is the domain controller designated by each site’s Knowledge Consistency Checker (KCC) to take
control of intersite replication. The bridgehead server receives information replicated from other sites and replicates
it to its site’s other domain controllers. It ensures that the greatest portion of replication occurs within sites rather
than between them.
Intersite Topology Generator
The ISTG is a single domain controller in each site that the KCC uses to build its intersite replication topology. It
considers the cost of intersite connections and checks whether any domain controllers have been added to or
removed from each site. Using this information, the KCC then adds or removes connection objects to optimize
replication as needed. If the forest is operating at either the Windows Server 2003 or Windows Server 2008 native
forest functional level, the KCC uses an improved randomized process to determine the bridgehead servers used by
each site for intersite replication.
Domain partition—This contains all domain-specific information, such as user, computer, and group accounts.
This partition is replicated to all domain controllers in its domain but is not replicated to other domains in the forest.
. Configuration partition—This contains forestwide configuration information. This partition is replicated to all
domain controllers in the forest.
. Schema partition—Contains all schema objects and attributes. This partition is replicated from the schema master
to all other domain controllers in the forest.
. Application directory partitions—As introduced in Chapter 2, “Active Directory and DNS,” these partitions
contain application-specific (such as DNS) information that is replicated to specific domain controllers in the forest.
Global catalog—As introduced in Chapter 1, the global catalog contains partial information on all objects in each
domain that is replicated to all global catalog servers in the forest
Active Directory replicates all data in these partitions to the specified domain controllers in the domain so that every
domain controller has an up-to-date copy of this information. By default, any domain controller can replicate data to
any other domain controller; this process is known as multimaster replication. A
read-only domain controller (RODC) can receive updated information from another domain controller (inbound
replication), but it cannot replicate information to other servers. If your domain is spread across more than one site, a
single domain controller in each site known as a bridgehead server replicates
information to bridgehead servers in other sites; other domain controllers in each site replicate information to
domain controllers in their own site only.
AD LDS
You can use the ldifde command from an administrative command prompt to import data from a legacy application
or file. Open a command prompt and type the following:
Ldifde –I –f <filename> -s <servername>:<port> -a <username> <domain> <password>
To install the AD LDS roleon server core, type the following command:
start /w ocsetup DirectoryServices-ADAM-ServerCore
To install an AD LDS instance, you must have a text-based answer file that you can create in Notepad. Figure 4.12
shows a sample answer file. Type the following command:
%systemroot%\ADAM\adaminstall.exe /answer:<path_to_answer_file>
Dsadd group GroupDN –fn FirstName –secgrp {yes | no} –scope {l |g |u}
➥-samid SAMName –memberof Group … -members member …
. dsmod—Modifies objects
. dsrm—Removes objects
. dsmove—Moves objects to another container within the domain
. dsget—Provides information about objects
. dsquery—Displays objects matching search criteria
A user principal name (UPN) is a logon name formatted in a manner similar to that of an email address, such as
user1@examcram.com.