Ankit,
I have been working with HP to get the time problem fixed. It's a new system placed into use on 9/20/2015 with persistent delayed time when using the pre-installed windows 7 professional. Ubunto was used via an external flash drive as an alternative to see whether it could possibly lead to excluding software or hardware. Windows 7 professional always had time delayed and Ubuntu always had time ahead. Ubuntu was only used for a maximum of 36 hours as all the software on the computer remains unavailable when not using windows 7 professional. The rate of change and the magnitude of the change when using Ubuntu seemed to be slower than when using windows 7 professional. Other than that I didn't know what conclusions could be drawn. Some HP technicians concluded it was then a hardware related problem. So the motherboard was then replaced. Another HP technician concluded after the motherboard was replaced was that the comparison with Ubuntu indicated that it was not a hardware related issue but he already had the knowledge that the motherboard was replaced. Is it a software related issue? Is it a bios related issue? Is it a driver related issue? HP had emailed to me software which generated files. One of the files that they were concerned about was whether the proper bios or proper image had been installed from the factory. One of the HP reps commented in her email that it was unclear. A more senior HP rep indicated that it was the proper bios for the system.
On another web site I had posted this information and someone suggested flushing the bios. When I had inquired I never got an explanation of what they meant by flush the bios. On this computer the bios was reset when the CMOS RTC battery was replaced. It was reset once when I worked with HP over the telephone. And the bios was reset again when HP replaced the motherboard.
When I use administrative command prompt and enter sfc /scannow as in the above pictures it indicates no integrity violations found. Reinstalling the operating system is a task that I have not yet done. The system is new as of 9/20/15 . Replacing the windows 7 professional operating system with the optical disk, updating drivers, updating windows, reinstalling software etc and saving files would take 8 + hours. Is that something to do even if no integrity violations are found?
Using windows 7 professional configure internet time update now multiple times will eventually display exact time on time.is. Then within a few seconds it will display time behind. Ubuntu is new to me so I did not know how to reset or update time. Using it time was always ahead after a fresh boot to the external flash drive. Then the longer I used it the more progressive the time ahead. Again the magnitude and rate of change appeared to be slower than with the windows.
I've been working on this time problem for 5 months. It's very unclear to me what the problem is with the time or how to work it up.
John,
The time synchronization at some point was deliberately turned off to evaluate the time problem. HP was wondering whether it was a network related issue. The computer time malfunctioned the same way whether it was or was not connected via ethernet or wireless. When synchronization was active there were two computers on the same modem/router and only the one that had time problems continued to have time problems. So this step of turning off the time synchronization was done to exclude network issues.
The first w32tm administrative command prompt command was done with the synchronization off. All of the others were done with it on.
The computer now is displaying more delayed time that it had. Typically it would display delayed times up to 1 minute 15 to 20 seconds and then reset back to approximately 5 seconds delay. How it resets on its own is unclear to me but this happened on a regular basis.
Over the past few days the time delay is nearly 5 minutes and it automatically resets to a delay over 3 minutes. I have not rebooted and only placed the computer to sleep each night. So a reboot may reset it back to a 1 minute and 15 to 20 delay reset.
When viewing the results of the w32tm commands above it had switched to displaying (unspecified) in the last few results. This was what was displayed when the time had synchronization off. With the worse time delay and with the w32tm displaying unspecified I am wondering whether it is no longer synchronizing.
The time synchronization is set to synchronize once per week as per the picture above. It displays next synchronization scheduled 2/25/16 at 8:11 AM.
It also indicated that the last successful synchronization was 2/19/16 at 6:19 AM.
In contrast the administrative command prompt w32tm result indicated that the last successful synchronization was 2/18/16 8:11 AM.
How come they have different results for last successful synchronization?
I had not looked in the event log since the time synchronization was deliberately turned off to check for network related issues. If you want me to look for something there please indicate how to go about it. In the next few days I plan to reboot and follow the steps you have above.