Automatically set the time on the computer. How to synchronize the hour on a computer with the Internet? Introduced minimal positive and negative correction

Antipyretic remedies for children are prescribed by a pediatrician. But there are situations of indispensable help for fevers, if the child needs to give faces negligently. Then the fathers take on themselves the resuscitation and stop the antipyretic preparations. What can be given to infants? How can you lower the temperature in older children? What are the most safe faces?

Date: 2013-05-31

Have tsіy statti about synchronization time for Windows XP. Windows XP has the ability to set a period synchronization hour Internet clock system via NTP (Network Time Protocol). I’ll add some more, that I’m building a city, not only Windows XP, but that’s all Operating systems from the Windows family, which was later.

You can change the synchronization period through Windows registry XP at gіltsi

HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/W32Time/TimeProviders/NTPClient

For the value of the synchronization period, the parameter SpecialPollInterval is set. For locking, this parameter has a maximum value of 3600 for the tenth system of numbers. Specify the parameter in seconds.

It is acceptable, if you need to set the synchronization period equal to 1 dobi or 24 years. The arithmetic of calculating the required value is simple here.

1 quill = 60 sec. 1 year = 60 quilin.

Parameter value SpecialPollInterval you can put it like in the tenth system, so in the sixteenth system. interval SpecialPollInterval about the year 24 in the sixteenth system, the number is 15180. Also, set the parameter SpecialPollInterval calculation of the value for an interval of 24 years.

To avoid fiddling with the registry and not manually editing the values, it would be easier to do it once and then export the registry to the registry and edit it manually, filling in the SpecialPollInterval parameter with the values. As a result of which you are to blame for such an axis. Otherwise, even more automate, then you can create and start such an axis.

In order to reconsider the practicality of the wicked thing, we go to the "Start" - "Control Panel". The menu needs to switch to the classic look. Select the "Date and Hour" menu. I will answer at the end of the day under the name “Power: Date is that hour”. In the upper part, we know the tab with the name "Internet Hour" and go to it. Even though the tab elements are not active, for activation, check the box “Viconate synchronization with the server for an hour on the Internet”. In the "Server" field, select one of the decal servers, with which the synchronization will be performed by the hour.

Yak servers synchronization hour With the Internet for promotion, there are already standard servers of time.windows.com and time.nist.gov. Moreover, in the field "Server" the server is displayed, the rest of the synchronization was successful for an hour. The target server is automatically remembered.

After clicking on the “Update now” button, synchronization may appear at the hour and lower, the message “Hour successfully synchronized with SERVER NAME” and even lower “Coming of the next synchronization: TOMORROW DATE.

As soon as the message says “Compassion for the hour of synchronization with the NAME OF THE SERVER”, then the connection may be reversed to the Internet, the connection may be lost. If you are connected to the Internet, try again and try again, and if the result is the same, then in the “Server” field, you need to try changing the server to a different one and try again.

Even if the result is updated again with a pardon, then, more likely than not, the problem is in the antivirus, or rather in the firewall (the border screen), which blocks the port, for which the PC connects to the NTP server. Standard fencing windows screen(Firewall) does not block or block ports, so, obviously, the price is not fixed in the primus.

So, in order to reconsider, that the antivirus blocks or does not block the connection with the NTP server, there are 2 solutions to the dilemma:

1. If you are a professional in the installation of your anti-virus software, then you can change the anti-virus screen and change it into a new filter.

2. If you allow the installation of anti-virus software, then turn off the next screen for one hour. As if there is a reason for not leaving, you can try to start the anti-virus itself at the time of the hour and reverse the synchronization of the hour from the Internet. Do not forget to include those that were included after the reverification.

Add new NTP server synchronization hour From the Internet it is possible through the same Windows registry. Moreover, it is possible to robit, without being able to access the Internet. Server values ​​in synchronization are saved from distribution

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/DateTime/Servers

To add the server, it is necessary to create a row parameter (REG_SZ type) with the next serial number i in the value of the new created parameter and write the name of the NTP server in the value of the new created parameter.

