OpenVPN을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
winget 사용
PowerShell
winget install --id OpenVPNTechnologies.OpenVPN -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenVPNTechnologies.OpenVPN -e --silentwinget uninstall --id OpenVPNTechnologies.OpenVPN -e --silent설치 파일별
64비트 · MSI · 모든 사용자
무인 설치
msiexec /i OpenVPN-2.7.7-I001-amd64.msi /qn /norestart로그 파일 저장
msiexec /i OpenVPN-2.7.7-I001-amd64.msi /qn /norestart /l*v "%TEMP%\openvpn-install.log"제거
msiexec /x {94991384-92E2-41D4-B467-B45C47C31CD3} /qn /norestart- MSI 제품 코드
- {94991384-92E2-41D4-B467-B45C47C31CD3}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{94991384-92E2-41D4-B467-B45C47C31CD3}
- UpgradeCode
- {461BDF86-D389-4471-BF36-99806B64C127}
- 설치 폴더
- %ProgramFiles%\OpenVPN
ARM64 · MSI · 모든 사용자
무인 설치
msiexec /i OpenVPN-2.7.7-I001-arm64.msi /qn /norestart로그 파일 저장
msiexec /i OpenVPN-2.7.7-I001-arm64.msi /qn /norestart /l*v "%TEMP%\openvpn-install.log"제거
msiexec /x {94991384-92E2-41D4-B467-B45C47C31CD3} /qn /norestart- MSI 제품 코드
- {94991384-92E2-41D4-B467-B45C47C31CD3}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{94991384-92E2-41D4-B467-B45C47C31CD3}
- UpgradeCode
- {1E8C4DDC-9E93-4AE2-9495-DF86821EAA3A}
- 설치 폴더
- %ProgramFiles%\OpenVPN
32비트 · MSI · 모든 사용자
무인 설치
msiexec /i OpenVPN-2.7.7-I001-x86.msi /qn /norestart로그 파일 저장
msiexec /i OpenVPN-2.7.7-I001-x86.msi /qn /norestart /l*v "%TEMP%\openvpn-install.log"제거
msiexec /x {94991384-92E2-41D4-B467-B45C47C31CD3} /qn /norestart- MSI 제품 코드
- {94991384-92E2-41D4-B467-B45C47C31CD3}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{94991384-92E2-41D4-B467-B45C47C31CD3}
- UpgradeCode
- {1195A47B-A37A-4055-9D34-B7A691F7E97B}
- 설치 폴더
- %ProgramFiles(x86)%\OpenVPN
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
install-openvpn.ps1
$url = 'https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.7-I001-amd64.msi'
$sha256 = '9069A48397C4FD4135FB9C9BAEA4863C74A465651F67E55A423A433E503100BB'
$file = Join-Path $env:TEMP 'OpenVPN-2.7.7-I001-amd64.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-openvpn.ps1
$url = 'https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.7-I001-arm64.msi'
$sha256 = 'CEFDE0E99E226357109003A3577D1217ED938795B42F4F8BE69E9BE06C23293D'
$file = Join-Path $env:TEMP 'OpenVPN-2.7.7-I001-arm64.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-openvpn.ps1
$url = 'https://swupdate.openvpn.org/community/releases/OpenVPN-2.7.7-I001-x86.msi'
$sha256 = 'CCB8564AF0817B2A6BE5439A4976B339161B9CEB920AAEBA4E7E67F1F691C2E6'
$file = Join-Path $env:TEMP 'OpenVPN-2.7.7-I001-x86.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