0% found this document useful (0 votes)
231 views2 pages

NTP

This document provides instructions and commands for configuring and troubleshooting Windows time synchronization on Windows servers and workstations. It includes commands to stop and start the Windows Time service, configure NTP server sources manually, check time service status, and monitor time synchronization across domains. The last section discusses issues with time sync on a server not joined to a domain and how the time service is automatically configured on domain controllers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
231 views2 pages

NTP

This document provides instructions and commands for configuring and troubleshooting Windows time synchronization on Windows servers and workstations. It includes commands to stop and start the Windows Time service, configure NTP server sources manually, check time service status, and monitor time synchronization across domains. The last section discusses issues with time sync on a server not joined to a domain and how the time service is automatically configured on domain controllers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

net time

w32tm /resync
net time /domain
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync /rediscover
net time /querysntp
Date
Time
=================================================
============
net stop w32time
w32tm /config /syncfromflags:manual /manualpeerlist:"0.it.pool.ntp.org
1.it.pool.ntp.org 2.it.pool.ntp.org 3.it.pool.ntp.org"
net start w32time
w32tm /config /update
w32tm /resync /rediscover

=================================================
===================
nltest /dsgetdc:trans.local /timeserv
invoke-command {get-itemproperty
HKLM:System\CurrentControlSet\services\W32Time\Parameters | select ntpserver,Type}
-comp wtc-024
w32tm /monitor /domain:trans.local
w32tm /resync
Sending resync command to local computer
The computer did not resync because no time data was available.
I reckon the issue is with the Configure Windows NTP Client settings
and heres what I have set:

NtpServer = time.windows.com,0x09
Type = NT5DS *used on computers joined to a domain so this seems
correct; tried NTP with same result
Rest of settings I have kept the defaults:
2
15
7
3600
0
Would greatly appreciate if you had any suggestions.
Thanks!
As you can see, on this server that is not a ADDC, the Windows Time
service is set to manual and is not started.

Figure 4: Windows Time not started on default server


However, on the Windows Server in Figure 5, the Windows Time server IS
started and set to Automatic because this is an Active Directory Domain
Controller.

Figure 5: Windows Time running on Domain Controller

You might also like