This is the command to enable auto time sync.
- Enable the service sc config w32time start=delayed-auto
- Start the service net start w32time
- Send the command enable the time sync w32tm.exe /config /syncfromflags:manual /manualpeerlist:time.windows.com,0x8 /reliable:yes /update