How to Configure Windows Server to Query An external NTP Server

If you are a network administrator then you must be familiar with the importance of querying NTP server. On the other hand, if you are fresh IT guy or a new network admin then you might not have heard about the NTP server. But, don’t worry. This article will explain what an NTP server is, why you need to query it and how to query the NTP server.

NTP Server

NTP stands for Network Time Protocol. Network Time Protocol is the most commonly used time protocol in the whole world. An NTP server is a server that uses the Network Time Protocol.

The main task of an NTP server is to send the time signal to any server that requests it. The NTP servers utilizes the UTC (Universal Time Coordinated) time source for its timing signals. There are many NTP servers all around the globe. You can actually click here to check the NTP servers in a specific region.

Note: NTP Server and NTP are used interchangeably. An NTP server i.e. a server that utilizes the NTP is sometimes referred to as just the NTP. So, don’t be confused by this.

Why would you use an NTP server?

NTP servers are queried by servers from all around the world. The main purpose of an NTP server is to provide the timing signal to every server that sends it a request. This helps in keeping the servers from all around the world at the same time. In short, it helps in synchronizing a network to the same time that all the other major servers and devices are using. This mainly helps in global transactions and communications.

So, it is pretty common for servers to query the NTP server to ensure that all their devices are synchronized and using the same time.

How to query the NTP Server?

Querying the NTP server is pretty easy. You can configure your Windows server to query the NTP server in just a few lines.

  1. Open Command Prompt or PowerShell with administrator rights.
  2. Type net stop w32time and press Enter. This will stop the time service
  3. Type w32tm /config /syncfromflags:manual /manualpeerlist:”0.us.pool.ntp.org,1.us.pool.ntp.org,2.us.pool.ntp.org,3.us.pool.ntp.org” and press Enter.
  4. This will set the peer list for external servers. These servers are for US. If you live outside of US then you should replace the part after “manualpeerlist:” with your own server list. You can get the server addresses from here
  5. Type w32tm /config /reliable:yes and press Enter. This will set your connection as reliable.
  6. Type net start w32time and press Enter. This will start your time service again.

That’s it. Simple as that.

Note: UDP port 123 should be open in order for the NTP traffic to reach you.

If, for some reason, the time isn’t synchronizing with the NTP servers then check the Event logs via the Event Viewer. An event with the 47 id usually means that the NTP servers aren’t reachable. This can be fixed by checking your firewall.

Useful Commands

Some other commands that can be useful for this process are given below:

  1. w32tm /query /configuration (checks and shows the NTP configuration)
  2. w32tm /query /peers (checks and shows the list of NTP servers configured along with their status)
  3. w32tm /resync /nowait (forces the synchronization of time)
  4. w32tm /query /source (shows the source of the time)
  5. w32tm /query /status (shows the service status, use it to check whether the time is coming from the external NTP servers or the cmos clock)

The post How to Configure Windows Server to Query An external NTP Server appeared first on Android News.

Check Also

Download MIUI 10.1.1.0 Global Stable ROM for Redmi 4

Good news for Redmi 4 users, latest MIUI 10.1.1.0 Global Stable ROM for Redmi 4 starts rolling out. The update brings all MIUI 10 features, optimizes system performance, fixes few bugs and bring the latest security patch. MIUI 10.1.1.0 Update for Redmi 4 is out and you can install it manually. Follow the below guide to Download MIUI 10.1.1.0 Global Stable ROM for Redmi 4. MIUI 10.1.1.0 update for Redmi 4 rolling out via OTA and users will get the update soon. You can wait for the OTA or download MIUI 10.1.1.0 for Redmi 4 from below to update manually. Download MIUI 10.1.1.0 Global Stable ROM for Redmi 4 from below. The new update is MIUI 10.1.1.0 MCEMIFI and rolled out via OTA (over-the-air), and users will receive the Notification pop up once the update is ready for download and install. You can Download Redmi 4 MIUI 10.1.1.0 MCEMIFI ROM from below and also manually check for the update by going to Settings -> About Phone -> System updates -> Check for update. Download MIUI 10.1.1.0..

Leave a Reply

Your email address will not be published. Required fields are marked *