Page 1 of 1
Stopping automatic time sync
Posted: 17. Aug 2011, 15:41
by JohanM
Hi
I'm using Virtual Box 4.0.4 on a Windows 7 host with a Windows XP guest. I have guest additions installed on the guest. How can I stop the guest from automatically synchronizing its time with the host?
Re: Stopping automatic time sync
Posted: 17. Aug 2011, 16:28
by Perryg
Code: Select all
VBoxManage setextradata <vmname> “VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled” “1?
Re: Stopping automatic time sync
Posted: 17. Aug 2011, 16:32
by JohanM
Many thanks
I have a second question: Is there some way to set the guest's time at startup? I.e. I want to automatically set the guest's clock to 3:14pm, 17 August 2011 when it starts up.
Re: Stopping automatic time sync
Posted: 17. Aug 2011, 16:43
by Perryg
With a batch file in the guest to run at startup.
Re: Stopping automatic time sync
Posted: 17. Aug 2011, 18:12
by wacher
See the command
VBoxManage modifyvm <name> -biossystemtimeoffset -<milliseconds>
maybe it is useful to you somehow.
Re: Stopping automatic time sync
Posted: 19. Aug 2011, 10:43
by poulbak
Remember, that Windows might have been set up to synchronize via internet.
Re: Stopping automatic time sync
Posted: 6. Jul 2012, 17:53
by MASHA
hi, i need a help, if someone gives the exact form of the command to write it in cmd if my vmname is MASHA, because im facing difficulty with the command, and i have windows 7 as OS.
Thank you very much
Re: Stopping automatic time sync
Posted: 6. Jul 2012, 18:00
by Perryg
Depending on the actual command you are wanting to run (there are several) just replace the <name> with MASHA
If the host is Windows you need to be in the directory that has VBoxManage.exe fro the command to work.