No triggerd start!
via cmd
sc triggerinfo w32time delete
via powershell
Edit registry...
http://mikefrobbins.com/2015/12/24/use-powershell-to-determine-services-with-a-starttype-of-automatic-or-manual-with-trigger-start/
delete scheduled-jobs
Unregister-ScheduledTask -TaskName SynchronizeTime
This command erase scheduled-task simply.
Disable-ScheduledTask
is better ?
query (other ntp server)
w32tm /stripchart /computer:pool.ntp.org /period:1 /dataonly /samples:3
Tracking ntp.nict.jp [133.243.238.244:123].
The current time is 1/27/2016 10:15:19 PM.
22:15:19, -70.5490635s
22:15:20, -70.5530585s
22:15:21, -70.6554563s
22:15:23, -70.5545221s
ntp setop
w32tm /config /manualpeerlist:"0.amazon.pool.ntp.org,0x9 1.amazon.pool.ntp.org,0x9 2.amazon.pool.ntp.org,0x9 3.amazon.pool.ntp.org,0x9" /syncfromflags:manual /update
regedit
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient
$item = Get-ItemProperty "HKLM:\System\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient"
C:\Users\cloudpack$item = Get-ItemProperty "HKLM:\System\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient"
$item = gp "HKLM:\System\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient"
Set-ItemProperty "HKLM:\System\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient" -name "SpecialPollInterval" -value "3600"
script
w32tm /config /manualpeerlist:"0.amazon.pool.ntp.org,0x9 1.amazon.pool.ntp.org,0x9 2.amazon.pool.ntp.org,0x9 3.amazon.pool.ntp.org,0x9" /syncfromflags:manual /update
w32tm /resync
w32tm /resync
Set-ItemProperty "HKLM:\System\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient" -name "SpecialPollInterval" -value "3600"
$tm = Get-Service -Name W32Time
$tm.Stop()
$tm.Start()