How to disable time sync with Windows 7 as host OS in VirtualBox?
- Find the location where your Virtual Machine is stored. You can do this by right clicking on the machine from the list in the VirtualBox Manager and selecting Show in Explorer
Backup the file called yourVMname.vbox
Open the file in a text editor and navigate to the
<ExtraData>
element which should contain a list ofExtraDataItem
elementsAdd the following item to the list:
<ExtraDataItem name="VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" value="1"/>
The final section should look something like this:
source
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.