Windows Server: Synchronize the Time via Internet (Command Line)

If you need to synchronize the time via the Internet on a Windows Server, it is best to configure this via command line. Find below the commands you need (Open CMD as Administrator):

w32tm /config /syncfromflags:manual /manualpeerlist:",,"

w32tm /config /update

w32tm /resync

"" is just an example, of course you can use other time servers.