Quantcast
Channel: Network Infrastructure Servers forum
Viewing all articles
Browse latest Browse all 5877

Windows 7 can't sync its time with NTP server running on a Windows 10 PC

$
0
0

I have been told to move this question here from the Windows/Win 10 IT Pro/Networking forum.

https://social.technet.microsoft.com/Forums/windows/en-US/56ecc7ed-bcfb-466e-a0aa-962f198e8a4b/windows-7-cant-sync-its-time-with-ntp-server-running-on-a-windows-10-pc?forum=win10itpronetworking

Here is a copy of that thread:

+++++++++++++++++++++++++++++++++++++++++++++++++++++

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?

Monday, October 08, 2018 3:03 PM
Syd Lexic

+++++++++++++++++++++++++++++++++++++++++++++++++++++

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.

Tuesday, October 09, 2018 9:40 AM
cloris_sun (MSFT CSG)

+++++++++++++++++++++++++++++++++++++++++++++++++++++

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.

Tuesday, October 09, 2018 1:32 PM
Syd Lexic

+++++++++++++++++++++++++++++++++++++++++++++++++++++

Is there another forum or way to get help with this? How can I reach the engineers at Microsoft responsible for the time service?

Thursday, October 11, 2018 12:00 PM
Syd Lexic

+++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Tuesday, October 16, 2018 12:00 PM
cloris_sun (MSFT CSG)

+++++++++++++++++++++++++++++++++++++++++++++++++++++




Viewing all articles
Browse latest Browse all 5877

Trending Articles