Best Client NTP Services Configuration
Best Client NTP Services Configuration
PS ISE
#Show current timezone
Get-TimeZone
#List all available time zones
Get-TimeZone -ListAvailable
#Set time and date
Set-Date -Date "2023-09-04 11:20:00"
#Show and set timezone(Turkey)Get-TimeZone
Set-TimeZone -Id "Turkey Standard Time"
#Setting the date and time manually (Interface)
start ms-settings:dateandtime
#See current system time
Get-Date
#Configure Faster (TimeZone) (UTC+03:00) Istanbul
Set-TimeZone -Id "Turkey Standard Time"
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" -Name "Bias" -Value 180 #180 Minutes & 3 Hours & (UTC+03:00) İstanbul
Restart-Service w32time
#Configure Faster(NTP Server Manual) #Flag 0x1,0x8,0x9,0x10 ..etc
w32tm.exe /config /syncfromflags:manual /manualpeerlist:NTP-srv.guler.com,0x8 /reliable:yes /update
w32tm.exe /config /update
Restart-Service w32time
w32tm /resync /rediscover /nowait
#Configure Faster(NTP to "Default Domain Controller") #All DC's
w32tm /config /syncfromflags:DOMHIER /reliable:YES /update
w32tm /config /update
net time /domain
w32tm /resync
Restart-Service w32time
#Delete and Re-Register Time Service Registration
w32tm /unregister
w32tm /register
#Verify if the time is from the domain or manually
w32tm /query /configuration | Select-String ‘type’
***Type: NT5DS (Local) Default Domain Controller
***Type: NTP (Local) NTP Server "0.tr.pool.ntp.org" ..etc
#Some List of Public Time (Top NTP Servers)
time.google.com
time.cloudflare.com
time.windows.com
server 0.tr.pool.ntp.org
server 1.tr.pool.ntp.org
server 2.tr.pool.ntp.org
server 3.tr.pool.ntp.org
time.facebook.com
time.apple.com
time.nist.gov
#View Client Information about #Windows Time Service:
w32tm /query /status
w32tm /query /source
w32tm /query /peers
Ayrıca incelemek için: (RHEL) Centos 8 NTP Server Configuration
Saygılarımla.
This post is licensed under CC BY 4.0 by the author.