Adamsync

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Adamsync

Synchronizes objects from Active Directory Domain Services (AD DS) to an instance of Active Directory Lightweight Directory Services (AD LDS).

Note

Before you use this command, you must import the user class definitions that are contained in the MS-AdamSyncMetadata.LDF file. For more information, see Import the User Classes That Are Supplied with AD LDS.

Syntax

adamsync  [ /? ] [ /l ] [ /d   configuration_dn ] [ /i   input_file ] [ /download   configuration_dn output_file ] [ /export   configuration_dn output_file ] [ /sync   configuration_dn ] [ /reset   configuration_dn ] [ /mai   configuration_dn ] [ /fs   configuration_dn ] [ /ageall   configuration_dn ] [ /so   configuration_dn object_dn ] [ /passPrompt ]

Parameters

  • /?
    Displays command-line options.
  • /l or /list
    Displays all available configurations of AD DS to AD LDS Synchronizer.
  • /d  or  /delete   configuration_dn
    Deletes the specified configuration.
  • /i  or  /install   input_file
    Installs the configuration that is contained in the specified input file.
  • /download   configuration_dn output_file
    Creates an output file in XML that contains the specified configuration.
  • /export   configuration_dn output_file
    Saves the current configuration to the specified output file.
  • /sync   configuration_dn
    Synchronizes the specified configuration.
  • /reset   configuration_dn
    Resets the replication cookie of the specified configuration.
  • /mai   configuration_dn
    Configures the specified configuration as the authoritative instance.
  • /fs   configuration_dn
    Performs a full replication synchronization for the specified configuration.
  • /ageall   configuration_dn
    Performs an aging search for the specified configuration. An aging search determines—by searching for the AD LDS objects in AD DS—if the AD LDS objects in a configuration have been deleted in AD DS.
  • /so   configuration_dn object_dn
    Performs a replication synchronization for the specified object in the specified configuration. Use the distinguished name of the object.
  • /passPrompt
    Prompts for user credentials.

Formatting legend

Format Meaning

Italic

Information that you supply

Bold

Elements that you type exactly as shown

Ellipsis (...)

A parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

A set of choices from which you must choose only one

Courier font

Code or program output

Additional references