Configure Win7 Support For UTC

I have a virtual machine installed on ubuntu, the virtual machine contains an operation system of Win7. Win7 uses localtime, but ubuntu uses UTC, so the time they display is different. To fix this, I decided to set Win7 to use UTC. Here is the solution.

Win + S, register, enter

Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

Create new DWORD (32-bit) Value, name it RealTimeIsUniversal.

Set its value to 1.

Reboot to BIOS settings, set the hardware clock to the correct time in UTC.