Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11575

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
    
browsershots.org –  ta.speot.is Jan 22 '13 at 10:00

1 Answer 1

up vote 9 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.

Relavant lines from links in comments
http://www.virtualbox.org/manual/ch09.html#disabletimesync

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

http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm

VBoxManage modifyvm "VM name" -biossystemtimeoffset

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: virtualbox.org/manual/ch09.html#disabletimesync For the BIOS: hit F12 (I think) during the VM startup, and here are command line tools described: betaarchive.com/forum/viewtopic.php?t=20071 on how to change the BIOS time. –  Stefan Seidel Jan 22 '13 at 11:32

Your Answer

 
discard

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.