Changing the system date in VirtualBox

Discussions about using Windows guests in VirtualBox.
Post Reply
dalbir4444
Posts: 2
Joined: 16. Jun 2010, 17:24
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS Windows XP

Changing the system date in VirtualBox

Post by dalbir4444 »

I recently got Windows XP for VirtualBox. However, I can't change the system date. As soon as I change it, it reverts to a different date. How can I overcome this?
dmcgraw
Volunteer
Posts: 808
Joined: 24. Jun 2008, 17:16
Primary OS: Ubuntu 8.10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Ubuntu 9.10
Location: St. Louis, MO, USA

Re: Changing the system date in VirtualBox

Post by dmcgraw »

I am assuming you have GA installed, yes?

Read section 9.2.13 of the user manual. There are some parameters you can control regarding the GA and time synch between the host and the guest.
dalbir4444
Posts: 2
Joined: 16. Jun 2010, 17:24
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS Windows XP

Re: Changing the system date in VirtualBox

Post by dalbir4444 »

I installed the guest additions and I followed what you said. However, I don't know how to change the timesync interval. I tried changing it in command prompt by using vboxservice and vboxcontrol but it didn't change the interval. Any ideas?

MOD Edit: Multi-posting is not allowed. Other (latest post) deleted.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Changing the system date in VirtualBox

Post by Perryg »

You can set the bios system time offset with the following command.
VBoxManage modifyvm <uuid|name> [--biossystemtimeoffset <msec>]
Nere
Posts: 3
Joined: 27. Feb 2012, 10:33

Re: Changing the system date in VirtualBox

Post by Nere »

Hi everyone,

I used the following command "VBoxManage modifyvm <uuid|name> [--biossystemtimeoffset <msec>]" to change the date in my VM, but instead of delaying those mseg from the real time of the Bios,the time of my VM was advanced.What can I do to fix it?any idea?.

Thank you very much!
Twisted Lucidity
Posts: 170
Joined: 18. Feb 2012, 12:42
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Various GNU/Linux
Location: Here
Contact:

Re: Changing the system date in VirtualBox

Post by Twisted Lucidity »

If a positive number advances the clock, does a negative number retard it?
A new account for an old user.
Nere
Posts: 3
Joined: 27. Feb 2012, 10:33

Re: Changing the system date in VirtualBox

Post by Nere »

I'm not sure at all.
I entered this:
VBoxManage modifyvm Nere --biossystemtimeoffset 100000000. It's supposed to retard it, isn't it?
Twisted Lucidity
Posts: 170
Joined: 18. Feb 2012, 12:42
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Various GNU/Linux
Location: Here
Contact:

Re: Changing the system date in VirtualBox

Post by Twisted Lucidity »

That's a positive number and it is advancing the clock. As you want to retard it, why don't you try a negative number?
A new account for an old user.
Nere
Posts: 3
Joined: 27. Feb 2012, 10:33

Re: Changing the system date in VirtualBox

Post by Nere »

Yes,u're right!
Thanks!;-)
Post Reply