Ticket #12756 (closed defect: worksforme)

Opened 21 months ago

Last modified 21 months ago

Guest OS time incorrect(not sync) after resume from "save the machine state"

Reported by: CharleXu Owned by:
Priority: major Component: guest additions
Version: VirtualBox 4.3.6 Keywords: time
Cc: Guest type: Windows
Host type: Mac OS X


Vbox/Ext. Ver: 4.3.6 r91406 Host: Mac OS X 10.9.1 Guest: Windows XP SP3

Suggest to make the guest additions sync with the host system time after resume.


VBox.log Download (73.9 KB) - added by CharleXu 21 months ago.

Change History

comment:1 Changed 21 months ago by frank

Actually this is already implemented but of course only works if you have the VirtualBox Guest Additions installed (VBoxService must run in the guest). If that's the case for your guest, please attach the VBox.log file of your VM session.

Changed 21 months ago by CharleXu

comment:2 Changed 21 months ago by CharleXu

I installed that additions and confirm that the service is running.

comment:3 Changed 21 months ago by CharleXu

This issue also appears after the host sleep and wake with the power key or time out.

comment:4 Changed 21 months ago by frank

Host sleeping is another story. See the user manual section 9.14.3. A host sleep should be caught by the timesync threshold which defaults to 20 minutes. If the guest time differs more than 20 minutes from the host, the guest time is hard-set to the host time. And you can also see that timesync-set-on-restore is enabled by default so the question is why this doesn't work for you. Will do some local tests and come back later.

comment:5 Changed 21 months ago by CharleXu

Yes, it often differs more than several hours.

comment:6 Changed 21 months ago by frank

Just tried to reproduce your problem with VBox 4.3.8 and failed. Please could you do the following: Open 'regedit' and change



system32\VBoxService.exe -vvvv --logfile c:\VBoxService.log

After that, reboot your guest. Then let it running for 1-2 minutes, then save the state, then wait for a few minutes, then restore the guest from the saved state. Now copy the file c:\VBoxService.log to somewhere out of your guest and attach the file to this ticket. This should help debugging your problem.

comment:7 Changed 21 months ago by CharleXu

So, I just follow your comment, but no vboxservice.log there then I check that the vbox guest additional services is stopped as manual start. I thing it may be changed by my security/optimization software. All time sync correct after I started the services. Sorry for I just confirmed the services running by the sys tray icon and display driver looks ok before.

But I strongly suggest that icon in sys tray can identify the status of service running or stopped.

And please close this issue.

comment:8 Changed 21 months ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

That's a good idea. We will think about making the status of VBoxService visible in the VBoxTray icon. Thanks for the information.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use