Automate ActiveDirectory BackUp Using .Net and LDIFDE

Here is a class (VB.Net) that can backup the active directory by Ldifde tool that provided with windows 2000 server or windows 2003 server. The main function- Backup“ gets the following parameters:

  1. FieldList - an array list of all the fields that ldifde tool will backup.
  2. QueryFilter - a string that contains the query filter, in my example , the filter is set to - users only.

  3. DomainName - string - an LDAP syntax of the domain name we want to backup.


this class should be used only on the following operating systems:

  • Windows 2000 Server.
  • Windows 2003 Server.
  • Windows 2000 pro.*
  • windows Xp Pro *

* only if the ldifde tool imported to the system32 folder.

For more information about ldifde:

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.