Overview
The DFS Replication Events test appears under AD Replication for domain controllers. AD Replication covers four related tests — Replication Status, Diagnostics, AD Events and DFS Replication. This page covers DFS Replication Events.
Monitoring Benefit
This test watches the DFS Replication event log on each domain controller for the events that indicate SYSVOL replication is in trouble, and changes the indicator when it finds one.
SYSVOL is where Group Policy and logon scripts live, and DFSR is what keeps it consistent between domain controllers. That makes this failure quieter and more damaging than most: Active Directory replication can be perfectly healthy while SYSVOL silently diverges. Nothing breaks. Users just start receiving different policy depending on which domain controller authenticated them, which is close to impossible to diagnose from the client side.
This complements AD Replication Status rather than duplicating it. That test reports whether directory replication attempts are succeeding; this one reports what Windows has logged about file replication, which is a separate mechanism with separate failure modes.
What tends to be behind it
| Condition | Why it matters |
|---|---|
| The replicated folder is no longer replicating | DFSR has stopped the folder, usually after a problem it could not resolve. SYSVOL is now stale on that DC and will drift further. |
| A dirty shutdown or journal wrap | Follows an unexpected reboot or a full volume. DFSR may not recover on its own and can need manual intervention. |
| The DFSR database is rebuilding | Often transient and self-clearing, but worth knowing about because replication is paused while it happens. |
| Staging area problems | The staging quota is too small for the content being replicated, so DFSR churns and falls behind. |
| Content freshness exceeded | The DC has been disconnected longer than the tombstone period. It will not resume replicating without being reinitialised. |
How do we verify the monitoring test results?
1. Check what ENow recorded. From EMS 8.0 onward, collected results are held in the ENow SQL database rather than in files on the web server. Open the AD Replication monitoring page for that domain controller in the ENow console.
2. Check the client-side cache on the domain controller. The ENow agent stores its results on the monitored server rather than logging them:
\Program Files (x86)\ENow\Mailscape Agent\Cache\NetworkAgentMessage.xml
This is on the monitored domain controller, not the ENow web server.
3. Read the event itself. The alert names the event that was found. On the affected DC, open the dedicated DFS Replication log — it is not in the System log:
Get-WinEvent -LogName "DFS Replication" -MaxEvents 50 |
Where-Object LevelDisplayName -in 'Error','Warning' |
Format-List TimeCreated, Id, LevelDisplayName, Message
4. Ask DFSR directly what state it is in. The event tells you what happened; this tells you where things stand now:
dfsrdiag ReplicationState /all
Get-DfsrState -ComputerName <domain controller>
(Get-WmiObject -Namespace root\microsoftdfs -Class dfsrreplicatedfolderinfo).State
5. Confirm whether SYSVOL actually diverged. Compare the contents of \\<dc>\SYSVOL\<domain>\Policies across two domain controllers. A difference in the policy folders is the symptom users will eventually feel.
Common warning or error results, and potential solutions
| Result | Potential solution |
|---|---|
| Events on one DC only | Work that domain controller. Confirm the DFS Replication service is running and check its disk for space. |
| Events on several DCs at once | Look at what they share — a partner that has gone offline, or a site link. DFSR errors propagate outward from the partner that stopped. |
| Errors after an unexpected reboot | Likely a dirty shutdown. Check whether DFSR recovered on its own before intervening; it often does. |
| The indicator clears and returns | Something is failing and retrying. Check the staging quota and the volume's free space rather than treating each occurrence separately. |
| Event 5014 with Error: 9036 (Paused for backup or restore), followed within seconds by recovery | A backup paused replication and it resumed on its own. Nothing needs fixing. See Event 5014 that clears within seconds below to stop it holding the indicator. |
| AD replication healthy, DFS Replication failing | Expected and important. They are separate mechanisms — directory objects are replicating while SYSVOL files are not. |
| Group Policy applying inconsistently | Check this test first. Inconsistent policy across DCs is the classic downstream symptom of SYSVOL divergence. |
Event 5014 that clears within seconds
A common source of repeat alerts is an Event ID 5014 that is logged and resolved a few seconds later, often at the same time each night. Read the event's Additional Information (step 3 above). If it shows Error: 9036 (Paused for backup or restore), a backup of the domain controller paused replication and DFSR resumed by itself. Compare the event times with your backup schedule to confirm.
Why it keeps alerting. The test reports any matching DFS Replication event found within its look-back window, which is 12 hours by default. An event that cleared three seconds after it was logged still counts until it ages out of that window, so a nightly backup can hold the indicator for half the day.
To shorten the look-back (changes configuration):
- In the web console, go to Settings > Alert Settings > Alert Thresholds > Universal Policy > Domain Controller > Replication.
- Reduce the DFS Replication events look-back from 12 hours to a shorter period, for example 1 hour, and save.
- Allow time for the change to reach the agents. Domain controllers pick up the new value when they next check in with the web server, so the old 12-hour window can still show until then.
Verify: the next morning, the DFS Replication Events page for the domain controller should show the new look-back period, and the overnight backup event should no longer be holding the indicator. If the page still shows 12 hours a day later, the saved value is not being applied. See Too Many Alerts: Which Lever to Pull, and in What Order (Verify the change actually took effect) and raise a case.
Before you shorten it: a 5014 that shows any error other than 9036, or that recurs at times unrelated to backups, is a real signal. It can mean a partner or link problem that is recovering on retry. Work it through the table above instead of tuning it away.
Comments
0 comments
Article is closed for comments.