Repadmin /showutdvec

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

Displays the highest committed Update Sequence Number (USN) that Active Directory Domain Services (AD DS) on the targeted domain controller shows as committed for itself and its transitive partners.

The up-to-dateness vector (UTDVEC) shows the highest USN that the destination domain controller has received by replication, in the form of changes it has received from its direct and transitive replication partners for the specified partition.

Destination domain controllers start with the last received USNchanged attribute when they request changes from a specified source.

All USNs for a specified source domain controller appear in the context of the local USN for that source, not the USNs on the destination domain controller.

The UTDVEC for a local domain controller shows the highest committed USN on which the domain controller has performed inbound replication or that it originated.

This command output lists current and historical replication partners, including transitive replication partners.

By comparing the USNs from this command output on a source and destination domain controller, you can determine how current a destination domain controller is compared to its source partner.

You may detect USN rollbacks if you run this command when the destination domain controller has a higher committed USN than the source domain controller. For best results, and to avoid false USN rollbacks, obtain this command output from destination domain controllers immediately followed by source domain controllers.

For examples of how to use this command, see Examples.


repadmin /showutdvec <DSA_LIST> <Naming Context> [/nocache] [/latency]


Parameter Description


Specifies the host name of a domain controller or a list of domain controllers that are separated in the list by single spaces. For detailed syntax, see Repadmin.

<Naming Context>

Specifies the distinguished name of the directory partition.


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


Orders the entries in the UTDVEC from least current to most current.


The following example shows the highest committed USN on a domain controller named dc1 for the directory partition:

repadmin /showutdvec dc1 dc=contoso,dc=com

The following example shows the highest USN on the local domain controller for the directory partition, and orders the entries from least current to most current:

repadmin /showutdvec localhost dc=mayberry,dc=contoso,dc=com /latency

Additional references

Command-Line Syntax Key