Given a known network configuration, an NTP data source(s), and system owner preferences on time synchronization within their enclave.
All host clocks in the environment are synchronized from a known good time source, enabling operations and accurate forensic log analysis.
Windows domain member systems will automatically synchronize their time based on the primary domain controller (PDC). Best Practices for NTP configuration include filtering the NTP protocol at the firewall and blocking outbound NTP (to prevent being used in a Distributed Denial-of-Service (DDoS) attack).
w32tm /query /status
w32tm /query /configuration
net start w32time
reg QUERY HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
reg QUERY HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config
w32tm /dumpreg
Get-Date -F o
w32tm /config /manualpeerlist:time.nist.gov /syncfromflags:manual /reliable:yes /update
net stop w32time
w32tm /unregister
w32tm /unregister (Yes run twice)
w32tm /register
net start w32time
systemctl status systemd-timesyncd.service
timedatectl status
/etc/systemd/timesyncd.conf
cat /etc/ntp.conf
/etc/init.d/ntp restart
ntpq -p
$computers = Get-ADComputer -Filter * -SearchBase "OU=Workstations,DC=example,DC=com"
foreach ($computer in $computers) {
Invoke-Command -ComputerName $computer.Name -ScriptBlock {
w32tm /query /status
}
}
Operator Note: This bulk queries domain-joined systems for NTP status to validate clock sync.
Tool | Platform | Installation | Usage |
---|---|---|---|
chrony | Linux | apt install chrony or yum install chrony |
Lightweight NTP client for Linux. chronyc sources to check sync. |
Meinberg NTP | Windows | Download | Full-featured NTP daemon for Windows environments. |
ntpdate | Linux (legacy) | apt install ntpdate |
Quick, one-time sync: ntpdate time.nist.gov |
pool.ntp.org | Cross-platform | Pre-configured | Free distributed NTP service, easy alternative source |
Operator Note: chrony is recommended over ntpd for modern Linux distributions due to better performance and ease of configuration.
w32tm /query
(Windows) or ntpq -p
(Linux).Good information on implementing NTP
VMWare info on NTP for Windows Guest operating systems
Cisco Best Practices
Date | Version | Description | Author |
---|---|---|---|
2025-05-02 | 1.0 | Original content enhanced with tools, operator recommendations, validation scripts, and checklist | Leo |