Why am I getting "Invalid Parameter: Bad argument '-i' " when running ldifde.exe?

Posted on 2009-02-19
Last Modified: 2012-05-06
Why do I get this error?

C:\>ldifde -i -f c:\schema.ldf -v -j c:\ldifde.log
Invalid Parameter: Bad argument '-i'

LDIF Directory Exchange

General Parameters
-i              Turn on Import Mode (The default is Export)
-f filename     Input or Output filename

I'm trying to update our AD schema for System Center Configuration Manager.

Question by:mike_lfcu
    LVL 8

    Expert Comment

    Are you using the ADAM command prompt from:
    Start --> All Programs -->ADAM --> ADAM Tools Command Prompt
    Then run the command

    Syntax looks correct....
    LVL 3

    Expert Comment

    ldifde -i -f c:\schema.ldf -v -j c:\ldifde.log

    The syntax is fine..I am wondering there might be some extra space between the switches(I had teh same experience once :) )


    Author Comment

    I'm trying to upgrade our AD schema with the extensions for System Center Configuration Managment 2007. The DC I'm trying to run this on is Windows 2008. Is there anything special I have to do to run LDIFDE.exe on Windows 2008?

    Accepted Solution

    I was able to get it to run by typing the command in by hand. I was copying and pasting from a text file before.
    I still was getting an error with the -j logging option. It would tell me that it couldn't open the log file.

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
    Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
    This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now