熱門: 資料更新於2026年10月27日

軟體分類

網路軟體1,356
通訊社群321
影音軟體898
繪圖與影像539
辦公軟體1,124
開發工具3,134
AI工具529
安全與隱私385
系統工具3,114
遊戲523
教育與科學239
網路與IT284

WireGuard靜默安裝與解除安裝參數

Fast, Modern, Secure VPN Tunnel

WireGuard LLC VPN與代理伺服器 #13 VPN與代理伺服器

免互動安裝WireGuard、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

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

依安裝檔

64位元 · MSI · 所有使用者

靜默安裝msiexec /i wireguard-amd64-1.1.1.msi /qn /norestart
寫入記錄檔msiexec /i wireguard-amd64-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"
解除安裝msiexec /x {5D46ED04-DEA2-47D0-A957-F82C3EF577FE} /qn /norestart
MSI產品代碼
{5D46ED04-DEA2-47D0-A957-F82C3EF577FE}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5D46ED04-DEA2-47D0-A957-F82C3EF577FE}
UpgradeCode
{5E5A1DA5-BA36-404D-92EC-41050D1C799C}

ARM64 · MSI · 所有使用者

靜默安裝msiexec /i wireguard-arm64-1.1.1.msi /qn /norestart
寫入記錄檔msiexec /i wireguard-arm64-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"
解除安裝msiexec /x {6684FF03-3A7A-4365-8C60-DBF9056BAC73} /qn /norestart
MSI產品代碼
{6684FF03-3A7A-4365-8C60-DBF9056BAC73}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6684FF03-3A7A-4365-8C60-DBF9056BAC73}
UpgradeCode
{7FF76099-8940-4D3E-99B9-50A3B3CA1EE9}

32位元 · MSI · 所有使用者

靜默安裝msiexec /i wireguard-x86-1.1.1.msi /qn /norestart
寫入記錄檔msiexec /i wireguard-x86-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"
解除安裝msiexec /x {3A5B2353-1FC8-4B22-952B-F60C61EB09EE} /qn /norestart
MSI產品代碼
{3A5B2353-1FC8-4B22-952B-F60C61EB09EE}
解除安裝登錄機碼
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3A5B2353-1FC8-4B22-952B-F60C61EB09EE}
UpgradeCode
{62754A0A-FEE9-4412-B739-E8DA2E7C9405}

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

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

VPN與代理伺服器熱門排行

查看全部
  1. OpenVPNVPN與代理伺服器 · OpenVPN, Inc.
  2. nginxVPN與代理伺服器 · nginx
  3. Proton VPNVPN與代理伺服器 · Proton AG
  4. TailscaleVPN與代理伺服器 · Tailscale Inc.
  5. NetbirdVPN與代理伺服器 · NetBird GmbH
  6. v2rayNVPN與代理伺服器 · 2dust
  7. v2ray-coreVPN與代理伺服器 · v2fly
  8. Zed Attack ProxyVPN與代理伺服器 · ZAP
  9. WindscribeVPN與代理伺服器 · Windscribe Limited
  10. sing-boxVPN與代理伺服器 · SagerNet

標籤

分享