Page 1 of 1

"setextradata ... GetHostTimeDisabled" doesn't work correct

Posted: 12. Apr 2012, 23:36
by Lauscher
I am testing

Code: Select all

vboxmanage setextradata "XP" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" value="1"
I found this:
- Setting a new system time in the guest: ok, it stays.
- Rebooting the guest: ok, same time as before (+ some minutes)
- Running a snapshot: ok, same time as before
- Shutdown VM und boot again: fails, guest time is set to host time

Is there any solution to this problem? I found the question sometimes in the forum, but no working answer. I think, VirtualBox should remember the last guest system time (like it does in a snapshot), but it doesn't.
(Windows internet time synchronization is disabled, network connection is cutted)

Re: "setextradata ... GetHostTimeDisabled" doesn't work corr

Posted: 12. Apr 2012, 23:52
by Perryg

Code: Select all

vboxmanage setextradata <vmname> “VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled” “1″
Will disable the time sync of the guest. After you run this you should see it in the extradata section of the guests control file.

Re: "setextradata ... GetHostTimeDisabled" doesn't work corr

Posted: 13. Apr 2012, 00:02
by Lauscher
Yes, sorry, I mean (without "value="):

Code: Select all

vboxmanage setextradata "XP" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1"
In the .vbox file I find

Code: Select all

 <ExtraDataItem name="VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" value="1"/>
and except the situation
- Shutdown VM und boot again: fails, guest time is set to host time
it works right.

Re: "setextradata ... GetHostTimeDisabled" doesn't work corr

Posted: 17. Apr 2012, 11:56
by Lauscher
Lauscher wrote: except the situation
- Shutdown VM und boot again: fails, guest time is set to host time
it works right.
Is there no solution to this issue?

Re: "setextradata ... GetHostTimeDisabled" doesn't work corr

Posted: 17. Apr 2012, 14:18
by Perryg
Not that I know of. Not unless you can stop the bios time update at boot in the guest.