Labels

woensdag 5 oktober 2016

NTP

Configure DC to sync witch external NPT (nl.pool.ntp.org)

Open UDP 123 in- and outbound for DC
Logon to DC with PDC role
w32tm /config /manualpeerlist:"nl.pool.ntp.org,0x1"
w32tm /config /reliable:yes (makes this DC a reliable time source for the clients)
net stop w32time && net start w32time

Helpful w32tm commands:

- w32tm /resync /nowait (Force synchronizing the time ASAP)
- w32tm /query /configuration (check NTP config)
- w32tm /query /source (Display time source)
- w32tm /query /peers (Display list of all configured NTP servers and their status)
- w32tm /query /status (Display time services status)


Force clients to sync time with DC (elevated mode):

w32tm /config /syncfromflags:domhier /update
net stop w32time && net start w32time


Reset time service to default:

net stop w32time
w32tm /unregister
w32tm /register
net start w32time

Geen opmerkingen:

Een reactie posten