Hi,
I'm seeing different time behavior when migrating Windows Server 2022 VMs to PVE, depending on the source.
Scenario 1 - Migration from VMware to PVE:
Workaround (on VM migrated from XCP-ng)
Why does this issue seem to only appear with VMs migrated from XCP-ng, but not from VMware?
How are you handling this? Any better approaches for a production environment?
Best regards
McShadow
I'm seeing different time behavior when migrating Windows Server 2022 VMs to PVE, depending on the source.
Scenario 1 - Migration from VMware to PVE:
- Time is correct immediately after boot (e.g. 09:57, UTC+2 / local time)
- Time is incorrect after boot until timesync is complete (e.g. 07:57, UTC instead of +2 / local time)
Workaround (on VM migrated from XCP-ng)
Code:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /t REG_DWORD /d 1 /f
- Time is correct immediately after boot
Why does this issue seem to only appear with VMs migrated from XCP-ng, but not from VMware?
How are you handling this? Any better approaches for a production environment?
Best regards
McShadow