SS Technology Forum

SS Technology Forum

Computer Migration - Things to Consider

Here are a few points which you can consider while doing computer migration. These points are applicable to all migrations irrespective of the migration tool (ADMT, NetIQ, Quest etc)

Active Directory User Migration

Here is a graphical representation of the high level steps involved in an Active Directory migration using ADMT

User Migration and Merging Using Quest Migration Manager

Pre-creating user account in the target domain is a common scenario these days due to single-sign-on solution, HR management procedure etc

Microsoft Right Management Service (RMS)

Rights Management Service (RMS) is an add-on to many RMS aware applications. In this article my main focus is to explain how we can utilize RMS technology with Exchange 2003 and how we can take advantage of RMS technology to increase the email security

Microsoft ISA Server

I am sure we have all either encountered or heard of this "problem" one time or another if the ISA Server is part of the Active Directory Domain. Is it a problem?

Showing posts with label CSVDE. Show all posts
Showing posts with label CSVDE. Show all posts

Thursday, September 13, 2007

How to Import and Export Directory Objects Using LDIFDE command

You can use the Ldifde.exe utility to export all directory objects to an .ldf file. The following command searches Houston OU and creates a file called exportdirectory.ldf containing those objects and its attributes:

Export Command ldifde -m -f c:\exportdirectory.ldf -d "OU=Houston,dc=Sivarajan,dc=Lab"

This command will export all the directory objects inside Houston OU to exportdirectory.ldf file.

The reason I used "-m" switch is, it will automatically strip all system-owned attributes when exporting the objects.   If you don't use "-m" or filter using "-r" or "-o" option, you will get the following error message when you try to import the objects into Active Directory

"Unwilling to perform. The modification was not permitted for security reasons"

Import Command

ldifde -i -f c:\exportdirectory.ldf

Also, you can use CSVDE command to import and export Active Directory objects.

Export Using CSVDE command

csvde -f c:\exportdirectory.csv -d "OU=Houston,dc=Sivarajan,dc=Lab"

Import Using CSVDE command

csvde -i -f c:\exportdirectory.csv

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More