von postNils Kaczenski post25. August 2007, 16:12 Uhr post http://faq-o-matic.net/?p=684
post Kategorie: Active Directory, Datensicherung, Downloads, Scripting, Tools

This is the English version of my Active Directory recovery tool Werding v2. Find the original German version here on our site.

Werding is a script-based tool that helps in online recovery of Active Directory data. You can use it in conjunction with ADrestore by Sysinternals, ADRestore.NET by Guy Teverovsky or similar tools.

Werding has two operational modes: backup mode creates a CSV/XML backup of your AD data. Restore mode reads attribute values from the backup files and writes them back to AD. This is useful when you chose to recover a deleted AD object using a tombstone restore with ADrestore. This re-animated tombstone will have lost most of its attribute values including all group memberships. Werding can restore those values and all group memberships for such an object.

Download:

Download: Werding v2 (English version): Online data recovery for Active Directory  Werding v2 (English version): Online data recovery for Active Directory (87.7 KiB, 1,043 hits)

Usage:
Backup mode:
cscript werding.vbs

Restore mode:
cscript werding.vbs /o:<object-DN> /d:<CSV-file> [/g:no]
  /o: specification of the DN (LDAP path) of an object existing in Active Directory
  /d: path to a CSVDE export file in ANSI format
  /g:no (optional) do not restore group memberships (default: group memberships will be restored)

DN and file specifications should be in quotes.
The XML file name is not specified but will be derived automatically from the CSV file name.
The DN must be exactly as Active Directory itself creates it (esp. upper or lower case and blanks).
Attention: If you use Werding on an x64 machine ypou need to run cscript from the SysWOW64 folder.

Example:

32 bit machine:
cscript werding.vbs /o:"CN=User007,OU=Employees,DC=domain,DC=com" /d:"C:\Data\domain.txt"

64 bit machine:
%systemroot%\SysWOW64\cscript.exe werding.vbs /o:"CN=User007,OU=Employees,DC=domain,DC=com" /d:"C:\Data\domain.txt"

Verwandte Beiträge:

  1. Active-Directory-Daten online wiederherstellen
    Grabsteine beleben mit Werding Das Problem Eben schnell das Windows-Anmeldekonto des Praktikanten gelöscht, der vor einigen Wochen seinen letzten Tag...
  2. TechNet-Webcast: Active Directory richtig sichern und wiederherstellen
    Am 23. August 2006 habe ich für Microsoft TechNet einen einstündigen Webcast gehalten zum Thema: "Active Directory richtig sichern und...
  3. Video-Tutorial: Active Directory Object Recovery
    Hinweis: Bei den hier verlinkten Videos handelt es sich (weitgehend) um Mitschnitte meiner Demos bei der ice:2009 in Lingen. Das...
  4. José Active-Directory-Dokumentation: Version 2.0 ist fertig
    Die neue Version 2.0 meines Dokumentationstools José für Active Directory ist endlich fertig! Nach langer Wartezeit und einer sehr produktiven...
  5. ice:2009: AD-Recovery – die Folien
    Hier die Folien zu meiner Session “Active Directory Disaster Recovery: Wie mache ich’s richtig?” auf der ice:2009 in Lingen. Fast...