6

My Dell Vostro 1720 laptop's clock drifts when waking from standby mode (even by five minutes sometimes). This is really annoying and sometimes dangerous.

I tried decreasing the Windows time sync interval to four hours but that does not really help that much.

Can I make Windows synchronize time on every wakeup (and other related events)? Additionally, is there an equivalent of Linux's command to synchronize on demand - ntpdate?

Perhaps this problem has something to do with a faulty hardware component (a battery or something)?

I'm running Windows 7 Professional 64-bit.

1

1 Answer 1

6

You might try the following command:

w32tm /resync

Execute it on an elevated shell to re-synchronize your computer clock with the NTP server.

You might run this command from task scheduler with proper permissions. This even allows you to define an event to execute the re-synchronization on every workstation unlock.

Well, it might be better to search for the real reason why the clock is drifting that much (btw. 5 minutes is not really meaningful without knowing the time spent in stand-by).
When the machine is off or in standby then the hardware clock is taking over. When the machine resumes Windows reads the RTC value and continues (so when on, then clock is somehow a "software-clock"). If it drifts when off, it's often a sign of a drained RTC/CMOS battery. Unfortunately it depends on your laptop on how easy/difficult it is to replace it.

As a battery is usually an inexpensive device I would recommend you to try a replacement. If it still does not help I would guess an inaccurate/defective Quartz or clock generator being the cause. Unfortunately this part is typically not replaceable.

2
  • I get "The time provider 'VMICTimeProvider' has indicated that the current hardware and operating environment is not supported and has stopped. This behavior is expected for VMICTimeProvider on non-HyperV-guest environments. This may be the expected behavior for the current provider in the current operating environment as well." in the EventLog when I run the cmd indicated.
    – Gaia
    Jun 30, 2017 at 16:19
  • looking at superuser.com/questions/1028470/…
    – Gaia
    Jun 30, 2017 at 16:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .