To synchronize time in an Active Directory domain, you need to take a few simple steps.
First you need to open the 123 udp port for the domain controller.
1. Run the command line as administrator.
2. Stop the W32Time service:
net stop w32time
3. We set the addresses of external time sources:
w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org"
4. Now we make the controller respond to clients with requests for time synchronization:
w32tm /config /reliable:yes
5. Start the W32Time time service:
net start w32time
6. Check the current configuration of the time service:
w32tm /query /configuration
On this, time synchronization in a Windows domain can be considered configured
w32tm / query / source – displays the time source that the Windows Time service is configured to
w32tm / monitor – when run on a domain controller (CD), shows how much the time differs on other CDs and on the external time source that the PDC is configured
w32tm / config / syncfromflags: manual /manualpeerlist:ru.pool.ntp.org – configure the pool of ntp servers ru.pool.ntp.org as a time source
w32tm / config / update – this command must be executed for the time service to apply the new settings
w32tm / resync – performing time synchronization
w32tm / unregister – unregisters a service and removes settings from the registry
w32tm / register – register a service and restore default settings
Similar Posts:
- Windows Server Active directory time synchonisation
- php 7.4 + nginx quick start on Windows 10 / Server 2012 / 2016 / 2019
- Windows Server 2012 / 2016 how to add a program to startup