The Computer Oracle

How to disable time sync with Windows 7 as host OS in VirtualBox?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Realization

--

Chapters
00:00 How To Disable Time Sync With Windows 7 As Host Os In Virtualbox?
00:26 Accepted Answer Score 22
00:59 Answer 2 Score 19
01:32 Thank you

--

Full question
https://superuser.com/questions/984040/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #virtualbox #sync #datetime

#avk47



ACCEPTED ANSWER

Score 22


  1. 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

Find Machine Source Path

  1. Backup the file called yourVMname.vbox

  2. Open the file in a text editor and navigate to the <ExtraData> element which should contain a list of ExtraDataItem elements

  3. Add the following item to the list: <ExtraDataItem name="VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" value="1"/>

  4. The final section should look something like this:

Final Edited VM Configuration

source




ANSWER 2

Score 19


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.