Get-ADDomainController -Discover -Service PrimaryDC | Format-List Name, IPv4Address
netdom query fsmo
net stop w32time
pool.ntp.org):w32tm /config /syncfromflags:manual /manualpeerlist:"pool.ntp.org,0x8" /reliable:yes /update
0x8 — флаг для использования NTP вместо SNTP.
3. Перезапустите службу:
net start w32time
w32tm /query /configuration
Выполняем на других контроллерах домена:
w32tm /config /syncfromflags:domhier /update
net stop w32time && net start w32time
В строке Source должен быть указан PDC.
w32tm /resync /rediscover
w32tm /stripchart /computer:pool.ntp.org /samples:5 /dataonly
w32tm /query /status
Computer Configuration → Policies → Administrative Templates → System → Windows Time ServiceЕсли возникают ошибки, проверьте журналы событий:
(Event Viewer → Applications and Services Logs → Microsoft → Windows → Time-Service)
net stop w32time
w32tm.exe /unregister
w32tm.exe /register
net start w32time
w32tm /config /syncfromflags:domhier /update
w32tm /query /configuration