WireGuard을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
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 --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 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