There are different ways to perform an authoritative restore of SYSVOL. You can either edit the msDFSR-Options attribute or perform a system state restore using wbadmin –authsysvol. If you have the option to restore a system state backup (that is, you're restoring AD DS to the same hardware and operating system instance) then using wbadmin –authsysvol is simpler. But if you need to perform a bare metal restore, then you need to edit the msDFSR-Options attribute.
Use the following steps to perform an authoritative synchronization of SYSVOL (if it's replicated using DFSR) by editing the msDFSR-Options attribute. Note it can also be done using PowerShell.
To perform an authoritative synchronization of DFSR-replicated SYSVOL using Active Directory Users and Computers
-
Open Active Directory Users and Computers.
-
Select View, and then select Users, Contacts, Groups, and Computers as containers and Advanced Features. :::image type="content" source="media/2a596a72680c054e00119332adab55d8.png" alt-text="Screenshot that shows the Advanced Features option and Users, Contacts, Groups, and Computers option selected.":::
-
In the tree-view, select Domain Controllers, the name of the DC you restored, DFSR-LocalSettings, and then Domain System Volume. :::image type="content" source="media/ce6e4c2fa09ce87da6eab16028af486b.png" alt-text="Screenshot that highlights the Domain System Volume folder.":::
-
In the Details pane, right-click SYSVOL Subscription, select Properties, and select Attribute Editor. :::image type="content" source="media/3433980453db8591e0b34f9cb3c93d1c.png" alt-text="Screenshot that shows the Attribute Editor tab in the SYSVOL Subscriptions Properties dialog box.":::
-
Select msDFSR-Options, select Edit, type 1, and select OK.
-
Select OK to close the Attribute Editor.
Verify if the authoritative restore is successful using PowerShell
-
After the previous operation, restart the DFSR service:
Restart-Service DFSR -PassThru :::image type="content" source="media/18334b3759684f7f38a711e2a5c59337.png" alt-text="Restart the DFSR service.":::
-
Verify the presence if Event ID 4602
Get-WinEvent -LogName 'DFS Replication' | Where-Object ID -EQ 4602 | Format-Table -AutoSize -Wrap :::image type="content" source="media/2352605524b280902670023231454ca6.png" alt-text="Verify the present of Event ID":::
Next steps
- AD Forest Recovery - Prerequisites
- AD Forest Recovery - Devise a custom forest recovery plan
- AD Forest Recovery - Steps to restore the forest
- AD Forest Recovery - Identify the problem
- AD Forest Recovery - Determine how to recover
- AD Forest Recovery - Perform initial recovery
- AD Forest Recovery - Procedures
- AD Forest Recovery - Frequently Asked Questions (FAQ)
- AD Forest Recovery - Recover a single domain within a multidomain forest
- AD Forest Recovery - Redeploy remaining DCs
- AD Forest Recovery - Virtualization
- AD Forest Recovery - Cleanup
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
