Fixing the time in Windows after booting into another OS

2017-01-16 17:43:00 +0000 - Written by Carl Burks

If you booting in multiple operating systems sometimes the date gets out of sync.

If you want to update the time you can use the command:


W32tm /resync /force

W32tm info from TechNet

This will force a resync.

If you want to make it into a powershell function for easy access:


function Update-WindowsTime(){
    W32tm /resync /force
}

Sometimes you code the same thing and forget about it.

I found this article from my blog using a special search in the search engine.

site:burksbrand.com time

Using site colon it forces the results to only include from the host listed.

I tried this on both Bing and Google and it worked.

Now to the real issue why does the time get "out of sync".

Windows attempts to sync time with the local time zone. GMT was made for a reason.

This is suppose to fix the real issue:

be careful

or

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001

Then run it.

Don't just run random Registry settings/file on your computer without researching what they do

Update 2017-01-21

Registry doesn't fix it.