NTP: Unterschied zwischen den Versionen

Aus Meine Wiki
Zur Navigation springen Zur Suche springen
Zeile 18: Zeile 18:
 
  w32tm /config /syncfromflags:manual /update /reliable:yes /manualpeerlist:"0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org"
 
  w32tm /config /syncfromflags:manual /update /reliable:yes /manualpeerlist:"0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org"
  
n the command line, type
+
w32tm /config /manualpeerlist:[server],0x8 /syncfromflags:MANUAL
  
 +
If this command has completed successfully your system clock has synchronized to the given NTP server.
 +
w32tm /config /update
 +
 +
 +
command line
 
  w32tm /query /configuration
 
  w32tm /query /configuration
 
  w32tm /query /status
 
  w32tm /query /status
 
  Time /T
 
  Time /T
 +
 +
restart w32time service:
 +
net stop w32time
 +
net start w32time
 +
 +
If the w32time service is restarted it sends immediately a request to the NTP server. Additionally, the command for resync:
 +
w32tm /resync
 +
 +
can be used to check the configuration. The output should look similar to the line below:
 +
net time /querysntp

Version vom 28. März 2019, 19:46 Uhr


Öffentliche NTP Server

  • 192.53.103.104
  • 192.53.103.108

Zeit-Server (NTP-Server) unter Windows 7 nutzen

https://www.pool.ntp.org/zone/de

https://www.windowspro.de/thomas-drilling/ntp-zeitsynchronisation-vmware-vsphere-konfigurieren

https://www.windowspro.de/wolfgang-sommergut/zeiteinstellungen-windows-domaenen-ueber-ntp-konfigurieren

NTP auf dem DC mit Windows Server konfigurieren

w32tm /config /syncfromflags:manual /update /reliable:yes /manualpeerlist:"0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org"
w32tm /config /manualpeerlist:[server],0x8 /syncfromflags:MANUAL 

If this command has completed successfully your system clock has synchronized to the given NTP server.

w32tm /config /update 


command line

w32tm /query /configuration
w32tm /query /status
Time /T

restart w32time service:

net stop w32time 
net start w32time

If the w32time service is restarted it sends immediately a request to the NTP server. Additionally, the command for resync:

w32tm /resync 

can be used to check the configuration. The output should look similar to the line below:

net time /querysntp