Update date time using batch file
- Category: windows
- Published: Friday, 20 September 2019 09:38
- Written by dedet
- Hits: 145
For dual OS, sometimes windows show date incorrect. You need to go setting and force windows to synchronize its date time.
The easy way and fast is using batch files. Using text editor, create batch files for example datesync.bat in your desktop. Write or copy/paste this code:
Echo Starting Windows Time Service
net start w32time
Echo Syncronizing Date Time
Everytime your date show incorrect, run this script as administrator. It will start windows time service (should not be disable on services.msc) and syncronize date time from internet.