3.0.10 can't change guest system time

Discussions related to using VirtualBox on Windows hosts.

3.0.10 can't change guest system time

Postby rockrong » 2. Nov 2009, 06:31

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
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

Postby Sasquatch » 2. Nov 2009, 13:56

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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: 3.0.10 can't change guest system time

Postby rockrong » 3. Nov 2009, 03:40

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~
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

Postby Perryg » 3. Nov 2009, 04:12

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.
Perryg
Site Moderator
 
Posts: 34374
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

Postby penixsan » 5. Mar 2010, 18:08

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..
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

Postby natedigby21 » 7. Aug 2010, 04:59

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
natedigby21
 
Posts: 1
Joined: 7. Aug 2010, 04:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS Windows XP

Re: 3.0.10 can't change guest system time

Postby MarkCranness » 7. Aug 2010, 07:43

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   Expand viewCollapse view
    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.
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

Postby LG83 » 23. Aug 2010, 02:53

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.
LG83
 
Posts: 7
Joined: 23. Aug 2010, 02:45
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 32 guests