|
Subcommand
|
Syntax and description
|
|
bind
|
repadmin /bind [dsa]
Connects to and displays the replication features for a directory server.
|
|
bridgeheads
|
repadmin /bridgeheads [dsa]
Lists the directory servers that act as bridgehead servers for a specified site.
|
|
checkprop
|
repadmin /checkprop [dsa] Naming ContextOriginatingDCInvocationIDOriginatingUSN
Compares the properties of specified directory servers to determine if they are up to date with each other. The source directory server contains the original information that must be checked. The data on the destination directory server is compared to the data on the source directory server.
|
|
dsaguid
|
repadmin /dsaguid [dsa] [GUID]
Returns a server name when given a globally unique identifier (GUID).
|
|
failcache
|
repadmin /failcache [dsa]
Displays a list of failed replication links that are detected by the Knowledge Consistency Checker (KCC).
|
|
istg
|
repadmin /istg [dsa] [/verbose]
Returns the computer name of the Intersite Topology Generator (ISTG) server for a specified site.
|
|
kcc
|
repadmin /kcc [dsa] [/async]
Forces KCC to calculate replication topology for a specified directory server. By default, this calculation occurs every 15 minutes.
|
|
latency
|
repadmin /latency [dsa] [/verbose]
Displays the amount of time between replications, by using the ISTG Keep Alive time stamp. The ISTG Keep Alive time stamp is not used in forests that are set to the Windows Server 2003 forest functional level. Instead, in those environments, use repadmin /showutdvec /latency.
|
|
notifyopt
|
repadmin /notifyopt [dsa] Naming Context [/first:Value] [/subs:Value]
Displays or sets the notification timing settings for replication of a specified directory partition.
|
|
queue
|
repadmin /queue [dsa]
Displays tasks that are waiting in the replication queue.
|
|
prp
|
Repadmin /prp [operation] RODC [additional arguments]
Displays or modified the Password Replication Policy for a read-only domain controller (RODC).
This command is available only for versions of Repadmin that are included in Windows Server 2008, Windows Server 2008 R2, or Remote Server Administration Tools.
The operation can be view, add, delete, or move. For view, add, and delete, RODC can be either RODC_Name or *. For move, RODC must be RODC_name.
|
|
querysites
|
repadmin /querysites FromSiteRDNToSite1RDN [ToSite2RDN...]
Uses routing information to determine the cost of a route from a specified site to another specified site or sites. The querysites parameter does not allow the use of alternate credentials. The relative distinguished names that are used in this command are case sensitive.
|
|
replicate
|
Syntax 1
repadmin /replicate destination_dsasource_dsa [/force] [/async] [/full] [/addref]
Syntax 2
repadmin /replicate destination_dsa [/force] [/async] [/full] [/addref] /allsources
Starts a replication event for the specified directory partition between the source and destination directory servers. You can determine the source GUID when you view the replication partners by using showrepl.
|
|
replsingleobj
|
repadmin /replsingleobject dsaDsaSourceGUIDObjectDN
Replicates a single object between any two directory servers that have partitions in common. The two directory servers do not have a replication agreement. You can show replication agreements by using the repadmin /showrepl command.
|
|
replsummary
|
repadmin /replsummary [dsa] [/bysrc] [/bydest] [/errorsonly][/sort:{delta|partners|failures|error|percent}]
Summarizes the replication state and relative health of an Active Directory forest.
|
|
rodcpwdrepl
|
repadmin /rodcpwdrepl [DSA_list] Hub DCUser1 DN [User2 DNUser3 DN]
Triggers replication of passwords for the specified users from the source Hub DC to one or more RODCs.
This command is available only for versions of Repadmin that are included in Windows Server 2008, Windows Server 2008 R2, or Remote Server Administration Tools.
|
|
showattr
|
repadmin /showattr dsa [OBJ_LIST] [OBJ_LIST_OPTIONS] [/attr|/attrs: attributeattribute ...] [/allvalues] [/long] [/nolongblob] [/nolongblob] [/nolongfriendly] [/dumpallblob]
The /showattr operation displays the attributes and contents of an object.
|
|
showcert
|
repadmin /showcert dsa
Displays the certificates (used with Simple Mail Transfer Protocol (SMTP)–based replication) that are loaded on a specified directory server.
|
|
showchanges
|
Syntax 1
repadmin /showchanges source_dsaNaming Context [/cookie: File] [/atts: attribute1,attribute2,...]
Syntax 2
repadmin /showchanges dest_dsaSourcedsaObjectGUIDNaming Context [/verbose] [/statistics] [/noincremental] [/objectsecurity] [/ancestors] [/atts: attribute1,attribute2,...] [/filter: ldap filter]
Displays changes from a specified directory partition or changes to a specified object. "Syntax 1" saves changes to a directory partition. If this information is saved to a file, you can run the getchanges operation again for comparison. "Syntax 2" lists changes to a specified object. For this command to run properly, the account under which the command is run must possess the replication get changes right on the specified directory partition.
|
|
showconn
|
repadmin /showconn [dsa] [ServerRDN | ContainerDN | dsa_GUID] [/From:ServerRDN] [/intersite]
Displays the connection objects for a specified directory server. The default is local site.
|
|
showctx
|
repadmin /showctx [dsa] [/nocache]
Displays a list of computers that have opened sessions with a specified directory server.
|
|
showism
|
repadmin /showism [TransportDN] [/verbose]
Queries the Intersite Messaging Service (ISM) for site routes. This operation cannot be executed remotely.
|
|
showmsg
|
repadmin /showmsg {Win32Error | DSEventID | NTDSMSG}
Displays the error message for a given error number.
|
|
showncsig
|
repadmin /showncsig [dsa]
Each directory server maintains a directory partition signature list. This command displays a list of the removed application partition GUIDs. You can configure an application directory partition to be held or not held on a particular directory server by using ntdsutil (for Active Directory).
|
|
showobjmeta
|
repadmin /showobjmeta [dsa] ObjectDN [/nocache] [/linked]
Displays the replication metadata for a specified object that is stored in the directory, including attribute ID, version number, originating and local update sequence number (USN), and originating server's GUID and Date and Time stamp. When you compare the replication metadata for the same object on different directory servers, you can determine whether replication has occurred.
|
|
showoutcalls
|
repadmin /showoutcalls [dsa]
Displays calls that have been made by the specified directory server to other directory servers but not yet answered.
|
|
showproxy
|
Syntax 1
repadmin /showproxy [dsa] [Naming Context] [matchstring]
Syntax 2
repadmin /showproxy [dsa] [ObjectDN] [matchstring] /movedobject
Lists cross-domain move proxy objects. When an object is moved from one domain to another, a marker remains in the original domain. This marker is called a proxy.
|
|
showrepl
|
repadmin /showrepl [dsa] [SourceDCObjectGUID] [Naming Context] [/verbose] [/nocache] [/repsto] [/conn] [/csv] [/all] [/errorsonly] [/intersite]
Displays replication information. Inbound replica links are displayed by default. Outbound links can also be shown, as well as connections corresponding to those links. The command also displays errors that correspond to replica links that cannot be created by KCC. This helps an administrator build a visual representation of the replication topology and see the role of each directory server in the replication process.
|
|
showcig
|
repadmin /showsig [dsa]
Displays the retired invocation IDs on a directory server. A directory server changes its invocation ID when it is restored or when it rehosts an application partition.
|
|
showtime
|
repadmin /showtime [DSTimeValue]
Converts a directory service time value to string format for both the local and the UTC time zones.
|
|
showtrust
|
repadmin /showtrust [dsa]
Lists all Active Directory domains that are trusted by a specified Active Directory domain.
|
|
showutdvec
|
repadmin /showutdvec dsaNaming Context [/nocache] [/latency]
Displays the highest USN for the specified directory server. This information shows how up to date a replica is with its replication partners.
|
|
showvalue
|
repadmin /showvalue [dsa] ObjectDN [AttributeName] [ValueDN] [/nocache]
Displays the values of the type, last modified time, originating directory server, and distinguished name of a specified object.
|
|
syncall
|
repadmin /syncall dsa [Naming Context] [Flags]
Synchronizes a specified directory server with all replication partners. This command contains several subcommands, which are described in the usage scenarios.
By default, if no directory partition is provided in the NamingContext parameter, the command performs its operations on the configuration directory partition.
|
|
viewlist
|
repadmin /viewlist [dsa] [OBJ_LIST]
Displays a list of directory servers.
|
|
oldhelp
|
Displays a list of the operations that have been deprecated in this version of repadmin.
|