Disable time update in the guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Disable time update in the guest

Post by mn »

I have installed a windows 7 guest on my Ubuntu 18.04 and the problem is that windows updates it time automatically although I have disabled all settings related to that.
It seems that virtualbox has a feature to sync the date between guest and host. So, I ran

Code: Select all

VBoxManage setextradata win7 "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1
and verified the following line in win7.vbox file

Code: Select all

<ExtraDataItem name="VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" value="1"/>
I also, have disabled "windows time" service and unmarked internet time update. Please see the pictures.
2019-----modified------>2017--------auto_update------->2019
Attachments
Untitled.png
Untitled.png (96.7 KiB) Viewed 884 times
Untitled2.png
Untitled2.png (44.63 KiB) Viewed 884 times
Untitled3.png
Untitled3.png (39.94 KiB) Viewed 884 times
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Disable time update in the guest

Post by socratis »

mn wrote:2019-----modified------>2017--------auto_update------->2019
What does "auto_update" mean?
Did you reboot the guest? Because if you did, the guest gets the time from the host afresh every time there's a reboot.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Re: Disable time update in the guest

Post by mn »

I mean after 2-3 seconds it automatically gets back to 2019 even if I don't move or click the mouse any where.
The guest is updated so much quickly that I haven't think about reboot.
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Re: Disable time update in the guest

Post by mn »

No idea?
It is really bizarre... I don't know is this a windows issue or virtualbox.
As I search about the windows settings, I have done all things stated in web pages.
As I search for virtualbox, I also have disabled time sync.
So, why it doesn't work?
:oops: :( :?
Post Reply