3.0.10 can't change guest system time

Discussions related to using VirtualBox on Windows hosts.
Post Reply
rockrong
Posts: 2
Joined: 2. Nov 2009, 06:17
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Ubuntu 9.10

3.0.10 can't change guest system time

Post by rockrong »

In 3.0.10 / 3.0.8, I can't change guest system time, the guest system is Ubunt 9.10/9.04.
If I change to 3.0.6, the system time can be changed.
Virtualbox 3.0.10 / 3.0.8 has some bugs with it ?
Host is windowsXP with SP3
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: 3.0.10 can't change guest system time

Post by Sasquatch »

Are the Guest Additions installed? If so, that then prevents the time changes because it syncs with the Host.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
rockrong
Posts: 2
Joined: 2. Nov 2009, 06:17
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Ubuntu 9.10

Re: 3.0.10 can't change guest system time

Post by rockrong »

Sasquatch wrote:Are the Guest Additions installed? If so, that then prevents the time changes because it syncs with the Host.
I have install guest additions of 3.0.10/3.0.8, but I never tried with VM 3.0.10/3.0.8+ Additions 3.0.6~
I tried to change guest sytem time, but after seconds, the time will change back~
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 3.0.10 can't change guest system time

Post by Perryg »

AFAIK the installation of the guest additions installs a time sync and has for every version I can think of.
If you need to have the guest not set to the host time automatically you will need to uninstall the guest additions.
penixsan
Posts: 3
Joined: 19. Feb 2010, 13:39
Primary OS: OpenSolaris 11
VBox Version: OSE Debian
Guest OSses: Windows 2003 server

Re: 3.0.10 can't change guest system time

Post by penixsan »

Perryg wrote:AFAIK the installation of the guest additions installs a time sync and has for every version I can think of.
If you need to have the guest not set to the host time automatically you will need to uninstall the guest additions.
That's right. I just run

VBoxManage modifyvm RSASERVER --biossystemtimeoffset +1580000

in order to modify guest clock 26,3 mins (+1580000ms~=26,3 min)
Anyone has a better solution?

Regards forum..
natedigby21
Posts: 1
Joined: 7. Aug 2010, 04:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS Windows XP
Contact:

Re: 3.0.10 can't change guest system time

Post by natedigby21 »

2 questions:

1. I want the guest additions on the Guest OS installed, except for the time. I don't want to sync the time of the Guest that of the Host. Is it possible that I can install the Guest Additons excluding the time?

2. How is it possible to change the time in 3.0.6 version and not in the 3.0.8/3.0.10 versions?

Thanks in advance.

Regards,
Nate Digby
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: 3.0.10 can't change guest system time

Post by MarkCranness »

Disable GA time-sync by editing the parameters passed to the VirtualBox Guest Additions Service (on Windows guests):
  • Open Registry Editor (Start menu>Run...>Type 'regedit' into the 'Open:' field>Click the OK button)
    WARNING: Incorrect editing of the registry can damage your system.
  • Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxService
  • Double-click on 'ImagePath'
  • Change the 'Value data:' field, by adding '--disable-timesync' at the end. It should look like:

    Code: Select all

    system32\VBoxService.exe --disable-timesync
  • Click OK
  • Either reboot the VM, or stop and then restart the 'VirtualBox Guest Additions Service'
After these steps, timesync will be disabled.
To reenable timesync, repeat the steps but remove the --disable-timesync parameter.
LG83
Posts: 7
Joined: 23. Aug 2010, 02:45
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: 3.0.10 can't change guest system time

Post by LG83 »

Hi Mark,

I've recently installed virtual box 3.2.8.

I want to use that trick with the registry change, but I can't find the VboxService folder in the path you specified.What should I do?

Thanks.
Post Reply