I have a 64 bit Windows 7 with VirtualBox running the same 64 bit Windows 7 as a guest OS.
When I set a specific date and time, it will always revert to the host OS’s date and time on startup. How can I disable this?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Backup the file called yourVMname.vbox
Open the file in a text editor and navigate to the
<ExtraData> element which should contain a list of
Add the following item to the list:
<ExtraDataItem name="VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" value="1"/>
The final section should look something like this:
The command to disable time synchronization between host and guest in Virtualbox is:
VBoxManage setextradata "VM name" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1
See the Virtualbox manual, section 9.14, especially 9.14.4.
Note that in a Windows host your command window's default directory must be in the directory where Vboxmanage.exe exists (default: C:\Program Files\Oracle\Virtualbox) or you have to type the full path to Vboxmanage.exe.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?