Windows 7

To get started, click the “Start” button in the lower left corner of your desktop:

Windows-7-EN_01

In the window that appears, in the “Search programs and files” field, enter the command “gpedit.msc”

Windows-7-EN_02

“gpedit” will appear at the top, select it and left-click

The “Local Group Policy Editor” will open

Go to “Computer Configuration” then “Administrative Templates”

Windows-7-EN_03

Next, go to “System”

Windows-7-EN_04

In “System” select “Windows Time Service”

Windows-7-EN_05

Next, go to “Time Providers”

Windows-7-EN_06

Select “Enable Windows NTP Client” and double-click on it

Windows-7-EN_07

And in the window that appears, switch the mode to “Enable”

And press “OK” or press “Enter” on the keyboard

Windows-7-EN_08

Go to “Configure Windows NTP Client”

Windows-7-EN_09

In the window that appears, switch to the “Enable” mode

Windows-7-EN_10

Next, we set up

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

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

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

Windows-7-EN_11

After completing the settings, press “OK” or press the “Enter” button on the keyboard

And the “Local Group Policy Editor” window is simply closed

Windows-7-EN_12

Next, we need to start the time synchronization service

Press the “Start” button

Windows-7-EN_01

In the “Search programs and files” field, enter the command “services.msc”

Choose “services”

Windows-7-EN_13

A window titled “Services” will open.

We are looking for a list service called “Windows Time Service”

Windows-7-EN_14

Right click on it and select “Properties”

Windows-7-EN_15

In the window that opens, we see that the service is started “Manually”

Windows-7-EN_16

Switch “Startup Type” to “Automatic”

Windows-7-EN_17

Click the “Start” button

Windows-7-EN_18

Save the changes by clicking the “OK” button

Windows-7-EN_19

Close the “Services” window

Windows-7-EN_20

Now we need to check if the service is running and what log entries it has made

Press the “Start” button

Windows-7-EN_01

In the “Search programs and files” field, enter the command “eventvwr.msc”

Select “eventvwr.msc”

Windows-7-EN_21

In the “Event Viewer” window that opens, open the “Windows Logs” section

Windows-7-EN_22

Next, select the “System” log

Windows-7-EN_23

Find the entry whose source is “Time-Service”

Windows-7-EN_24

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

In this case, the entry tells us that the service normally synchronizes time with an external server

Windows-7-EN_25

Close the “Event Viewer”

Windows-7-EN_26

Next, we need to check how accurate our clock is with respect to the external server

Press the “Start” button

Windows-7-EN_01

In the “Search programs and files” field, enter the command “cmd”

Select “cmd”

Windows-7-EN_27

Opened a command shell window “cmd.exe”

Windows-7-EN_28

Entering a command “w32tm /stripchart /computer:pool1.ntp.od.ua /samples:3”

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

Windows-7-EN_29

Program execution example

Windows-7-EN_30

This graph shows that at 13:30:49 the first of 3 test connections to the external NTP server was made, the result showed that the response delay from the server is +00.0000890 seconds, and the time difference is -00.0112226 seconds

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

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.