域內用戶組策略設置不一致

 
域內用戶組策略設置不一致

 

 

今天發現公司裏面很多人的組策略和DC上面設置的不同步,然後就去檢查,在dc04上面的日誌時候,發現DC的文件複製裏面一直報:13568錯誤,內容如下:
Event Type:         Error

Event Source:      NtFrs

Event Category:   None

Event ID:    13568

Date:          2007-4-20

Time:                   1:05:34

User:          N/A

Computer:  DC04

Description:

The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.

Replica set name is    : "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"

 Replica root path is   : "c:\windows\sysvol\domain"

 Replica root volume is : "\\.\C:"

 A Replica set hits JRNL_WRAP_ERROR when the record that it is trying to read from the NTFS USN journal is not found.  This can occur because of one of the following reasons.

  [1] Volume "\\.\C:" has been formatted.

 [2] The NTFS USN journal on volume "\\.\C:" has been deleted.

 [3] The NTFS USN journal on volume "\\.\C:" has been truncated. Chkdsk can truncate the journal if it finds corrupt entries at the end of the journal.

 [4] File Replication Service was not running on this computer for a long time.

 [5] File Replication Service could not keep up with the rate of Disk IO activity on "\\.\C:".

 Setting the "Enable Journal Wrap Automatic Restore" registry parameter to 1 will cause the following recovery steps to be taken to automatically recover from this error state.

 [1] At the first poll, which will occur in 5 minutes, this computer will be deleted from the replica set. If you do not want to wait 5 minutes, then run "net stop ntfrs" followed by "net start ntfrs" to restart the File Replication Service.

 [2] At the poll following the deletion this computer will be re-added to the replica set. The re-addition will trigger a full tree sync for the replica set.

WARNING: During the recovery process data in the replica tree may be unavailable. You should reset the registry parameter described above to 0 to prevent automatic recovery from making the data unexpectedly unavailable if this error condition occurs again.

 To change this registry parameter, run regedit.

Click on Start, Run and type regedit.

 Expand HKEY_LOCAL_MACHINE.

Click down the key path:

   "System\CurrentControlSet\Services\NtFrs\Parameters"

Double click on the value name

   "Enable Journal Wrap Automatic Restore"

If the value name is not present you may add it with the New->DWORD Value function under the Edit Menu item. Type the value name exactly as shown above.

同時,發現DC01DC04上面的組策略不一樣的,在DC04上面的一個組策略的user version :39(AD),35(SysVol),DC01上面的都是39

然後根據錯誤ID,到微軟的網站搜索了一下,這個問題叫:日誌摺疊錯誤,根據上面的提示和MS網站上面的解釋,應該是域內部的複製出現了問題,導致DC04上面的SysVol文件夾不能更新成最新的,因爲GPO都是存在SysVol裏面的,所以使用DC04登錄的用戶的組策略就不是新的,導致域內用戶的組策略不一樣,問題找到就好解決,

解決辦法:

修改了DC04d 註冊表的值,

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NtFrs\Parameters 下面,添加:Enable Journal Wrap Automatic Restore DWORD值,Value爲:1

然後手工啓動DC上面的文件複製功能,等了5分鐘左右,刷新用戶組策略,都是最新的了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章