Befehle, um WireGuard ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id WireGuard.WireGuard -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WireGuard.WireGuard -e --silentwinget uninstall --id WireGuard.WireGuard -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i wireguard-amd64-1.1.1.msi /qn /norestartProtokoll schreiben
msiexec /i wireguard-amd64-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"Deinstallation
msiexec /x {5D46ED04-DEA2-47D0-A957-F82C3EF577FE} /qn /norestart- MSI-Produktcode
- {5D46ED04-DEA2-47D0-A957-F82C3EF577FE}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5D46ED04-DEA2-47D0-A957-F82C3EF577FE}
- UpgradeCode
- {5E5A1DA5-BA36-404D-92EC-41050D1C799C}
ARM64 · MSI · Alle Benutzer
Stille Installation
msiexec /i wireguard-arm64-1.1.1.msi /qn /norestartProtokoll schreiben
msiexec /i wireguard-arm64-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"Deinstallation
msiexec /x {6684FF03-3A7A-4365-8C60-DBF9056BAC73} /qn /norestart- MSI-Produktcode
- {6684FF03-3A7A-4365-8C60-DBF9056BAC73}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6684FF03-3A7A-4365-8C60-DBF9056BAC73}
- UpgradeCode
- {7FF76099-8940-4D3E-99B9-50A3B3CA1EE9}
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i wireguard-x86-1.1.1.msi /qn /norestartProtokoll schreiben
msiexec /i wireguard-x86-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"Deinstallation
msiexec /x {3A5B2353-1FC8-4B22-952B-F60C61EB09EE} /qn /norestart- MSI-Produktcode
- {3A5B2353-1FC8-4B22-952B-F60C61EB09EE}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3A5B2353-1FC8-4B22-952B-F60C61EB09EE}
- UpgradeCode
- {62754A0A-FEE9-4412-B739-E8DA2E7C9405}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-wireguard.ps1
$url = 'https://download.wireguard.com/windows-client/wireguard-amd64-1.1.1.msi'
$sha256 = '7BFED60AD61B785C914B38B61555A975488E1D3EC472DBFB2FCDF498FCA75242'
$file = Join-Path $env:TEMP 'wireguard-amd64-1.1.1.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-wireguard.ps1
$url = 'https://download.wireguard.com/windows-client/wireguard-arm64-1.1.1.msi'
$sha256 = '8336335C738D4AFF040FA9D11B752DA65A80B6F41D3262D6BA5E82F97EBD1BD4'
$file = Join-Path $env:TEMP 'wireguard-arm64-1.1.1.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-wireguard.ps1
$url = 'https://download.wireguard.com/windows-client/wireguard-x86-1.1.1.msi'
$sha256 = 'E3EC714FBFCE3BA3A416671252E16CD71517A837A7EBD18B8C24B29A441E8724'
$file = Join-Path $env:TEMP 'wireguard-x86-1.1.1.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait