I want to change the azure hardware time in VM

디엔소프트 DNSOFT 196 Reputation points
2020-12-02T08:36:03.06+00:00

I used the hwclock -s command to apply the system time to the hardware time, but it has changed for a while, and if I check it after the time has passed, it has been changed to utc 0 in the same way.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,254 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,471 Reputation points
    2020-12-02T10:54:51.74+00:00

    You can't change HW(BIOS) time for Azure VM.

    You can setup time sync to use a NTP server that you control and have a different time in that way.

    Following document might help:
    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/time-sync

    0 comments No comments