How to Sync time in Linux and Windows with NTP
Below are the commands that you can run on Windows server like:Win2012R2
Open Power Shell or cmd
Type following Stepwise:
w32tm /config /manualpeerlist:NTP_server_IP_Address /syncfromflags:MANUAL /update /reliable:yes
net stop w32time
net start w32time
w32tm /resync
We can also check using following command
w32tm /query /status
w32tm /query /configuration
To confirm go to System clock on Windows
Right click on the clock in the system tray
Choose adjust time
On the internet time tab Check if your clock is in sync
No comments:
Post a Comment