Looked back already 7627 times!

Information about the exact hour, and manually set the synchronization, use the services of one of the so-called Daytime servers. Before you connect to such a server, change your mind that you have a console Telnet client Windows versions). Run the telnet program with a parameter that consists of the server's IP address and port number separated by two. The port number for the Daytime protocol is set to 13. For example: telnet 198.60.73.8:13
At the request, you take away information about the hour and date, after which the order will be automatically opened. Do not pay attention to the anniversary - the server is located in a different time zone. You need more information about the quietness of that second. Vykoristovyte more servers from the list, about yaki it is directly said that they support the Daytime protocol. Never connect to the same server more often, less than once for a couple of seconds, inclusive, otherwise your IP address will be (your requests will be taken as DoS-).

In order for the computer to run from the server automatically, it will be speeded up by another protocol - NTP. All servers are supported from the assigned list, navit those behind the Daytime protocol. However, the best speed for which exact NTP server is ntp.mobatime.com. There is less accurate public server pool at time.windows.com. Please note that the URLs of these servers are written without the "http://www" string. Asking to any NTP servers is also impossible to repeat at any time more often, at least once for a couple of seconds, inclusive.

To automatically synchronize the computer's birthday with an NTP server in the operating room Linux systems, start installing the ntp package. Then enter the command sudo ntpdate (NTP server URL)

Schob in the operating system Windows hour automatically synchronized with the NTP server when the skin computer was activated, select the "Control Panel" item "Date and hour". Go to the "Hour" tab. Check the box "Enable synchronization from the server to the hour on the Internet". Enter the URL of the NTP server on the same side.

Install on your mobile phone J2ME add-on Server Time. After launching yoga, enter the URL of the NTP server in the settings. Let's choose the item "Start!". In addition, as soon as it is requested, you can change the hour on the server by the hour at the phone call. Synchronization must be done manually, regardless of the NTP protocol. Tied up tse z tim scho virtual machine Java on the phone does not allow programs to change the display of the system year.

It's really easy to synchronize the hour with Windows 7. At the same time, you yourself will change into someone else.

The first thing you need is access to the Internet. If you are already online, then just click on the kіlka diy.

Click the bear on the birthday, rotting at the system tray.

Show up at the window "Date and hour" with three tabs. You need to go to the tab "Hour on the Internet".(Before speech, the word "internet" is written in small letters).

With which server to synchronize the hour

Otzhe, you went to the tab "Internet Hour". Most of the computers have been locked up for automatic synchronization with the time.windows.com server.

You can specify another server for which to press the button "Change parameters".

At the window you can click on the button "Update now" schob svіritisya z mikrosoftіvskom server hour.

Or choose another server from the list for an hour.

On my computer, the hour is not updated automatically, because ESET ENDPOINT ANTIVIRUS in the kit with a firewall works in start mode. So I clicked the button and created a rule to allow synchronization to the hour. Now the hour is synchronized automatically.



Gajus /

For a Windows promotion, you can synchronize your computer's hour with the exact date of the year via the Internet. If the computers of the local network are combined into a domain, then the exact hour is taken from the domain controller, and the domain controller is taken exact hour from the Internet.

The problem of synchronizing the hour on the computers of the local network is blamed only if the Internet does not have any faults in connection with the ideas of the mirroring. In the rest of the case, it is possible to allow the NTP protocol (port 123 UDP) on the router/firewall to be passed through for all the extensions of the local network.

At a higher level, you can set all computers of the local network to synchronize the hour with one computer, which is called the local server of the exact hour.

Setting up a local server for the exact time

The local server for the exact time can be a computer running Windows, you just need to cheat a little in the registry. Open registry editor (regedit), let's go HKLM\System\CurrentControlSet\services\W32Time\TimeProviders\NtpServer that parameter value can be set Enabled equal 1 .

Open the command line and restart the Windows service with the command

As soon as you molt with the command row, you can simply reload the computer.

Our server is ready.

Calls you take an hour for the server - it's yours on the right: either through the Internet, or with your hands.

