Photo by Ron Lach on Pexels.com

Issue

Once server was shutdown from several weeks, it wasn’t getting time updates from PDC emulator and that was causing a lot of authentication issues.

Received error 34 for time service on affected computer and it’s not updating time after running multiple w32tm rsync commands

Fix

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config and change value of :

  • MaxAllowedPhaseOffset from 300 to higher valuer like 300000

This didn’t fix the problem, since i had time delay higher than 300000.

  • Next step was to manually change the date to acceptable (today’s date)

Ran command to check time from domain hierarchy :

w32tm /config /syncfromflags:DOMHIER /update

w32tm /resync
  • Time got changed and now dcdiag isn’t showing any error and time doesn’t show any error.

Thank you for reading !