While searching I got a very good answer to my query.
http://forums.techguy.org/all-other-software/985824-how-write-script-change-date.html
@echo off
w32tm /config /sychfromflags:MANUAL /manualpeerlist:time.nist.gov
net stop w32time && net start w32time
net start w32time && net start w32time
w32tm /config /update
w32tm /resync /force
Hope this is what you looking for. All the best
No comments:
Post a Comment