Category: Network Time Protocol

Microsoft Windows Server 2012 R2 – Resynchronize Network Time Protocol Client

You may use the following Windows PowerShell command to resynchronize the Network Time Protocol (NTP) client, in Microsoft Windows Server 2012 R2, with it’s NTP server.

w32tm /resync /nowait

Enjoy!


Microsoft Windows Server 2012 R2 – Configure Network Time Protocol

You may use the following commands, run as an administrator in Windows PowerShell, to configure the Network Time Protocol (NTP) settings for Microsoft Windows Server 2012 R2. In this example, the NTP server to be configured is pool.ntp.org, which is a round-robin of NTP server.

w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL
Stop-Service w32time
Start-Service w32tim

Enjoy!


Microsoft Windows Server 2012 R2 – Query Network Time Protocol Configuration

You may use the following (2) commands to view the Network Time Protocol (NTP) settings for Microsoft Windows Server 2012 R.

  1. w32tm /query /peers
  2. w32tm /query /source

Enjoy!


Microsoft Windows Server 2012 R2 – Network Time Protocol Configuration

You may use the following Microsoft Windows PowerShell commands, as an administrator, to configure the network time protocol (NTP) servers for Windows Server 2012 R2 and sync a Windows client, such as Microsoft Windows 7, to the server. This example is using the well known NTP servers from the NTP Pool Project.

  • Server Configuration:
    • w32tm /config /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org” /syncfromflags:MANUAL
    • Stop-Service w32time
    • Start-Service w32time
  • Client Configuration:
    • w32tm /resync

VMware ESXi 5.5 – Network Time Protocol (NTP) Configuration

You may use the following method to configure the Network Time Protocol (NTP) on a VMware ESXi 5.5 host.

1. Connect to the VMware ESXi 5.5 host using the VMware vSphere Client 5.5.

01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. In the VMware vSphere Client 5.5 navigate to Configuration > Time Configuration and on the Time Configuration screen click Properties….

02

 

 

 

 

 

 

 

 

 

 

 

 

3. In the Time Configuration dialog box manually configure the date and time then select the check box next to NTP Client Enabled then click Options….

03

 

 

 

 

 

 

 

 

 

 

4. In the NTP Daemon (ntpd) Options dialog box select the NTP Settings option and add the NTP servers and select the check box to Restart NTP server to apply changes. Next, select the General tab then the option to Start automatically if any ports are open, and stop when all ports are closed then click OK.

04-1

04-2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5. In the Time Configuration dialog box click OK.

05

 

 

 

 

 

 

 

 

 

 

6. The Time Configuration screen should show the correct time, data, NTP Client status as Running and the NTP Servers you configured.

06

 

Enjoy!