news:jftutp$su3$1...@news.albasani.net...
> Yes, thank you. I already thought about such a solution. But it's very
> (too) late in the booting process, because I cannot assure that such a
> script or a program is started before any service. If there is no tag for
> that then it would be necessary to manipulate directly the .vhd file where
> the vm system time and date is stored. But where and how?
>
I'm assuming you only need to do this for debugging/testing purposes
(because otherwise it'd be a very bad thing to be changing the system
date/time). So, can you just hard-code a substitute for the system date for
that purpose only?
The other thing you can do, which I just verified, is change the date and
time of your host OS. It appears the guest OS simply uses that date and
time. I changed the host OS's date to 01/01/2012 and then started a WinXP VM
and sure enough, it also had a date of 01/01/2012. Furthermore, I then reset
the host OS date to the correct date and the guest OS automatically reset
its date to match. Granted, that means you still need to manually change the
system date of the host, but from what I can see, that may be your only
option.
Mike