Force Replication
Description:
Follow these steps to reset SYSVOL replication between DC’s. I noticed this issue when I noticed that some servers were not seeing all the policies in the sysvol share as other servers.
To Resolve:
-
Logon to your primary DC and stop the DFS Replication service (Run =>
Services.msc
=> DFS Replication => Stop) - Open ADSI Edit (Should be under Admin tools) - ADSI Edit - Connection Settings - Default naming context
- Navigate to the following
CN=SYSVOL Subscription,CN=Domain System Volume,CN=DFSR-LocalSettings,CN=<the server name to replicate from>,OU=Domain Controllers,DC=<domain>
- ADSI Edit - Default Naming Context - Domain Controllers - DC01 - DFSR-LocalSettings - Domain System Volume
- Change the following attributes to the following values
msDFSR-Enabled=FALSE
msDFSR-options=1
- Note: If you cannot see msDFSR-options, uncheck
Show only attributes that have values
- On the ALL other DCs, change the msDFSR-Enabled attribute to
False
- ADSI Edit - Default Naming Context - Domain Controllers - DC02 - DFSR-LocalSettings - Domain System Volume - msDFSR-Enabled - False
- Force Active Directory replication throughout the domain (Run the following on all DC’s).
repadmin /syncall primary_dc_name /APed
-
On the primary DC, start the DFS Replication service (Run =>
Services.msc
=> DFS Replication => Start)-
Open up event viewer and navigate to Applications and Services Logs - DFS Replication. Verify you see Event ID 4114. This may take a few minutes, keep refreshing.
-
Now turn it back to
True
: ADSI Edit - Default Naming Context - Domain Controllers - DC01 - DFSR-LocalSettings - Domain System Volume - Set the value of msDFSR-Enabled toTRUE
-
From the Microsoft Article (wasn’t needed but putting here just in case) Execute the following via an elevated command prompt:
DFSRDIAG POLLAD
-
- Again, Force Active Directory replication throughout the domain
repadmin /syncall primary_dc_name /APed
-
Wait a few minutes and you should see Event ID 2002 and 4602 on the PDC.
-
Navigate back to each of your secondary DCs and change the value of msDFSR-Enabled to
TRUE
: ADSI Edit - Default Naming Context - Domain Controllers - DC02 - DFSR-LocalSettings - Domain System Volume - Set the value of msDFSR-Enabled toTRUE
-
Verify you see Event ID 2002 and 4602 on each of the secondary DCs. This took at least 10 minutes in my environment.
- At this point, try running a gpupdate on your client. If all has gone well, each of your shared SYSVOL folders on your DCs should contain the same amount of policies and your client should successfully pull down all policies.
References:
“SYSVOL and Group Policy out of Sync on Server 2012 R2 DCs using DFSR”
Comments