Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, October 8, 2018 3:03 PM
I am running an NTP server on a Windows 10 PC using the instructions at https://www.interfacett.com/blogs/creating-standalone-ntp-server-windows/. The w32tm query output on the server looks correct and shows the server is configured (see below), and the W32time service is running.
C:\WINDOWS\system32>w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 54000 (Local)
MaxPosPhaseCorrection: 54000 (Local)
MaxAllowedPhaseOffset: 1 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 360000 (Local)
[TimeProviders]
NtpClient (Local)
DllName: C:\WINDOWS\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 32768 (Local)
Type: NTP (Local)
NtpServer: pool.ntp.org,0x9 (Local)
NtpServer (Local)
DllName: C:\WINDOWS\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
But I cannot set the time on other PCs using that as the Internet time server, not by name nor ip address. The client can ping the server by name or ip address fine. There are no firewalls involved; the clients and server are connected to the same router. When trying to synchronize, they get "An error occurred while Windows was synchronizing with xxxxx. This operation returned because the timeout period expired." Tried restarting server and service.
Has anyone tried this and gotten it to work?
All replies (4)
Tuesday, October 9, 2018 9:40 AM
Hi,
According the current situation, I suggest that you open Command Prompt on Windows 7 and type the following commands:
1. Manually configure synchronization: w32tm /config /manualpeerlist: NTP server’s IP
2. Synchronize now: w32tm /resync /computer: NTP server’s IP address**
3. Check if it is synchronized with NTP server:w32tm /query /source**
Hope these are helpful.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, October 9, 2018 1:32 PM
Thanks for your reply. I tried the commands on the Windows 7 client and am getting errors. I do get more information, though. It looks like an access denied error. What credentials do the w32tm commands need?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\OWNER>w32tm /config /manualpeerlist:Foundation
The command completed successfully.
C:\Users\OWNER>w32tm /resync /computer:Foundation
The following error occurred: Access is denied. (0x80070005)
C:\Users\OWNER>w32tm /resync /computer:192.168.0.46
The following error occurred: Access is denied. (0x80070005)
C:\Users\OWNER>ping Foundation
Pinging Foundation [192.168.0.46] with 32 bytes of data:
Reply from 192.168.0.46: bytes=32 time=1ms TTL=128
Reply from 192.168.0.46: bytes=32 time=1ms TTL=128
Reply from 192.168.0.46: bytes=32 time=1ms TTL=128
Reply from 192.168.0.46: bytes=32 time=4ms TTL=128
C:\Users\OWNER>w32tm /query /computer:Foundation /configuration
The following error occurred: Access is denied. (0x80070005)
C:\Users\OWNER>w32tm /query /source
Free-running System Clock
I can map a drive to Foundation using a username/pwd from Foundation and access files. Foundation is not a Windows server. I tried opening a command prompt on the client using RunAs but that returns Logon Failure.
Thursday, October 11, 2018 12:00 PM
Is there another forum or way to get help with this? How can I reach the engineers at Microsoft responsible for the time service?
Tuesday, October 16, 2018 8:17 AM
Hi,
You can turn to Server forum for more support. Here is the official link:
https://social.technet.microsoft.com/Forums/windowsserver/en-us/home?category=windowsserver
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].