{"id":1421,"date":"2011-11-24T14:35:44","date_gmt":"2011-11-24T14:35:44","guid":{"rendered":"http:\/\/www.obieta.com\/?p=1421"},"modified":"2011-11-24T14:35:44","modified_gmt":"2011-11-24T14:35:44","slug":"restoring-active-directory-using-wbadmin-and-ntdsutil","status":"publish","type":"post","link":"http:\/\/obieta.com\/?p=1421","title":{"rendered":"RESTORING ACTIVE DIRECTORY USING WBADMIN AND NTDSUTIL"},"content":{"rendered":"<p>You can use\u00a0<strong>wbadmin<\/strong>, which is the command-line component of the Windows<br \/>Server Backup snap-in, to perform a\u00a0<strong>nonauthoritative restore<\/strong> of Active Directory, which\u00a0restores a single Active Directory domain controller to its state before the backup<br \/><strong>wbadmin start sysstaterecovery -version:MM\/DD\/YYYY-HH:MM-backuptarget:targetDrive:<br \/>-machine: BackupComputerName-quiet<\/strong><\/p>\n<p>Rebooted your domain controller into<br \/>Directory Services Restore Mode, and that you have already performed a nonauthoritative<br \/>restore using wbadmin.<br \/>1. Open a command prompt window.<br \/>2. Key ntdsutil and press (Enter).<br \/>3. From the Ntdsutil menu, key activate instance NTDS and press (Enter). You will<br \/>return to the Ntdsutil menu.<br \/>4. Still working from the Ntdsutil menu, key authoritative restore and press (Enter).<br \/>a. To restore a single object, key restore object<\/p>\n<p>and press (Enter).<br \/>b. To restore a container and the objects it contains, key restore subtree<br \/>and press(Enter). The Authoritative Restore Confirmation Dialog<br \/>window is displayed.<br \/>5. Click Yes to perform the authoritative restore. After the authoritative restore has<br \/>completed, you will see the window shown in Figure 11-11. As you can see, this<br \/>indicates that a text file was created containing information about each object<br \/>that was authoritatively restored, as well as listing the name of the LDF file containing<br \/>any back-link information that needs to be restored.<br \/>6. Key quit and press (Enter) twice to return to the command prompt.<br \/>7. If back-links need to be restored, restart the domain controller in normal mode.<br \/>Open a command prompt, key Idifde -i -f\u00a0-s\u00a0and press (Enter).<br \/>8. Close the command prompt window.<br \/>9. Restart the domain controller in normal mode<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can use\u00a0wbadmin, which is the command-line component of the WindowsServer Backup snap-in, to perform a\u00a0nonauthoritative restore of Active Directory, which\u00a0restores a single Active Directory domain controller to its state before the backupwbadmin start sysstaterecovery -version:MM\/DD\/YYYY-HH:MM-backuptarget:targetDrive:-machine: BackupComputerName-quiet Rebooted your domain controller intoDirectory Services Restore Mode, and that you have already performed a nonauthoritativerestore using wbadmin.1. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,1],"tags":[],"_links":{"self":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1421"}],"collection":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1421"}],"version-history":[{"count":0,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1421\/revisions"}],"wp:attachment":[{"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1421"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}