Adjustment of synchronization to the hour on computers

To simply take and synchronize the hour with the server for the exact hour, you need everything in the command line, type:

net time\\im'my_computer_server_exact_time /set

Open the command line and write there:

w32tm /config /syncfromflags:manual /manualpeerlist:192.168.1.1

Here we specify the server of the exact hour of our local network. You can have a sprat, then everything is pererahovuemo through someone without a problem.

Let's wait, let's give a command

w32tm /config /update

After the middle of the server at the exact hour, it is indicated that it is a priority. Our butt has less than one wine, so we write:

nettime /setsntp:192.168.1.1

Restarting the Windows Clock Service

net stop w32time && net start w32time

І synchronized

w32tm/resync

After these manipulations, the computer will itself synchronize the hour with the server. The food is out!

Andriy Karashchuk

To synchronize the clock in Windows, you can tweak a system service, as it is called "Windows Time Service".

Setting the server time for synchronization:

It is necessary for us to improve this service. It is necessary to specify an NTP server (NTP - Network Time Protocol) in the settings, or a list of servers per hour, for which to synchronize. Zrobiti tse possible command console(cmd.exe) offensive command:

net time /setsntp:ntp.site

The key /setsntp after the two-fold specifies the server or the list of servers per hour. You can set up the server either by name (div. at the pointed-out example), or by IP-address. It is necessary to specify a list of a number of servers, it is necessary to put the list at the foot, distributing the servers at the list with spaces. Butt:

nettime /setsntp:"1.1.1.1 2.2.2.2"

When specifying a list of the number of servers, synchronization will be based on the first server in the list; If the server is unavailable, then another, etc.

Console Command

nettime /querysntp


display a streaming list of servers installed for synchronization by the hour. Type this command in the command console and change the server time (or the list of servers) to indicate correctly.

It is enough to update the service once, the settings of the service are saved in the system registry and are overridden at all upcoming synchronizations. Therefore, before skin synchronization, you need to restart the NTP server and other parameters of the Windows service.

Starting the clock service

In addition, as a server (list of servers) for synchronizing the yearbook, you can start the service itself, so that it automatically starts the periodic synchronization of the system yearbook from the designated server.

The hour service can be started manually, for example, with the command from the command console:

net start w32time

Or run її through the snap-in service management (Win+R --> services.msc). In short, also through the snap-in of the management of services automatic start tsієї service (Startup type: Auto). Tse, so that I didn’t have to run the service for an hour manually, tobto. so that when the system was occupied by the skin, the service automatically started and was always started for regular synchronization.

For zamovchuvannyam synchronizatsiya hour vykonuetsya at the start of the service hour, and then through the skin 45 minutes. After three successful synchro- nizations, the synchro- nization is carried out through the skin for 8 years. Synchronization frequency can be changed depending on your needs.

Note 1: Operations related to the synchronization of the year and the service of the hour (the lock with the її configuration), you can use the w32tm.exe system console utility for help. For example, the command (in the console) w32tm -period sets the periodicity of the synchronization of the year, and the w32tm -once command sets the one-time synchronization of the system year with the time server hour for synchronization). For more detailed information about the w32tm utility, see (at the console): w32tm /?

If you want a computer and an accurate machine, you can have a year-old man (like and be-yaki іnshі) you can try or hurry up. For the protection of similar incidents, synchronization is required for an hour for the help of the Windows hour service.

After setting the schedule of the OS, we will send the year from the server, we will tell you about the adjustments. If the value is not correct, the system will correct the indications. The config address is already set to the address.

How to synchronize the hour on the computer

For a one-time synchronization, it is necessary to vikonate such a function. Click the left button on the Windows Yearbook.

The key "Change the parameters of the date and time" to change the setting. Then you need to go to the "Internet Hour" tab. It will display the server address, as specified in the settings, that last date of synchronization.


By pressing "Change parameters", you can change the hour.

Function automation

