Use pool.ntp.org, they will select best ntp server
- Windows 10 / Windows 11
- PowerShell 5.1 or PowerShell 7
- Administrator privileges
Run the script as Administrator:
.\RandomNtpAndSync.ps1Or configure it to run automatically using Windows Task Scheduler.
Recommended settings:
- Trigger: At startup or At logon
- Run with highest privileges
Selected NTP: pool.ntp.org
The command completed successfully.
Sending resync command to local computer...
The command completed successfully.
Source: pool.ntp.org
Last Successful Sync Time: 2026-06-25 20:38:42
MIT License