Page 1 of 1

Adjust the date

Posted: 6. Jun 2020, 08:33
by Plagrö
Hello,

When I adjust the date in my Win7 VM, for example today is 2020-06-06 but I set it to 2020-12-06, then after a view seconds, the date is again automatically set to 2020-06-06.

Is there a way, to set it permanently to 2020-12-06?

Thank you.

Re: Adjust the date

Posted: 6. Jun 2020, 12:20
by mpack
Not unless you stop the guest OS from accessing the Internet and fetching network time.

Even then, the VM has no separate battery backup of the date, so next time it boots it's going to have the same date as the host: you can configure a fixed offset from the host but that's it.

Re: Adjust the date

Posted: 6. Jun 2020, 13:52
by Plagrö
Thank you for your reply.
Not unless you stop the guest OS from accessing the Internet and fetching network time.
I was not able to reproduce this.

Although my VM has no network ...
VM Netzwerk.png
VM Netzwerk.png (32.2 KiB) Viewed 999 times
... and in addition I physically pulled out the cable of the LAN connection.
... you can configure a fixed offset from the host but that's it.
That would be enough.
How can I do this?

Thank you.

Re: Adjust the date

Posted: 6. Jun 2020, 16:27
by Martin
You could try using a script to calculate the "biostimeoffset" before each start of the VM like another user did in
viewtopic.php?p=359885#p359885

Re: Adjust the date

Posted: 7. Jun 2020, 09:21
by Plagrö
Thank you.