What is the command to sync a Windows workstation or server to its configured time source?
Windows – How to force sync the time on Windows Workstation or Server
timewindows
Related Topic
- Bash – How to get the current Unix time in milliseconds in Bash
- Windows server last reboot time
- Windows – How to tell Git for Windows where to find the private RSA key
- Windows 7 machines won’t sync time
- Windows – How to synchronize windows server date/time
- Hyper-v server time sync source – PDC / external NTP
Best Answer
As Kyle said
w32tm /resync
is the modern way to do this. See this Link to Microsoft Knowledgebase (KB 307897) for more information on the w32tm command.There is also
net time
which is an older version but perhaps easier.