Hi,
I would like to sync my Windows Server 2019 time to 0.ca.pool.ntp.org instead of Local CMOS Clock
Hi,
I would like to sync my Windows Server 2019 time to 0.ca.pool.ntp.org instead of Local CMOS Clock
Hello @manjotsc,
Thank you for posting here.
1.Would you please tell us whether your Windows server 2019 is in one domain or not?
2.Is your Windows server 2019 virtual machine or physical machine?
If your your Windows server 2019 is in one domain, we can see Time Synchronization in an AD DS Hierarchy.
1.Time on PDC is synchronized with external NTP time server.
2.TIme on other DCs is synchronized with PDC.
3.Time on domain clients and member servers is synchronized with other DCs.
Registry configuration method
===PDC===
(If PDC is a virtual machine, set the first one entry, if PDC is not a virtual machine, don’t set this one entry)
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: Peers (time.windows.com,0x9)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
Key Name: Enabled
Type: REG_DWORD
Data: 1
===other DC & Client===
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
GPO configuration methond
Time Synchronization in Active Directory Forests
https://social.technet.microsoft.com/wiki/contents/articles/18573.time-synchronization-in-active-directory-forests.aspx
Reference
How the Windows Time Service Works
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc773013(v=ws.10)?redirectedfrom=MSDN
If your Windows server 2019 is not in any one domain, we can configure it as below.
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: 0.ca.pool.ntp.org
Tip: Please back up your registry first before changing it.
Hope the information above is helpful.
Should you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou
Hi @manjotsc
Thank You for posting in Q & A.
Follow the below URL
CONFIGURING NTP SERVER FOR TIME SYNCHRONIZATION
If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.
@learn2skills I tried this already, it doesn't work. Time does not change
@manjotsc
Try this it may help.
w32tm /unregister
net stop w32time
w32tm /register
net start w32time
w32tm /config /manualpeerlist:"0.ca.pool.ntp.org, 1.ca.pool.ntp.org, 2.ca.pool.ntp.org, 3.ca.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
Check the results with the below commands.
w32tm /query /source
w32tm /query /configuration
Refer, Already replied in Q & A.
https://docs.microsoft.com/en-us/answers/questions/330132/unable-to-sync-server-to-new-ntp-server.html
@learn2skills after running the commands it's using local cmos clock.
PS C:\Windows\system32> w32tm /query /source
Local CMOS Clock
PS C:\Windows\system32> w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 5 (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)
[TimeProviders]
NtpClient (Local)
DllName: C:\Windows\SYSTEM32\w32time.DLL (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Policy)
ResolvePeerBackoffMaxTimes: 7 (Policy)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 0 (Policy)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 1024 (Policy)
Type: NTP (Policy)
NtpServer: 0.ca.pool.ntp.org,0x1 1.ca.pool.ntp.org,0x1 (Policy)
NtpServer (Local)
DllName: C:\Windows\SYSTEM32\w32time.DLL (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
7 people are following this question.