Microsoft Windows Vista has a built-in feature to synchronize your machine’s time automatically with global time servers around the world. The service can be scheduled to run automatically and works like charm keeping your system time up-to date, but there’s a tiny catch in here.
If your computer’s clock is async for more than 15 hours, this service will not work for you saying “An error occurred”.
Copy the following code and save it as .reg file, apply it and re-run the synchronization. It will work !
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config] "MaxNegPhaseCorrection"=dword:ffffffff "MaxPosPhaseCorrection"=dword:ffffffff
The above code is also available in pastie @ http://pastie.caboo.se/179732.