environment:
Win server 2016
Problem Description:
The internet time function is hidden, how to use the cmd command to set the time source and synchronize
win10 time setting menu has internet time but
Win server 2016 time setting menu has no internet time
solution:
1. cmd input
Set Ali as the time server
w32tm /config /manualpeerlist:"ntp1.aliyun.com" /syncfromflags:manual /reliable:yes /update
2. Perform synchronization
w32tm /resync