Partager via


Repadmin /syncall

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

Synchronizes a specified domain controller with all of its replication partners.

By default, if no directory partition is provided in the <Naming Context> parameter, the command performs its operations on the configuration directory partition.

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

Syntax

repadmin /syncall <DSA> [<Naming Context>] [<flags>]

Parameters

Parameter Description

DSA

Specifies the host name of a domain controller. For detailed syntax, see Repadmin.

<Naming Context>

Specifies the distinguished name of the directory partition.

<flags>

The flags in the following list are supported.

  • /a Aborts, if any server is unavailable.

  • /A Synchronizes all naming contexts that are held on the home server.

  • /d Identifies servers by distinguished name in messages.

  • /e Synchronizes domain controllers across all sites in the enterprise. By default, this command does not synchronize domain controllers in other sites.

  • /h Displays Help.

  • /i Iterates indefinitely.

  • /I Runs the repadmin /showrepl command on each server pair in the path instead of synchronizing.

  • /j Synchronizes adjacent servers only.

  • /p Pauses after every message to allow the user to abort the command.

  • /P Pushes changes outward from the specified domain controller.

  • /q Runs in quiet mode, which suppresses call back messages.

  • /Q Runs in very quiet mode, which reports fatal errors only.

  • /s Does not synchronize.

  • /S Skips the initial server response check.

Examples

The following example synchronizes the target domain controller will all its partners, including domain controllers in other sites. The output displays the partners by their distinguished names, rather than their globally unique identifiers (GUIDs). This example aborts the command if any one partner is not available:

repadmin /syncall dst-dc01 dc=contoso,dc=com /d /e /a

Additional references

Command-Line Syntax Key

Repadmin