“Enabled”=dword:00000001“SpecialPollInterval”=”300”NTP would then need a source, so let’s go ahead and create that in the registry as well. To set that up, navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters and then setup the Type key to contain NTP, the Period key to contain freq and the NtpServer key to obtain the IP address of the server followed by ,0x1, as follows (assuming an IP of 10.0.0.8 for the upstream NTP server:
“NtpServer”=10.0.0.8,0×1”“Type”=”NTP”“Period”=”freq”The w32tm service doesn’t start unless your system is on a domain (and should be restarted if the system is already running as a DC). To starts the service automatically (if needed), use the sc command:
sc triggerinfo w32time start/networkon stop/networkoff
“Enabled”=dword:00000001“SpecialPollInterval”=”300”NTP would then need a source, so let’s go ahead and create that in the registry as well. To set that up, navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters and then setup the Type key to contain NTP, the Period key to contain freq and the NtpServer key to obtain the IP address of the server followed by ,0x1, as follows (assuming an IP of 10.0.0.8 for the upstream NTP server:
“NtpServer”=10.0.0.8,0×1”“Type”=”NTP”“Period”=”freq”
w32tm /query /peers