Windows clients not using NTP server provided via DHCP
The registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Parameters\Options\4
indicates that Windows doesn't actually make use of the required option that would set the NTP server (DHCP option 42). The Microsoft Support article DHCP Options Supported by Clients indicates that adding additional keys here will not have any effect.
Thus, it seems to me that it is simply not natively supported to set NTP servers via DHCP on Windows Vista/7.
Related videos on Youtube
Oliver Salzburg
Updated on September 17, 2022Comments
-
Oliver Salzburg over 1 year
I have a network consisting mostly of Windows Vista and 7 clients and an Ubuntu server. The server provides both the DHCP and NTP services through
dhcp3-server
andopenntpd
.In my
dhcpd.conf
, the subnet is declared as follows:subnet 10.10.10.0 netmask 255.255.255.0 { range 10.10.10.10 10.10.10.200; option broadcast-address 10.10.10.255; option routers 10.10.10.1; option ntp-servers 10.10.10.1; }
The clients don't seem to be using the NTP server though. When I capture the network traffic with Wireshark during the DHCP process, I also see no mention of the NTP option in the DHCP offer message.
I am not quite sure if the clients would have to specifically request that option to receive it or if I have to make another configuration to offer the option.
-
Apache almost 14 yearsI'm not sure if Windows will ask NTP servers down from dhcp. They only ask DNS, IP, gateway, netmask as far as I know. | After a fast google search I only found apps which would set them to the given ntp server.
-
Oliver Salzburg almost 14 yearsThat's what I feared. Would be nice if there was a native way to configure this.
-