Windows 10

To get started, click the “Start” box at the bottom left of your desktop

win10_EN_01

Type “gpedit.msc” and select “gpedit”

win10_EN_02

When the command is executed, a window called “Local Group Policy Editor” will open

Go to the “Computer Configuration” section, then “Administrative Templates”

win10_EN_03

Next, go to the “System” section

win10_EN_04

Next, the “Windows Time Service” section

win10_EN_05

Then go to “Time Providers”

win10_EN_06

On the right, select the “Enable Windows NTP client” setting

win10_EN_07

Double-click the left mouse button, the settings window will open

Switch to “Enabled” mode and press the “OK” button

win10_EN_08

Go to the “Configure Windows NTP client” setting

win10_EN_09

In the settings window, switch the mode to “Enabled”

win10_EN_10

We change the items, in the “NtpServer” field we specify the IP address of the NTP server or its DNS name, for example “pool1.ntp.od.ua”, or any other server from our list, and through which a special server flag is specified, in in this case it is “0x9”

In the “Type” field, indicate that we will use the “NTP” protocol

In the “SpecialPollInterval” field, we specify “900” seconds, this is the server polling interval

Save by pressing the “OK” button

win10_EN_11

Close the “Local Group Policy Editor” window

win10_EN_12

The next stage is setting up the time synchronization service

Click in the “Search” field

Enter the “services.msc” command, and select “services” from the resulting list

win10_EN_13

The “Services” window will open, select “Windows Time Service” from the list

win10_EN_14

Select the service, press the right mouse button and select “Properties”

win10_EN_15

The settings window will open

win10_EN_16

Change “Startup type” to “Automatic” mode

win10_EN_17

Then start the service by clicking the “Start” button

win10_EN_18

Save the changes by pressing the “OK” button

win10_EN_19

Close the “Services” window

open search, write “cmd”

win10_EN_20

run on behalf of the administrator

win10_EN_21

the console will open, enter the command

sc triggerinfo w32time start/networkon stop/networkoff

win10_EN_21

execution result

win10_EN_23

The next step is to monitor the operation of the service by viewing and analyzing the logs

Click on the “Search” field in the lower left corner of the desktop

Enter the “eventvwr.msc” command and select “View event logs” from the list

win10_EN_22

The “Event Viewer” window will open, select the “Windows Logs” item in the left part

win10_EN_22

Select the “System” magazine

We find the event whose source is “Time-Service”

win10_EN_23

Double-click on the event with the left mouse button, a detailed description window will open

win10_EN_24

In this case, the log event of a successful synchronization with an external NTP server

Close the “View events” window

Now let’s check how much time our clock works

Click in the “Search” field

Write the “cmd” command

win10_EN_20

A “Command Prompt” window will open.

win10_EN_26

Enter the command “w32tm /stripchart /computer:pool1.ntp.od.ua /samples:3”

win10_EN_30

Where “w32tm” is a time service management tool, “stripchart” displays a graph with statistics of clock deviations, “computer:pool1.ntp.od.ua” is a remote NTP server with which we compare the local clock, and finally the argument “samples:3” means to build graph of only 3 connections

An example of program execution

win10_EN_31

This graph shows that at 2:41:31 the first of three test connections was made to an external NTP server, the result showed a response delay from the server of +00.0112548 seconds and a time difference of +00.0029020 seconds

The setup is complete, the test showed acceptable results and confirmed the functionality of the time synchronization service in Windows 10.

Leave a Reply

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

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.