Time Sync using NTP
Linux
Link linux/bash linux bash timing , Ntp/Windows
- Install NTP deamon to sync.
- Use ntpdate to do a onetime sync
Windows
- Normally clients sync from AD domain controller
- Check time with
W32tm /query /configuration
- Compare with other server
w32tm /stripchart /computer:<target>
- Time sync.
w32tm /config /manualpeerlist:"ntpserver.contoso.com clock.adatum.com" /syncfromflags:manual /update