Update date time using batch file

For twin OS, from time to time home windows display date wrong. You want to move atmosphere and power home windows to synchronize its date time.
The simple means and rapid is using batch recordsdata. Using textual content editor, create batch recordsdata for instance datesync.bat for your desktop. Write or reproduction/paste this code:

Echo off
Echo Starting Windows Time Service
web get started w32time

Echo Syncronizing Date Time
w32tm /resync
pause

Everytime your date display wrong, run this script as administrator. It will get started home windows time provider (must no longer be disable on services and products.msc) and syncronize date time from web.