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

Posted on 2009-02-19
Medium Priority
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
  • 2

Expert Comment

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

Syntax looks correct....

Expert Comment

ID: 23690774
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

ID: 23694003
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

mike_lfcu earned 0 total points
ID: 23697209
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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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…

621 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