Hello Zring Abdulrazzaq Rasool,
Thank you for posting in Q&A forum.
When a PC (client) is joined to a Windows domain, it typically automatically synchronizes the time with the domain controller. This time synchronization is a built-in feature of the Windows Time Service (W32Time).
However, there are some important points to consider:
1.Default behavior: By default, clients in a Windows domain will use the domain hierarchy to synchronize the time. The workstations will synchronize the time with the domain controller.
2.GPO: Although the default behavior is usually sufficient, you can create and configure GPOs to apply specific time synchronization settings if necessary. This could be useful in environments with strict time-accuracy requirements or specific configurations.
3.Time source for the domain: The Primary Domain Controller (PDC) emulator must be configured to synchronize the time with a reliable external time source.
Other domain controllers and member computers will then synchronize the time with the PDC emulator or their domain controllers. In most cases, no additional configuration through GPO is required for basic time synchronization, but it is recommended that you ensure that the PDC emulator is set to use an external reliable time source to maintain accurate time throughout the domain.
The following are the registry settings on PDC and other computers.
===PDC===
HLM\SYSTEM\CurrentControlSet\services\w32time\TimeProviders\VMICTimeProvider
Name: Enabled
Type: REG_DWORD
Data:0
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
Key Name: AnnounceFlags
Type: REG_DWORD (DWORD value)
Data: 0x5
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type
Key Name: Type
Type: REG_SZ(string value)
Data: NTP
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Key Name: NtpServer
Type: REG_SZ(string value)
Data: Peer (time.windows.com.0x9)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
Key Name: Enabled
Type: REG_DWORD
Data: 1
Note: If the PDC is a virtual machine, set the first one, and if it is not a virtual machine, do not set this one.
===Other DCs and clients===
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type
Key Name: Type
Type: REG_SZ(string value)
Data: NT5DS
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
Key Name: AnnounceFlags
Type: REG_DWORD (DWORD value)
Data: 0xa
The following are the GPO settings on PDC and other computers.
===PDC===
Computer Configuration\Policies\Administration Templates\System\Windows Time Service\Time Providers\Enable Windows NTP Client should be enabled
Computer Configuration\Policies\Administration Templates\System\Windows Time Service\Time Providers\Configure Windows NTP Client should be enabled with “NTP” as Type and the NTP server(s) to use set as NtpServer (You can add multiple NTP servers by separating them with a white space)
===Other domain controllers, member servers and Workstation===
Computer Configuration\Policies\Administration Templates\System\Windows Time Service\Time Providers\Configure Windows NTP Client should be enabled with “NT5DS” as Type
For more information, please refer to the links below.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.