Home     About Us     RSSRSS

How to enable and Sync Windows Time Service on Windows Server 2012

June 29, 2017 by @HKw@! | Filed under Win2k12, Windows.

I believed most of the Windows System Admin will noticed that server time on the new fresh installed Windows is not correct.

As a Windows System Admin, first thing you should do is change the server time zone and sync the server time to internet time server.

Recently, i get complain from customer  reported that the server time is incorrect. Even we advise them to sync the server time to internet time server, but they still do not understand to do that.

As for information, Microsoft does not enable NTP time sync by default. You can very easily manually enable it using the Windows Time Service, which supports time synchronisation from an NTP time server.

Here i going to share some of the simple command to sync NTP in Windows Server 2012.

Command Syntax:-

A) Manual Sync NTP server

w32tm /config /manualpeerlist:IP Address or NTP Server /syncfromflags:manual /reliable:yes /update

B) Start Windows Time Service

net start w32time

C) Stop Windows Time Service

net stop w32time

D) Resync Time

w32tm /resync

Example:

Step1: Run Command Prompt as Administrator or Run Windows PowerShell. In this example, i going to use Windows PowerShell

Step2: Check current time

Step3: Check current time source

– From above screenshot it already mentioned that currently server time is sync to Local CMOS Clock.

Step4: Manual Sync NTP server

Note: list of available NTP server can be get from the following link

http://www.pool.ntp.org/zone/my

Step5: Restart Windows Time Service and Rsync Time

Step6: Verify the time status

As you can see from the above screenshot, server time already changed. In order to do further verification, we can use some of the useful command to do that. Below are the few common command example:-

1. Check NTP Configuration

2. Display time source

3. Display list of all configured NTP server and status

4. Display time service status

 

← Previous

Leave a Reply

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