To synchronize the hour of the computer with the Internet automatically, enough for the rest of the week, check the box in a single box. It's impossible to connect to the Pivnich, otherwise, when the time is updated, there is a mistake, then you can choose one of the additional servers, since the OS is supposed to choose 5 or 5, or you should know and enter Yogo in the "server" row.

Be respectful, the remaining vibrating server will be left behind in the promotions, with it the operating system and automatically synchronize the hour on the computer with the Internet.

Command row koshti

Do not start manually tweaking the graphics to fix the system. For example, as if it were overwhelmed by the text: the eyes try to know the button, but everything gets angry in one monotonous image. That th introduction of a bet of teams is carried out more quickly, the lower part of the mouse cursor is moved from one end of the day to the next.

To synchronize the hour on a computer with the Internet for additional command line, open the "Start" menu and select "Vikonati" or simply press Win + R on the keyboard. At the next window, to start, write cmd, and then press the Enter key. So you will see in the command line, the command will come and update the hour on the local computer from the server, we will install it behind the lock:

  • w32tm/resync.


To set up a server, some vikoristovuvatime system, to synchronize the hour on local computer with the Internet, click on the commands:

  • w32tm /config /manualpeerlist:[server for synchronization] /syncfromflags:manual /reliable:yes (this command will install the server, which hour of the quiz should be available for updates);
  • w32tm /config /update (reports about the service to the hour about those that have been changed);
  • net stop w32time && net start w32time (service restart).

- Is it difficult?

Windows is the same OS, the functionality of which can be expanded supplementary programs. As if the time has been adjusted and you are aware of the complexity, then you can win the simplest option - start the program, so that you can create the impersonal kroki yourself and use the minimum amount of work. Tim more, that such programs allow you to synchronize the hour with greater accuracy, lower standard order systems. Often the stench can damage stutters when removing and overpowering packets and taking away server addresses from lists on the Internet.

Undocumented installation

During the promotional period, after which Windows has adjusted the hour on the computer with the Internet, earlier today. Sometimes you need to change the interval, but if you do not allow the necessary configuration to change. Help register.


To launch the registry at the "Vikonati" window row, type regedit and press Enter. Navigate to the HKEYLM hack and open the SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient directory. Find the SpecialPollInterval parameter. The new one will already have the value 604 800 written down. For such a number of seconds, one day will pass. If you change that number to 3600, the sync hour will be one year old.

It is not recommended to enter in the qiu column a value less than a year and more doby. Smaller values ​​help to increase Internet traffic. Before that, in order to synchronize the hour of skin seconds, the server will block your IP. With great values, it is impossible to reach the maximum accuracy of the system calendar. After making a change, enter the symbols net stop w32time && net start w32time at the command line.

Local merezha

Even at home or in the office, a small number of computers are installed, connected by local measure, you can win one server at the exact hour. Synchronization with the hour of the PC, which enters the local network, is carried out the same way, as if from servers on the Internet. Alas, it will be possible to run an NTP server on the computer, and other participants in the network will be able to win some time.

For this, open the registry and edit the HKLM\System\CurrentControlSet\services\W32Time\TimeProviders\NtpServer partition. You need to assign the value 1 to the new Enabled key, then restart Windows Service time from the command line, overriding net stop w32time, and afterward - net start w32time.

Remember that now the PC is operated by other coristuvachs as a guide, do not forget to change its practice from hour to hour. If the server has been upgraded, you can change it with the w32tm /query /configuration command. The Enabled value, which is 1, indicates that everything is fine with the server.

Do not forget to synchronize the hour on the computer with the Internet, even now, as if the year is ahead of you, or else you should see it on a new one, so it will appear on all the coristuvachas.

It's really easy to synchronize the hour with Windows 7. At the same time, you yourself will change into someone else.

The first thing you need is access to the Internet. If you are already online, then just click on the kіlka diy.

Click the bear on the birthday, rotting at the system tray.

Show up at the window "Date and hour" with three tabs. You need to go to the tab "Hour on the Internet".(Before speech, the word "internet" is written in small letters).

With which server to synchronize the hour

