How Can I Fix the Difference Between the System Time and the Local Standard Time?
Symptom
The system time on my Windows ECS is different from the local standard time.
Possible Causes
Affected by the network state, some drivers, or processes, the system time may be different from the standard time.
Solution 1
Manually synchronize system time.
- Click Change date and time settings in the lower right corner of the desktop. The Date and Time window is displayed.
Figure 2 Date and time
- Click the Internet Time tab.
Figure 3 Internet time
- Click Change settings and select a time source.
The default time source is time.windows.com.
- Click Update now and then click OK.
Figure 4 Selecting a time source
- Check whether system time is consistent with the local standard time.
Solution 2
Change the update frequency of system time by editing the Windows registry.
- In the Run dialog box, enter regedit to access the registry editor.
- Choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > W32Time > TimeProviders > NtpClient and double-click SpecialPollInterval.
- In the dialog box that is displayed, set Base to Decimal.
- Set the time synchronization interval.
The value displayed in Value data is the interval (in seconds) for automatic time synchronization. Set this parameter as required.
Figure 5 Setting the time synchronization interval
- Click OK.
- After the configuration is complete, enter cmd to open the CLI and run the following command to update the group policy:
gpupdate
- Check the Internet time. As shown in Figure 6, the time synchronization frequency is changed to once every 15 minutes.
Solution 3
Install the NTP server. For details, see Does HUAWEI CLOUD Provide the NTP Server and How Can I Configure It?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.