Rebuild SYSVOL and NETLOGON Shares

How to rebuild/recreate Active Directory SYSVOL and NETLOGON shares. After domain controller migration from old to new you may face this problem of shares not replicating as expected. Before one proceeds with these steps, first check the health of DC by running dcdiag /q and repadmin /replsummary. If errors are not reported then proceed.

  1. Before you begin, keep a backup of SYSVOL & NETLOGON on working DC.
  2. Log on to working Domain Controller and Stop the File Replication Service.
  3. Open Registry editor (Regedit) and go to: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startup.
  4. Modify BurFlags attribute value to D4.
  5. Start File Replication Service.
  6. Wait for File Replication event ID 13516 in the event viewer.
  7. Now log in to problematic domain controller and stop the File Replication Service.
  8. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startup
  9. Modify BurFlags attribute and change the value to D2.
  10. Start File Replication Service and wait for File Replication event ID 13516.
  11. Check the shared NETLOGON and SYSVOL and it contents.
  • public/microsoft/server/ad/rebuild_sysvol_and_netlogon.txt
  • Last modified: 2017/05/12 21:13
  • by 127.0.0.1