3

I have Windows Server 2003 on a local LAN that has no internet connection, and need somewhat accurate timing.

Unfortunately currently Windows loses about 1-2 minutes every week, which is why I have to manually log in every weekend and adjust the time to the correct time.

Is there a way I can manually adjust time drift to correct for this behaviour? There is a clear, constant drift - the clock is e.g. never ahead, and always delayed by roughly the same amount.

Cookie
  • 191
  • 2
  • 11
  • 4
    Is that specific server the only one without a network connection? i.e. could you set up a different server as an NTP time source and have this server sync from it? – MDMarra Nov 14 '12 at 13:42
  • Keep in mind that having the clocks on all the machines agree with one another and ensuring the time is accurate are essentially two different but related problems. If you solve one, you invariably end up having to solve the other. – Rob Moir Nov 14 '12 at 13:46

3 Answers3

4

GPS is the typical solution for machines that need time sync but have no external network connectivity. There are various software applications, both free and commercial, that can use a GPS receiver to sync the system time (search for "gps windows time sync" and you'll find a number of them). If you'd prefer an embedded device you can also find a number of devices that package up the entire GPS receiver into an Ethernet-attachable NTP server.

I don't have personal experience with either solution so I'm not going to make any specific recommendations. There are quite a number of offerings in both spaces out there, though.

Evan Anderson
  • 141,881
  • 20
  • 196
  • 331
4

The following PowerShell one-liner will do it:

Set-Date (Get-Date).AddMinutes(2)

So set a scheduled task to run a powershell script with that command. You might need to set the powershell execution policy to run PowerShell scripts on your machine.

Naturally, this assumes your clock drift is as accurate as you claim

Justin Dearing
  • 1,037
  • 12
  • 33
0

If you can reach another server in your local network that has internet access, you can set it up to sync to that server:

w32tm /config /update /manualpeerlist:server_with_internet /syncfromflags:manual /reliable:yes

w32tm /resync

Verify with https://time.is

Sire
  • 101
  • 2