多域控環境或在域升級或遷移時(p2v虛擬化)(Windows 2003, 2008, 2012 r2),可能會發現sysvol、netlogon在新的域控中無法自動建立。此時如果查看事件日誌,可能會有NTFRS的出錯日誌,事件ID有13567, 13508,13509等。最根本的原因是NTFRS的複製服務未能成功進行相關數據的複製。
有人說手工複製可以解決。我沒有試過,我理解是,如果手工複製,但同步問題沒有解決,日後還是有問題。
現在將可能的解決方案收集如下:(首先保證所有域控時間一致)
方案一:(事件ID13567)
選擇一個域控,進行以下操作。
1. Stop the File Replication service on the PDC emulator FSMO role holder.
2. Use the Registry Editor to navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtFrs\Paramaters\Backup/Restore\Process at Startup.
3. Double-click the BurFlags Value Name, a REG_DWORD data type, and set the data value to D4, using the Hex radix.
4. Exit the Registry Editor.
5. Start the File Replication service.
方案二:(事件13559)
Create a simple empty txt file in c:\sysvol\domain folder (change the path according to your ad configuration, in case you changed it from default).
Rename the file to NTFRS_CMD_FILE_MOVE_ROOT without any extension, just like i wrote it.
After this, restart ntfrs:
net stop ntfrs
net start ntfrs
方案三:(事件ID13508)
1. Stop FRS.
2. Start Registry Editor (Regedt32.exe).
3. Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtFrs\Parameters
4. On the Edit menu, click Add Value, and then add the following registry value:
Value name: Enable Journal Wrap Automatic Restore
Data type: REG_DWORD
Radix: Hexadecimal
Value data: 1 (Default 0)
5. Quit Registry Editor.
6. Restart FRS.
查看官方的解決方案:
NTFRS事件列表
https://msdn.microsoft.com/en-us/library/bb727056.aspx
重建SYSVOL和netlogon的方法
http://support.microsoft.com/kb/315457