Tuesday, May 15, 2012

TechNode - How to sync time on Windows 2008 R2 using script?

Create .bat (for examle time.bat) file with following content:

@echo off
w32tm /config /update /manualpeerlist:swisstime.ethz.ch 
/reliable:yes /syncfromflags:all


Setup Task Scheduler to run it every day at 00:00.

No comments:

Post a Comment