Populärt: Data uppdaterade 27 oktober 2026

Kategorier

Internet1 356
Kommunikation321
Ljud och video898
Grafik och design539
Kontor och produktivitet1 124
Utvecklarverktyg3 134
AI-verktyg529
Säkerhet och integritet385
Systemverktyg3 114
Spel523
Utbildning och vetenskap239
Nätverk och IT284

Network Time Protocol: tyst installation och avinstallation

Provides a GUI setup program for Windows which installs the NTP service and associated executable programs that have been compiled from the original public NTP source code available at the NTP download page at ntp.org

Kommandon för att installera Network Time Protocol utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.

Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell

Med winget

PowerShell
winget install --id MeinbergGlobal.NTP -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id MeinbergGlobal.NTP -e --silent
winget uninstall --id MeinbergGlobal.NTP -e --silent

Per installationsfil

32-bitars · EXE (NSIS) · en-US

Tyst installationntp-4.2.8p18a2-win32-setup.exe /S
Egen mappntp-4.2.8p18a2-win32-setup.exe /S /D=C:\Apps\network-time-protocol
Avinstallationsnyckel i registret
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\NTP

PowerShell: ladda ner, kontrollera, installera

Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.

install-network-time-protocol.ps1
$url = 'https://www.meinbergglobal.com/download/ntp/windows/ntp-4.2.8p18a2-win32-setup.exe'
$sha256 = 'F933BC66ED987EB436F8345F6331DE4FFAD24E6CE5E5A6F5CE98109B7B29F164'
$file = Join-Path $env:TEMP 'ntp-4.2.8p18a2-win32-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait