Home > Windows Server Tips > Windows Server Monitoring and Management > Use Ldifde.exe and Csvde.exe data export tools to create Active Directory objects
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SERVER MONITORING AND MANAGEMENT

Use Ldifde.exe and Csvde.exe data export tools to create Active Directory objects


susan.husi@hotmail.com
07.02.2007
Rating: -3.67- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Ldifde.exe and Csvde.exe are two data export tools for creating Active Directory objects, through the use of clean formatted data presented in LDIF or CSV format. They can export data based on its location in the directory, OU membership and object class, such as user, group or computer.

These tools can also specify which attributes to export. Although the tools are fairly limited as far as specifying certain attributes, they facilitate Active Directory management because once the script is ready, an admin can save time by using it to import or export multiple users at a time.

To create an export file of every object in the user's container of test.com, with Ldifde.exe, follow these steps:

  1. Log on to a workstation or server in the test.com domain (or if you're an admin of Microsoft, it would be microsoft.com) with an account that has Domain Admin rights.
  2. Choose Start, then Run.
  3. Type cmd.exe. Click OK to open a command prompt.
  4. Type "ldifde -f UserContainer.txt â "d "cn=users,dc=test,dc=com" and press Enter to execute it. This command creates a file containing all the attributes and values of the user container and all the objects within it.

  5. To open the output file to see what the LDIF format looks like in the command-prompt window, type the filename to open it in Notepad.

You can also use these tools to perform directory imports if necessary. However, you cannot set the initial password using these tools.

Rating this tip below will let us know how useful it was to you. And if you have a Windows tip, timesaver or workaround to share, submit it to our tip contest. You could win a $150 gift certificate.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Microsoft Windows Scripting Language
Create a script to check integrity of your server's drives
Scripting elevation in Windows Vista with JavaScript
Scripting School: Replacing text with regular expressions
Scripting School: Writing a script for an office inventory system
Christa Anderson's Scripting School for Windows administrators
How to automate advanced Windows desktop tasks using scripts and macros
Just the FAQs guide to VB Scripting basics
Script reveals which port Terminal Services listens to for incoming connections
Scripting School: Find objects with Windows Script Host
Windows scripting for beginners

Windows Server Monitoring and Management
Can Microsoft really make an impact with Hyper-V?
Easing security concerns with Server Core for Windows 2008
Understanding quorum in Windows Server 2008 clustering
What's there to hate about Windows Server 2008?
Windows PowerShell: A backdoor to malware?
When (and when not) to use Windows server failover clustering
Backing up virtual servers: Top methods for Windows machines
Troubleshoot Windows server clusters with ClusDiag
Using ClusDiag for enhanced Windows server cluster reporting
Take control of server clusters with Microsoft's ClusDiag tool

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts