Populært: Data opdateret 27. oktober 2026

Kategorier

Internet1.356
Kommunikation321
Lyd og video898
Grafik og design539
Kontor og produktivitet1.124
Udviklerværktøjer3.134
AI-værktøjer529
Sikkerhed og privatliv385
Systemværktøjer3.114
Spil523
Uddannelse og videnskab239
Netværk og IT284

SwitchHosts: lydløs installation og afinstallation

An app for management and switching of the Hosts file.

Kommandoer til at installere SwitchHosts uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.

Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen

Med winget

PowerShell
winget install --id oldj.switchhosts -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id oldj.switchhosts -e --silent
winget uninstall --id oldj.switchhosts -e --silent

Pr. installationsfil

64-bit · EXE (NSIS) · Aktuel bruger · en-US

Lydløs installationSwitchHosts-5.0.3-windows-x64-setup.exe /S
Egen mappeSwitchHosts-5.0.3-windows-x64-setup.exe /S /D=C:\Apps\switchhosts
Afinstallationsnøgle i registreringsdatabasen
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SwitchHosts
Installationsmappe
%LocalAppData%\SwitchHosts
DisplayVersion
5.0.3

ARM64 · EXE (NSIS) · Aktuel bruger · en-US

Lydløs installationSwitchHosts-5.0.3-windows-arm64-setup.exe /S
Egen mappeSwitchHosts-5.0.3-windows-arm64-setup.exe /S /D=C:\Apps\switchhosts
Afinstallationsnøgle i registreringsdatabasen
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SwitchHosts
Installationsmappe
%LocalAppData%\SwitchHosts
DisplayVersion
5.0.3

32-bit · EXE (NSIS) · Aktuel bruger · en-US

Lydløs installationSwitchHosts-5.0.3-windows-x86-setup.exe /S
Egen mappeSwitchHosts-5.0.3-windows-x86-setup.exe /S /D=C:\Apps\switchhosts
Afinstallationsnøgle i registreringsdatabasen
HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\SwitchHosts
Installationsmappe
%LocalAppData%\SwitchHosts
DisplayVersion
5.0.3

PowerShell: download, kontrollér, installér

Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.

install-switchhosts.ps1
$url = 'https://github.com/oldj/SwitchHosts/releases/download/v5.0.3/SwitchHosts-5.0.3-windows-x64-setup.exe'
$sha256 = '0F0AF3E5F4BAE316EEDE8FF1299F15E7CCA8DA81BE33E3AAC7153A278D434ED1'
$file = Join-Path $env:TEMP 'SwitchHosts-5.0.3-windows-x64-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