Otzhe, you went to the tab "Internet Hour". Most of the computers have been locked up for automatic synchronization with the time.windows.com server.

You can specify another server for which to press the button "Change parameters".

At the window you can click on the button "Update now" schob svіritisya z mikrosoftіvskom server hour.

Or choose another server from the list for an hour.

On my computer, the hour is not updated automatically, because ESET ENDPOINT ANTIVIRUS in the kit with a firewall works in start mode. So I clicked the button and created a rule to allow synchronization to the hour. Now the hour is synchronized automatically.

Gajus/Shutterstock

How do you see the date setting for Windows 10

Like a robiti, so that the hour is synchronized more often

For locking, the automatic synchronization process takes an hour for Windows. If you need to update it more often, you may need to edit the system registry.

  1. Press the start menu button.
  2. Open the "Vikonati" window.
  3. At the command line, dial regedit and press "OK".
  4. Navigate to registry key: HKEY_LOCAL_MACHINE → SYSTEM → ControlSet001 → Services → W32Time → TimeProviders → NtpClient

Parameter SpecialPollInterval the value is 604800. This is the number of seconds in one day.

If you want to celebrate the anniversary of the day, change it to the appropriate value. It will be redeemed like this: 24 × 60 × 60 = 86400 seconds.

From i all. Your computer will now have the exact hour.

Date: 2013-05-31

Have tsіy statti about synchronization time for Windows XP. Windows XP has the ability to set a period synchronization hour Internet clock system via NTP (Network Time Protocol). I’ll add something else, that it’s not only Windows XP, but also all operating systems from the Windows family, which are newer.

You can change the synchronization period through the registry of Windows XP

HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/W32Time/TimeProviders/NTPClient

For the value of the synchronization period, the parameter SpecialPollInterval is set. For locking, this parameter has a maximum value of 3600 for the tenth system of numbers. Specify the parameter in seconds.

It is acceptable, if you need to set the synchronization period equal to 1 dobi or 24 years. The arithmetic of calculating the required value is simple here.

1 quill = 60 sec. 1 year = 60 quilin.

Parameter value SpecialPollInterval you can put it like in the tenth system, so in the sixteenth system. interval SpecialPollInterval about the year 24 in the sixteenth system, the number is 15180. Also, set the parameter SpecialPollInterval calculation of the value for an interval of 24 years.

To avoid fiddling with the registry and not manually editing the values, it would be easier to do it once and then export the registry to the registry and edit it manually, filling in the SpecialPollInterval parameter with the values. As a result, you can have such an axis. Otherwise, even more automate, then you can create and start such an axis.

In order to reconsider the practicality of the wicked thing, we go to the "Start" - "Control Panel". The menu needs to switch to the classic look. Select the "Date and Hour" menu. I will answer at the end of the day under the name “Power: Date is that hour”. In the upper part, we know the tab with the name "Internet Hour" and go to it. Even though the tab elements are not active, for activation, check the box “Viconate synchronization with the server for an hour on the Internet”. In the "Server" field, select one of the decal servers, with which the synchronization will be performed by the hour.

Yak servers synchronization hour With the Internet for promotion, there are already standard servers of time.windows.com and time.nist.gov. Moreover, in the field "Server" the server is displayed, the rest of the synchronization was successful for an hour. The target server is automatically remembered.

After clicking on the “Update now” button, synchronization may appear at the hour and lower, the message “Hour successfully synchronized with SERVER NAME” and even lower “Coming of the next synchronization: TOMORROW DATE.

As soon as the message says “Compassion for the hour of synchronization with the NAME OF THE SERVER”, then the connection may be reversed to the Internet, the connection may be lost. If you are connected to the Internet, try again and try again, and if the result is the same, then in the “Server” field, you need to try changing the server to a different one and try again.

Even if the result is updated again with a pardon, then, more likely than not, the problem is in the antivirus, or rather in the firewall (the border screen), which blocks the port, for which the PC connects to the NTP server. The standard Windows framing screen (Firewall) does not block any ports, so, obviously, the price is not fixed.

