Oct 23 2018 03:52 AM
I have NTP Server running on Redhat 6 and i don't know how configure the NTP Server to my Windows Server 2008 and 2012 which is an AD.
I tried to set it as NTP and NT5DS mode, but i can't verify if windows server is already syncing to my Redhat 6 NTP Server
Oct 23 2018 07:58 AM - edited Oct 23 2018 12:50 PM
I'd try;
Oct 23 2018 06:33 PM
Hi Dave,
I will try this one and give you feedback.
Thank you :)
Oct 23 2018 06:37 PM
Sounds good, you're welcome.
Oct 23 2018 06:42 PM
Hi Dave,
I tried the commands that provided to me and the result is below.
The server can't still sync on my redhat linux NTP Server.
I also checked the regedit of the server and the IP is already declared.
may i know if the service type is NTP or NT5DS?
C:\Users\administrator>w32tm /unregister
The following error occurred: Access is denied. (0x80070005)
C:\Users\administrator>net stop w32time
The Windows Time service is stopping.The service name is invalid.
More help is available by typing NET HELPMSG 2185.
C:\Users\administrator>w32tm /register
W32Time successfully registered.
C:\Users\administrator>net start w32time
The Windows Time service is starting.
The Windows Time service was started successfully.
C:\Users\administrator>w32tm /config /manualpeerlist:192.168.1.20 /syncfromfl
ags:manual /reliable:yes /update
The command completed successfully.
C:\Users\administrator>net stop w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.
C:\Users\administrator>net start w32time
The Windows Time service is starting.
The Windows Time service was started successfully.
C:\Users\administrator>w32tm /query /source
Local CMOS Clock
C:\Users\administrator>w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 5 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 6 (Local)
MaxPollInterval: 10 (Local)
MaxNegPhaseCorrection: 172800 (Local)
MaxPosPhaseCorrection: 172800 (Local)
MaxAllowedPhaseOffset: 300 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 7 (Local)
UpdateInterval: 100 (Local)
[TimeProviders]
NtpServer (Local)
DllName: C:\Windows\system32\w32time.DLL (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpClient (Local)
DllName: C:\Windows\system32\w32time.DLL (Local)
Enabled: 0 (Policy)
InputProvider: 1 (Local)
C:\Users\administrator>w32tm /stripchart /computer:192.168.1.20 /dataonly /sa
mples:5
Tracking 192.168.1.20 [192.168.1.20:123].
Collecting 5 samples.
The current time is 10/24/2018 9:37:07 AM.
09:37:07, -02.7448152s
09:37:09, -02.7514998s
09:37:11, -02.7514433s
09:37:13, -02.7514798s
09:37:15, -02.7514026s
Oct 23 2018 06:49 PM - edited Oct 23 2018 07:54 PM
@John Vincent Manansala wrote:
C:\Users\administrator>w32tm /unregister
The following error occurred: Access is denied. (0x80070005)
Sounds like things failed. I'd try it all over again but with elevated permissions (run as administrator)
Result should have been; (no registry editing is needed)
C:\Windows\System32>w32tm /unregister
W32Time successfully unregistered. <----------------------------------
C:\Windows\System32>net stop w32time
The Windows Time service is stopping.The service name is invalid.
More help is available by typing NET HELPMSG 2185.
C:\Windows\System32>w32tm /register
W32Time successfully registered.
C:\Windows\System32>net start w32time
The Windows Time service is starting.
The Windows Time service was started successfully.
C:\Windows\System32>w32tm /config /manualpeerlist:192.168.49.64 /syncfromflags:manual /reliable:yes /update
The command completed successfully.
C:\Windows\System32>net stop w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.
C:\Windows\System32>net start w32time
The Windows Time service is starting.
The Windows Time service was started successfully.
C:\Windows\System32>w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 5 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 6 (Local)
MaxPollInterval: 10 (Local)
MaxNegPhaseCorrection: 4294967295 (Local)
MaxPosPhaseCorrection: 4294967295 (Local)
MaxAllowedPhaseOffset: 300 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 100 (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: 1024 (Local)
Type: NTP (Local) <--------------------------------------------
NtpServer: 192.168.49.64 (Local) <--------------------------------------------
VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpServer (Local)
DllName: C:\Windows\SYSTEM32\w32time.DLL (Local)
Enabled: 0 (Local)
InputProvider: 0 (Local)
C:\Windows\System32>w32tm /query /source
192.168.49.64
C:\Windows\System32>
Oct 24 2018 06:42 AM
SolutionI would say that you should adjust this to a GPO in AD and not use the time commands. If you review these links, they should walk you through setting things up properly for using a WMI filter to "walk with" your PDCe role and then setting your time for that system for NTP targeting your Red Hat systems or any other Stratum 1 NTP source (tick or tock, time.windows or something else).
https://blogs.technet.microsoft.com/askpfeplat/2018/10/01/tick-tock-time-to-dive-deep/
For the back end TechNet reference go here: https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service...
Oct 24 2018 06:42 AM
SolutionI would say that you should adjust this to a GPO in AD and not use the time commands. If you review these links, they should walk you through setting things up properly for using a WMI filter to "walk with" your PDCe role and then setting your time for that system for NTP targeting your Red Hat systems or any other Stratum 1 NTP source (tick or tock, time.windows or something else).
https://blogs.technet.microsoft.com/askpfeplat/2018/10/01/tick-tock-time-to-dive-deep/
For the back end TechNet reference go here: https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service...