marzo 19, 2024

Configurar NTP (servidor horario) en Windows (cliente y servidor)

NTP utiliza UDP 123 como capa de transporte y puerto.

 

Para configurar un equipo como CLIENTE NTP

Abrir regedit y establecer los siguientes valores:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpClient\Enabled (value = 1)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpClient\SpecialPollInterval
(value = 900) (cada 900 segundos, es decir 15 min).

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters\Type
(value = NT5DS o value = NTP)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters\NTPServer
(value = nombre DNS o IP del servidor NTP)

regedit-ntp

Para configurar un equipo como SERVIDOR NTP

Abrir regedit y establecer los siguientes valores:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer\Enabled
(value = 1)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters\Type
(value = NTP)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters\NTPServer
(value = nombre DNS o IP del servidor NTP)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config\AnnounceFlags
(value = 5)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpClient\Enabled (value = 0)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\VMICTimeProvider\Enabled
(value = 0)

 

Configurar las opciones de CORRECCION DE TIEMPO

Abrir regedit y establecer los siguientes valores:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxPosPhaseCorrection
Un valor razonable, como 1 hora (3600).

 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxNegPhaseCorrection
Un valor razonable, como 1 hora (3600).

 

REINICIAR EL SERVICIO DE HORA DE WINDOWS

net stop w32time

net start w32time

2 comentarios en «Configurar NTP (servidor horario) en Windows (cliente y servidor)»

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *