Freeze client datetime

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
gambrinus777
Posts: 1
Joined: 26. Feb 2017, 18:54

Freeze client datetime

Post by gambrinus777 »

Hi all,
I've installed Virtualbox on Macosx Sierra, created a Windows 7 VM, installed operating system and several programs in it.

Now I want to freeze datetime in the client to work always at the same datetime.

I've tried:

1. VBoxManage setextradata "VM name" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1;
2. Stop Virtualbox Guest Addition service in client;
3. Stop windows datetime automatic synchronization;
4. Disable network in client VM;

None of these block the datetime syncronization and every time I start my virtual machine, datetime is the same of the host machine.

Is there a working way to do this?
Thanks,
Gambrinus777
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Freeze client datetime

Post by socratis »

gambrinus777 wrote:I want to freeze datetime in the client to work always at the same datetime.
Computers can't work at the same date/time all the time. Time is expected to always move forward and a lot of assumptions are based on this.

Having said that, if you want to switch time back a permanent amount (say 10 years), you'll need to start by doing exactly what you did. You missed the part where at boot time (no pun intended), the client gets its date/time from the host. Thankfully, there's a setting for that: biossystemtimeoffset. See viewtopic.php?f=6&t=81000#p384996 for the proper way to use it...
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.
Post Reply