Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using virtual box is it possible to set your virtual machine time to be different from host time. Say 1 year into the past.

If I wanted to run the windows XP images provided by Microsoft from here.

It is noted for the XP image that:

Expires: This image will shutdown and become completely unusable on February 14, 2013.

It is one of the better ways to test IE 6, and IE 7. Other XP typical tests.

share|improve this question – Jan 22 '13 at 10:00
up vote 20 down vote accepted

It's no problem at all. Just remember to disable the time synchronisation in the VirtualBox Guest Additions, then set the date+time in the virtual machine as you like. There is also an option to go into the Virtual BIOS and set the date+time there, if that's needed at install time.

This command disables the synchronization:

VBoxManage setextradata "VM name" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1

The following option allows to set an offset in milliseconds:

VBoxManage modifyvm "VM name" --biossystemtimeoffset <msec>
share|improve this answer
Ok how do you do that. – nelaar Jan 22 '13 at 10:03
Do what? Please be more specific? – Stefan Seidel Jan 22 '13 at 10:29
disable the time synchronisation & go into the Virtual BIOS and set the date+time there – nelaar Jan 22 '13 at 10:31
Disable time sync: there's a checkbox in the VirtualBox Guest Additional. Alternatively: For the BIOS: hit F12 (I think) during the VM startup, and here are command line tools described: on how to change the BIOS time. – Stefan Seidel Jan 22 '13 at 11:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.