@echo off :: Set-GoogleNTP.bat :: Run as Administrator echo Configuring Windows Time service to use Google NTP... w32tm /config /manualpeerlist:"time.google.com,0x9" /syncfromflags:manual /reliable:yes /update echo Restarting Windows Time service... net stop w32time net start w32time echo Resyncing time with NTP server... w32tm /resync /force echo. echo --- NTP Sync Status --- w32tm /query /status echo. echo --- Windows Time Configuration --- w32tm /query /configuration pause