Skip to content

Instantly share code, notes, and snippets.

@roelds
Last active September 4, 2024 21:02
Show Gist options
  • Save roelds/062882e64f55dde1980551f7ba7c9cb1 to your computer and use it in GitHub Desktop.
Save roelds/062882e64f55dde1980551f7ba7c9cb1 to your computer and use it in GitHub Desktop.
Use RTC Time In Windows 11 To Dual Boot Linux
sp -Path HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation -Name RealTimeIsUniversal -Value 1 -Type DWord -Force
sp -Path HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation -Name DynamicDaylightTimeDisabled -Value 0 -Type DWord -Force
Set-Service -Name w32time -StartupType Automatic
w32tm /tz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment