bat script to sync windows time
net start w32time
w32tm /query /peers
w32tm /resync /nowait
::Copy the above lines to notepad. save it as bat file and run as
:: admin. If your are using dual boot, then you can automate the
::process of running the bat file using
::task scheduler