Oldhelp

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2

Oldhelp displays a list of the operations that have been deprecated in the Windows Server 2003 version of repadmin.

sync

Starts a replication event for the specified directory partition between the source and destination domain controllers. The source universally unique identifier (UUID) can be determined when viewing the replication partners by using the showreps operation.

Syntax

repadmin /sync <NamingContext> <DestDC> <SourceDCUUID> [/force] [/async] [/full] [/addref] [/allsources]

Parameter

Description

<NamingContext>

Specifies the distinguished name of the directory partition.

<DestDC>

Specifies the host name of the domain controller (Directory Server Agent) with which you want to replicate.

<SourceDCUUID>

Specifies the unique hexadecimal number that identifies the object whose changes will be listed. The objectGUID can be retrieved by using the showreps operation.

/force

Overrides the normal replication schedule

/async

Specifies that the replication will be asynchronous. This means that repadmin starts the replication event, but it does not expect an immediate response from the destination domain controller. Use this parameter when there are slow links between domain controllers.

/full

Forces a full replication of all objects from the destination domain controller.

/addref

Directs the source to check for a notification entry on the source. If the source does not have a notification entry for this destination, one is added.

/allsources

A given destination can have multiple sources for the same naming context. Directs the destination to sync with all sources instead of just one.

propcheck

Compares properties of specified domain controllers to determine if they are up-to-date with each other. The source domain controller contains the original information that needs to be checked. The destination domain controller data will be compared to the source domain controller data.

Syntax

repadmin /propcheck <NamingContext> <OriginatingDCInvocationID> <OriginatingUSN> <DestDC>

Parameter

Description

<NamingContext>

Specifies the distinguished name of the directory partition on the source domain controller.

<OriginatingDCInvocationID>

Specifies the unique hexadecimal number that identifies an object on a source domain controller. The InvocationID can be retrieved by using the showreps operation.

<OriginatingUSN>

Specifies the update sequence number (USN) for the object on the source domain controller. The USN is for the object whose InvocationID is already listed.

DestDC

Specifies the host name of the destination domain controller from which to enumerate the host domain controllers.

getchanges

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 the getchanges operation can be run again for comparison. Syntax 2 lists changes to a specified object.

Syntax1

repadmin /getchanges <NamingContext> <SourceDC> [/cookie: <File>] [/atts: <attribute1>,<attribute2>,...]

Syntax2

repadmin /getchanges <NamingContext> <DestDC> <SourceDCObjectGUID> [/verbose] [/statistics] [/noincremental] [/objectsecurity] [/ancestors] [/atts: <attribute1>,<attribute2>,...] [/filter: <ldap filter>]

Parameter

Description

<NamingContext>

Specifies the distinguished name of the directory partition.

<SourceDC>

Specifies the host name of the domain controller that hosts the directory partition whose changes you want to view.

cookie:<File>

Specifies a name for the file to which list changes are saved.

atts:<attribute1>,<attribute2>

Returns only the attributes specified. Separate each listed attribute with a comma.

<DestDC>

Specifies the host name of the destination domain controller from which to enumerate the host domain controllers.

<SourceDCObjectGUID>

Specifies the unique hexadecimal number that identifies the object whose changes will be listed. The objectGUID can be retrieved by using the showreps operation.

/verbose

Lists detailed information.

/statistics

Displays a summary of information about changes instead of a list of individual changes.

/noincremental

Returns changes in value change format, which lists current values for attributes as well as what attributes have been added or deleted. If not specified, changes are returned in attribute change format, which shows only the current value of the attribute.

/objectsecurity

Overrides the need for the Get Changes right to the directory partition. By default this right is needed to run the /getchanges parameter. However, only changes that the currently logged on user has the rights to view are displayed.

/filter:<ldap filter>

Returns only those changes that meet the filter requirements.

/ancestors

Returns changes in USN order

Note

The information from Syntax1 can be saved to a file for later comparison.

showreps

Displays the replication partners for each directory partition on the specified domain controller. Helps the administrator build a visual representation of the replication topology and see the role of each domain controller in the replication process.

Syntax

repadmin /showreps <NamingContext> <DC> <SourceDCObjectGUID> [/verbose] [/nocache] [/repsto] [/conn] [/all]

Parameter

Description

<NamingContext>

Specifies the distinguished name of the directory partition.

DC

Specifies the host name of the domain controller.

<SourceDCObjectGUID>

Specifies the unique hexadecimal number that identifies the object whose replication events will be listed.

/verbose

Lists detailed information.

/nocache

Specifies that globally unique identifier (GUIDs) are left in hexadecimal form. By default, GUIDs are translated into strings.

[/repsto]

Lists the domain controllers that pull replication information from the specified directory partition.

/conn

Displays the connection objects associated with each link.

/all

Displays all replication partners.

showvector

Displays the highest USN for the specified domain controller. This information shows how up-to-date a replica is with its replication partners.

Syntax

repadmin /showvector <NamingContext> <DC> [/nocache] [/latency]

Parameter

Description

<NamingContext>

Specifies the distinguished name of the directory partition.

<DC>

Specifies the host name of the domain controller.

/nocache

Specifies that GUIDs are left in hexadecimal form. By default, GUIDs are translated into strings.

/latency

Sorts the information by the time required to complete the replication. By default the information is sorted by USN.

showmeta

Displays the replication metadata for a specified object stored in Active Directory such as attribute ID, version number, originating and local Update Sequence Number (USN), and originating server's GUID and Date and Time stamp. By comparing the replication metadata for the same object on different domain controllers, an administrator can determine whether replication has taken place.

Syntax

repadmin /showmeta <ObjectDN> <DC> [/nocache] [/linked]

Parameter

Description

<ObjectDN>

Specifies the distinguished name of the object.

<DC>

Specifies the host name of the domain controller that hosts the object.

/nocache

Specifies that GUIDs are left in hexadecimal form. By default, GUIDs are translated into strings.

/linked

Displays metadata associated with, but not stored with the specified object.