This Blog is to share our knowledge and expertise on Linux System Administration and VMware Administration

Saturday, December 9, 2017

NTP client configuration in Windows Server - PowerShell

Below procedure is used to configure NTP  client on windows server (power shell commands)

Open Power Shell as Administrator

Run the below commands

PS C:\Users\testuser>w32tm /config /manualpeerlist:"" /syncfromflags:MANUAL

PS C:\Users\testuser>Stop-Service w32time
PS C:\Users\testuser>Start-Service w32time

PS C:\Users\testuser>w32tm /query /status

PS C:\Users\testuser> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 3 (secondary reference - syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0625000s
Root Dispersion: 0.3055127s
ReferenceId: 0xAC18000B (source IP:
Last Successful Sync Time: 12/7/2017 8:44:49 AM
Poll Interval: 15 (32768s)

PS C:\Users\testuser>w32tm /resync

No comments:

Post a Comment