FG
💻 Software

Synchronize Internet Time in a Windows script?

Fresh5 days ago
Mar 15, 202672217 views
Confidence Score0%
0%

Problem

Is there a way I can synchronize the system clock with an Internet Time server (i.e: time.nist.gov) via command-line? Preferably, this should be something executable via BAT or PowerShell script. This particular need arises because I have some VMs for which I regularly use the "save machine state" …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Synchronize Internet Time in a Windows script?

Low Risk

See the reference for W32tm, "A tool used to diagnose problems occurring with Windows Time": http://technet.microsoft.com/en-us/library/bb491016.aspx. Also, Use . You may also need to set a server with if you haven't done that yet.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment