Quick answer
Run netdom reset pdc /domain:yourdomain.com /userd:DOMAIN\Admin /passwordd:* and then force replication with repadmin /syncall /AdeP on the server showing the error.
Context
Error 0X000008C8—also called NERR_DatabaseUpToDate—usually shows up in Event Viewer or command-line tools when a domain controller (DC) tries to sync its security database and gets told “no updates needed.” Trust me, this tripped me up the first time too. The infuriating part? It’s often lying—the database isn’t actually up to date. Something’s stuck in the replication pipeline, and the local DC thinks it’s ahead or in sync when it’s not. I’ve seen this on Windows Server 2016 and 2019 especially, after a failed Kerberos ticket renewal or a network hiccup during a password change. The real fix is to break that false sense of “current” by forcing a full sync.
Fix steps
- Check which DC is the PDC emulator. Run
netdom query fsmoon any domain controller. Note the server listed as PDC. - Reset the NetLogon secure channel. On the affected DC (the one throwing 0X000008C8), open Command Prompt as admin and run:
Replacenetdom reset pdc /domain:yourdomain.com /userd:DOMAIN\Admin /passwordd:*yourdomain.comwith your actual domain name andDOMAIN\Adminwith a domain admin account. You’ll be prompted for the password. This command forces the local DC to re-establish its secure channel to the PDC emulator. - Force replication. Still on that DC, run:
Therepadmin /syncall /AdeP/AdePflags force a full sync (including cross-site and push mode). Wait for it to complete—could take a few minutes if your AD forest is large. - Verify the error stopped. Check the System log in Event Viewer for event ID 5722 or 5805 related to NetLogon. Also run
nltest /dsgetdc:yourdomain.comto confirm the DC can locate a valid domain controller.
Alternative fixes if the main one fails
Reset the computer account
If the re-secure channel doesn’t do the trick, the computer’s AD account might be corrupted. On the problem server, run:
netdom resetpwd /s:PDC_Server_Name /ud:DOMAIN\Admin /pd:* This resets the local machine password and forces a fresh secure channel. You’ll need the PDC emulator’s name from step 1.Clear cached NetLogon data
Sometimes the local DC caches a stale state. Stop the NetLogon service, clear the cache, then restart:
net stop netlogon Then delete the file C:\Windows\System32\config\Netlogon.dns (this is safe—it regenerates). Restart NetLogon with net start netlogon and run the repadmin /syncall command again.Check DNS and time sync
Error 0X000008C8 often masquerades a DNS or time problem. On the failing DC, run dcdiag /test:dns and w32tm /query /status. If time is off by more than 5 minutes, Kerberos breaks and the security database can’t be trusted. Fix time with w32tm /resync and point DNS to the PDC emulator.
Prevention tip
This error is almost always a symptom of a stale secure channel or failed replication. Set up regular replication health checks using a scheduled task that runs repadmin /replsummary and emails you any failures. Also keep your PDC emulator running the latest Windows Server cumulative update—Microsoft has patched several replication bugs over the years. Finally, never skip a DC rebuild when migrating; clean AD object deletions prevent this exact error from haunting you.