Page 1 of 1

How to change date & time in a virtual machine?

Posted: 27. Sep 2014, 02:25
by Oba
Hi,

I´m running Win7 in a Virtual Box on Win7. The point is that I need to run some tests in the virtual machine with date & time different from the host machine. It seems that the two machines clocks are linked. Is there a way to keep the virtual machine with a different date & time from the host machine?

Sorry for my poor english.

Regards

Re: How to change date & time in a virtual machine?

Posted: 27. Sep 2014, 03:52
by Perryg
Disable time sync. Run the following in the hosts command window. You need to be in the directory that has VBoxManage.exe for this to work.

Code: Select all

vboxmanage setextradata <vmname> “VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled” “1″

Re: How to change date & time in a virtual machine?

Posted: 27. Sep 2014, 14:10
by Oba
Thanks a lot Perryg!

Regards