• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. User Guide
  4. FAQs
  5. OS FAQs
  6. How Can I Handle the Eight-Hour Difference Between the Windows BMS and Local Time

How Can I Handle the Eight-Hour Difference Between the Windows BMS and Local Time

Cause

Linux uses the time of the motherboard CMOS chip as the Coordinated Universal Time (UTC) and determines the system time based on the configured time zone. However, Windows uses the CMOS time as the system time directly without converting it based on the time zone.

Solution

  1. Log in to the Windows BMS.
  2. Click Start, enter regedit in the Search programs and files text box, and press Enter.
  3. In the displayed Registry Editor window, choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > TimeZoneInformation.
  4. In the right pane, right-click a blank area and choose New > DWORD (32-bit) Value to add a REG_DWORD code. Set its name to RealTimeIsUniversal and value to 1.

    Figure 1 Adding a code

  5. After the modification, restart the BMS.

    After the BMS restarts, its system time is consistent with the local time.