大网数据广告活动
域与目录服务

AD Forest Recovery - Performing an authoritative synchronization of DFSR-replicated SYSVOL

· 52CE 我爱测

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…

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

  1. Open Active Directory Users and Computers.

  2. 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.":::

  3. 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.":::

  4. 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.":::

  5. Select msDFSR-Options, select Edit, type 1, and select OK.

  6. Select OK to close the Attribute Editor.

Verify if the authoritative restore is successful using PowerShell

  1. 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.":::

  2. 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

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 06/21/2023
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。