Windows: set hardware clock to UTC

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 0x1

This must be run in an elevated command prompt.

This sets Windows to use the hardware clock as UTC, instead of localtime. This way it follows the Linux style, and also theoretically is safer (hardware clock will never go back in time).

Source: Arch Wiki (Time article)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s