So, in order to reconsider, that the antivirus blocks or does not block the connection with the NTP server, there are 2 solutions to the dilemma:

1. If you are a professional in the installation of your anti-virus software, then you can change the anti-virus screen and change it into a new filter.

2. If you allow the installation of anti-virus software, then turn off the next screen for one hour. As if there is a reason for not leaving, you can try to start the anti-virus itself at the time of the hour and reverse the synchronization of the hour from the Internet. Do not forget to include those that were included after the reverification.

Add new NTP server synchronization hour From the Internet it is possible through the same Windows registry. Moreover, it is possible to robit, without being able to access the Internet. Server values ​​in synchronization are saved from distribution

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/DateTime/Servers

To add the server, it is necessary to create a row parameter (REG_SZ type) with the next serial number i in the value of the new created parameter and write the name of the NTP server in the value of the new created parameter.

Looked back already 4793 times!

Good afternoon, shanovni chitachi and guests of the blog site, how many people talk about the hour, it’s easy to live, and everyone understands, it’s worthless and important. So and in the infrastructure of Active Directory, won є one of the most important factors, the correct functioning of the domain In the domain, everyone trusts one, and once logged in and denied all the tickets in Kerberos, you can walk around, obmezhuyuchisya only with their available rights. Since you won’t have an exact hour on your workstations before the domain controller, you can tell if you have serious problems, we’ll talk about them below and see how to get them for help setting up an NTP server in Windows.

Clock Synchronization in Active Directory

Among the computers that take part in the Active Directory, the time synchronization scheme is coming.

  • The controller of the root domain in lisi AD, which should have the FSMO role of the PDC emulator (called the root PDC), it's time to decide the controller of this domain.
  • The controllers of the child domains synchronize the hour from the controllers of the domain that are upstream according to the AD topology.
  • Ordinary domain members (servers and workstations) synchronize their time with the closest available domain controller to them, accessing the AD topology.

Rooted PDC can synchronize its own hour as if it were the original clock, and also with itself, the rest is set by the standard configuration and є absurdity, about which pardons are periodically pulled in the system log.

Synchronization of clients of the root PDC can be performed both from the 1st internal year and from the 1st root server. At first glance, the server of the root PDC will announce itself as "reliable".

Further, I will bring the server configuration optimally from my point of view to the hour of the root PDC, if the root PDC itself periodically synchronizes its hour with a trusted server on the Internet, and the hour of the clients, who turn back to new, synchronizes with their own year.

Introduced netdom query fsmo. In my case, the role of the PDC and NTP server belongs to the controller dc7

NTP server configuration on the root PDC

Server configuration in Windows (NTP servers) can be configured as an additional command line utility w32tm, i via register. De mozhlivo, I will bring offensive options. Ale back to back, take a look at your settings on the computer, fight with the team:

w32tm /query /configuration

EventLogFlags: 2 (Local)
AnnounceFlags: 10 (local)
TimeJumpAuditOffset: 28800 (local)
MinPollInterval: 6 (Local)
MaxPollInterval: 10 (local)
MaxNegPhaseCorrection: 172800 (local)
MaxPosPhaseCorrection: 172800 (local)
MaxAllowedPhaseOffset: 300 (local)

