当前位置:首页 > CN2资讯 > 正文内容

Windows 2012 下如何强制同步 AD SYSVOL

2天前CN2资讯

豆子昨天晚上临下班前遇见一个问题,一个分公司的员工无法更新组策略,查看域控发现了以下报错:

Event ID 2213


The DFS Replication service stopped replication on volume E:. This occurs when a DFSR JET database is not shut down cleanly and Auto Recovery is disabled. To resolve this issue, back up the files in the affected replicated folders, and then use the ResumeReplication WMI method to resume replication.


Additional Information:

Volume: E:

GUID: C2B76452-2993-11E3-93F5-00155D801816


Recovery Steps

1. Back up the files in all replicated folders on the volume. Failure to do so may result in data loss due to unexpected conflict resolution during the recovery of the replicated folders.

2. To resume the replication for this volume, use the WMI method ResumeReplication of the DfsrVolumeConfig class. For example, from an elevated command prompt, type the following command:

wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="C2B76452-2993-11E3-93F5-00155D801816" call ResumeReplication


这个问题我曾经遇见过,无非就是dirty shutdown造成的不同步罢了(http://blogs.technet.com/b/filecab/archive/2012/07/23/understanding-dfsr-dirty-unexpected-shutdown-recovery.aspx),按照指示2直接运行这个wmic命令就能修复。不过这次,运气没那么好了,老革命遇见了新问题,运行完指令之后,同步仍然不工作,而且出现了一个新的报错。


Event ID 4012


The DFS Replication service stopped replication on the folder with the following local path: E:\Windows\SYSVOL\domain. This server has been disconnected from other partners for 62 days, which is longer than the time allowed by the MaxOfflineTimeInDays parameter (60). DFS Replication considers the data in this folder to be stale, and this server will not replicate the folder until this error is corrected.


To resume replication of this folder, use the DFS Management snap-in to remove this server from the replication group, and then add it back to the group. This causes the server to perform an initial synchronization task, which replaces the stale data with fresh data from other members of the replication group.


Additional Information:

Error: 9061 (The replicated folder has been offline for too long.)

Replicated Folder Name: SYSVOL Share

Replicated Folder ID: F913D21E-E002-4CB2-B259-449DE3A755F2

Replication Group Name: Domain System Volume

Replication Group ID: DFF93A1B-EA01-4DCB-8424-A93523BF5950


经过网上研究搜索,可以用以下方式解决:


1.首先在DFS managment里面查看replication 的设置



可以通过右击 domain system volume进行健康诊断报告


如果是正常的DC,最后的报告状态最后会显示 Normal,如果有问题的话,会显示 Failed



2. 对于报错的DC,怎么处理呢?首先那个Event Viewer里面的解决方案是行不通的,因为 DFS management根本就不会允许你从同步组里面删除DC或者添加DC。我们需要通过更改DC的属性来Disable 和 Enable 对应的DC。具体方法可以参考

http://support.microsoft.com/kb/2218556


简单的说,在出问题的DC上,打开ADSIEDIT.MSC, 找到对应的域控,然后msDFSR-Enable 的属性改成False,然后AD site and services上手动同步一下





然后点开之前打开的DFS Mangement -> Replication, 注意观察membership status的变化,同步之后该状态会变成 Disable


3. 然后在第二步里面的msDFSR-Enable 的属性重新改为True,然后AD site and service重新replicate一遍,观察DFS managment里面的状态变化。(之前disable的状态会变成enable)


4.最后去看看DC的日志。该DC会重新自动同步。



通过这种Enable状态的更改,可以在windows 2012 下强制AD DC同步。


    你可能想看:

    扫描二维码推送至手机访问。

    版权声明:本文由皇冠云发布,如需转载请注明出处。

    本文链接:https://www.idchg.com/info/29098.html

    分享给朋友:

    “Windows 2012 下如何强制同步 AD SYSVOL” 的相关文章

    NameSilo优惠码:轻松节省域名注册与续费费用

    NameSilo优惠码有哪些? NameSilo提供了多种优惠码,帮助用户在注册或续费域名时节省费用。比如,新用户可以使用“NEWUSER10”享受10%的折扣,而“SAVE20”则对所有用户开放,提供20%的折扣。如果你在注册或续费.com域名,可以尝试使用“FREEDOM”优惠码,只需支付99美...

    Virmach Coupon 让您轻松获取高性价比的VPS服务

    在今天的网络世界中,寻找高性价比的虚拟专用服务器(VPS)和云托管服务是一项挑战。Virmach正是在这样的背景下脱颖而出。总部位于加利福尼亚州洛杉矶的Virmach,以其多样的服务和全球级的数据中心而闻名,满足了不同用户的需求。无论是新手小白还是经验丰富的开发者,Virmach都能提供适合他们的解...

    最新hudsonvalleyhost优惠码使用技巧与推荐2023

    hudsonvalleyhost 优惠码介绍 hudsonvalleyhost优惠码是一种可以帮助用户在使用hudsonvalleyhost服务时节省费用的代码。这种优惠码一般由字母和数字组成,用户在进行购买或订阅相关服务时输入该代码,就可以享受到折扣或特定的优惠。每个优惠码的有效期和适用范围可能不...

    芝加哥时区详解:如何有效应对中部标准时间的挑战与机遇

    芝加哥位于美国伊利诺伊州的东北部,是美国重要的城市之一。对于身处这座城市的人们,了解芝加哥时区无疑是日常生活中的一部分。我自己在这里生活的时候,时区的变化让我对时间更加敏感。芝加哥时区,其实就是中部标准时间(Central Standard Time,CST), UTC-6。这种时间定义不仅影响着我...

    Fiberstate: 让你的健康饮食更简单轻松

    每当提起“Fiberstate”这个词,我的脑海中便浮现出一个全新的健康理念。Fiberstate并不仅仅是一个产品,它代表着对身体健康全面理解的汇聚,是我提升生活质量的伴侣。从简单的定义开始探讨,这个概念到底蕴含着什么深意。 Fiberstate的定义实际上很贴近我们的日常生活。简单来说,它是指通...

    全面了解IP检查的重要性与实用工具

    IP 检查概述 在开始之前,先简单想象一下我在使用网络的日常生活。每当我访问一个网站或者下载文件时,我的设备背后其实都有一个IP地址在默默运作。这个看似简单的数字组合,不仅是我们在互联网世界里的“身份证”,同时也是进行各种网络交互的基础。 什么是 IP 检查 IP检查,简单来说,就是对IP地址的分析...