PS C:\Windows\system32> w32tm /query /source
VM IC Time Synchronization Provider

PS C:\Windows\system32> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 4 (secondary reference – syncd by (S)NTP)
Precision: -23 (119.209ns per tick)
Root Delay: 0.0000973s
Root Dispersion: 0.0100002s
ReferenceId: 0x564D5450 (source IP: 86.77.84.80)
Last Successful Sync Time: 24/01/2023 5:34:34
Source: VM IC Time Synchronization Provider
Poll Interval: 6 (64s)

Desactivar el host Hyper-V com origen de la sincronització horària

reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider /v Enabled /t reg_dword /d 0

reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /v SpecialPollInterval /t reg_dword /d 900
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config /v MaxNegPhaseCorrection /t reg_dword /d 0xFFFFFFFF
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config /v MaxPosPhaseCorrection /t reg_dword /d 0xFFFFFFFF

PS C:\Windows\system32> w32tm /query /source
DC1.masquelack.com

PS C:\Windows\system32> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 4 (secondary reference – syncd by (S)NTP)
Precision: -23 (119.209ns per tick)
Root Delay: 0.0807888s
Root Dispersion: 7.7995369s
ReferenceId: 0xC0A80169 (source IP: 192.168.1.105)
Last Successful Sync Time: 24/01/2023 5:38:10
Source: DC1.masquelack.com
Poll Interval: 6 (64s)

Canviar el tipus de client

En servidors membres de domini el valor es NT5DS i cal canviar-lo a NTP

(Get-Item -Path “HKLM:\SYSTEM\CurrentControlSet\Services\w32time\Parameters”).GetValue(“Type”)
Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\w32time\Parameters” -Name “Type” -Value “NTP”

w32tm /config /syncfromflags:manual /manualpeerlist:”ntp02.oal.ul.pt ntp04.oal.ul.pt” /update

PS C:\Windows\system32> w32tm /resync
Sending resync command to local computer

PS C:\Windows\system32> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 3 (secondary reference – syncd by (S)NTP)
Precision: -23 (119.209ns per tick)
Root Delay: 0.0493905s
Root Dispersion: 7.8227111s
ReferenceId: 0xC2752F2A (source IP: 194.117.47.42)
Last Successful Sync Time: 24/01/2023 6:04:35
Source: ntp02.oal.ul.pt
Poll Interval: 6 (64s)