FrequencyCorrectRate: 4 (local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 7 (local)
UpdateInterval: 100 (local)

NtpClient (Local)
Enabled: 1 (Local)
InputProvider: 1 (local)
CrossSiteSyncFlags: 2 (local)
ResolvePeerBackoffMinutes: 15 (local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (local)
Type: NT5DS (Local)

NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (local)
NarazіNationalModeCombinations: 1 (local)

VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (local)

Augmentation of synchronization of internal anniversaries from the outside dzherel


Notification of the NTP server

NTP server is locked on all domain controllers, however, it can be enabled on member servers.


Setting up a list of external phones for synchronization


Flag 0×8 on the end means that the synchronization is due in NTP client mode through the time interval requested by the server. To set your own synchronization interval, you need to change flag 0×1.

Setting the sync interval from the old clock

Hour in seconds between the experiments of the synchronization time for locking 900s = 15hv. It is more practical for the dzherel, marked with the ensign 0 × 1.


  • "SpecialPollInterval"=dword:00000384

Introduced minimal positive and negative correction

The maximum positive and negative correction of the hour (the difference between the internal year and the synchronization time) is in seconds, when such a synchronization is not reversed. I recommend the value 0xFFFFFFFF, for which the correction can be changed forever.


"MaxPosPhaseCorrection"=dword:FFFFFFFF
"MaxNegPhaseCorrection"=dword:FFFFFFFF

Everything you need in one row

w32tm.exe /config /manualpeerlist:"time.nist.gov,0x8 ntp1.imvp.ru,0x8 ntp2.imvp.ru,0x8 time.windows.com,0x8 pool.ntp.org,0x8" /syncfromflags:manual / reliable:yes /update

Colored commands

  • Stopping changes made before the service configuration
    w32tm /config /update
  • Primus Synchronization from Dzherel
    w32tm/resync/rediscover
  • I will become a synchronization of domain controllers in the domain
    w32tm/monitor
  • Inspection of streaming sync clocks and their status
    w32tm /query /peers

Setting NTP server and client group policy

Since we have an Active Directory domain with you, then it’s safe not to change group policies, for mass setting up servers and workstations, I’ll show you how to set up your NTP server on windows that client. Vіdkrivaєmo equipping "Group Policy Editor". Before setting up our NTP server on Windows, we need to create a WMI filter, which will set the policy, only to the server of the PDC master.

Enter name, namespace, if the value is "root\CIMv2" it will be "Select * from Win32_ComputerSystem where DomainRole = 5". Take yoga.

Let's create a policy on the Domain Controllers container.

At the very bottom of the policy, tick your creations WMI filter.

Go to the gіlku: Computer Configuration > Policies > Administrative Templates > System > Windows Time Service > Timers.

Here you can see the "Enable Windows NTP client" policy. We set the parameters

  • NtpServer: 0.ru.pool.ntp.org,0x1 1.ru.pool.ntp.org,0x1 2.ru.pool.ntp.org,0x1 3.ru.pool.ntp.org,0x1
  • Type: NTP
  • CrossSiteSyncFlags: 2. A two means that this parameter is set to 2 (All), you can win any sync participant. This value is ignored if no NT5DS value is set. Value per lock: 2 (tens) (0x02 (sixteenth))
  • ResolvePeerBackoffMinutes: 15. This value, expressed in minutes, sets the W32time service refresh interval before DNS name resolution fails. Value per lock: 15 quilin
  • Resolve Peer BAckoffMaxTimes: 7. This value specifies the number of attempts to resolve the DNS name that the W32time service handles before restarting the process. In the case of a short-lived skin condition, the DNS-name interval is cleared up before the attack. Significance for the promotion: sіm sprob.
  • SpecilalPoolInterval: 3600. The value of the NTP client parameter, expressed in seconds, determines the frequency of the manually configured polling interval to an hour, which is the most common polling interval. Also, for the NTPServer parameter, the SpecialInterval ensign is set, the client variable value, set as SpecialPollInterval, change the MinPollInterval and MaxPollInterval values ​​to set the polling frequency to the hour. Lockout value: 3600 seconds (1 year).
  • EventLogFlags: 0

Robimo okremu group policy for client machines, axis іz with such parameters.

  • NtpServer: Addresses of your domain controller with PDC participation.
  • Type: NT5DS
  • CrossSiteSyncFlags: 2
  • ResolvePeerBackoffMinutes: 15
  • Resolve Peer BAckoffMaxTimes: 7
  • SpecilalPoolInterval: 3600
  • EventLogFlags: 0

Support the project - share your efforts, darling!
Read also
How to install avast free antivirus How to install avast free antivirus How to clean the computer'ютер від вірусів самостійно How to clean your computer from viruses on your own How to clean up the computer again'ютер від вірусів How to clear the computer again from viruses