How to change the system clock

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gtsolid
Posts: 8
Joined: 10. Jul 2018, 08:01

How to change the system clock

Post by gtsolid »

Hi,
i would need to change the system clock on my XP VM.
I know hot to change the system one, but i'm not sure about the BIOS and installation date.
Can you help me please?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: How to change the system clock

Post by scottgus1 »

VBoxManage modifyvm <name> -biossystemtimeoffset <-msec>
shifts the time by the number of milliseconds in "msec" (msec should be negative to backwards, it appears).

For more info see viewtopic.php?t=347 and 'biossystemtimeoffset' under https://www.virtualbox.org/manual/ch08. ... e-modifyvm.

The time shift is relative. It will have to be recalculated each time to keep the guest clock on a particular date.

If you are trying to keep XP running because it won't activate, XP can no longer go online, it is too old for modern internet. And the activation servers for XP are down. Use the phone-in method.
gtsolid
Posts: 8
Joined: 10. Jul 2018, 08:01

Re: How to change the system clock

Post by gtsolid »

How to check the current BIOS time? i need the starting date to make the calculation.

Currently i changed only the systray clock and removed NAT. I need to make running an old software i bought in 2010 and now i have some trouble keeping it running
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: How to change the system clock

Post by Martin »

Have a look at
viewtopic.php?p=359885#p359885
or
viewtopic.php?p=122063#p122063
and the threads around it.
More can be found with 'script biossystemtimeoffset site:forums.virtualbox.org' in a search engine of your choice. ;)
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: How to change the system clock

Post by scottgus1 »

Changing the system clock is probably a workaround to prevent the 30-day XP activation countdown. It is an "XY problem".

Activate XP:
https://superuser.com/a/1502890
Post Reply