Share via

Import or export directory objects using csvde

Applies To: Windows Server 2003 R2

To import or export directory objects using csvde

  1. Open an ADAM tools command prompt.

  2. Do one of the following:

    • To import directory objects, at the command prompt, type:

      csvde -i -f filename -s servername:port -m -a username domain password

    • To export directory objects, at the command prompt, type:

      csvde -e -f filename -s servername:port -m -a username domain password


  • To open an ADAM tools command prompt, click Start, point to All Programs, point to ADAM, and then click ADAM Tools Command Prompt.

  • The following table contains the parameters in step 2 and other commonly used csvde parameters. For more information about csvde parameters, type csvde /? at a command prompt, or see Related Topics.

    Parameter Description


    Perform an import.


    Perform an export.


    File to import.


    Host name and port of the ADAM instance.


    Ignore (that is, do not import or export) attributes that are only used by Active Directory.

    You can use this parameter when exporting directory objects from an existing Active Directory forest and importing them into ADAM.


    Account credentials. If they are not provided, ldifde uses the credentials of the currently logged on user.


    Allows importing of passwords using simple authentication security layer (SASL) encryption.

    -c String1 String2

    Replaces all occurrences of String1 with String2. With ADAM, you can use the constants #schemaNamingContext and #configurationNamingContext in place of the distinguished names of the schema directory partition and configuration directory partitions when replacing strings within .ldf files.

  • For specific information about importing the user class definitions that are supplied with ADAM, see Related Topics.

  • For complete syntax information for the csvde command, see Related Topics.

See Also


Import the user classes supplied with ADAM
ADAM Ldifde
ADAM Csvde