Popular: Data updated November 12, 2026

Categories

Internet1,409
Communication327
Audio & video931
Graphics & design563
Office & productivity1,167
Developer tools3,263
AI tools600
Security & privacy406
System tools3,174
Games543
Education & science240
Network & IT292

Gpg4win (Beta) silent install & uninstall

A secure solution for file and email encryption.

Commands for installing Gpg4win (Beta) without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.

Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell

With winget

PowerShell
winget install --id GnuPG.Gpg4win.Beta -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id GnuPG.Gpg4win.Beta -e --silent
winget uninstall --id GnuPG.Gpg4win.Beta -e --silent

By installer

64-bit · EXE (NSIS) · All users · en-US

Silent installgpg4win-5.0.0-beta395.exe /S
Custom foldergpg4win-5.0.0-beta395.exe /S /D=C:\Apps\gpg4win-beta
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gpg4win
Install folder
%ProgramFiles%\Gpg4win

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-gpg4win-beta.ps1
$url = 'https://files.gpg4win.org/Beta/gpg4win-5.0.0-beta395/gpg4win-5.0.0-beta395.exe'
$sha256 = 'A0D045F2167B69DA2DFE4BB6E5E3D0FE86E35D24EE68322F3B698ABE044C276A'
$file = Join-Path $env:TEMP 'gpg4win-5.0.0-beta395.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

Most popular in Encryption

See all
  1. CryptomatorEncryption made easy and optimized for the cloud
  2. KeybaseEnd-to-end encryption for things that matter. Keybase is secure messaging and file-sharing.
  3. GNU Privacy GuardGNU Privacy Guard (GnuPG or GPG) is a free-software replacement for Symantec's PGP cryptographic software suite.
  4. KopiaUICross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.
  5. i2pdi2pd (I2P Daemon) is a full-featured C++ implementation of I2P client.
  6. Proton PassOpen-source and encrypted password manager
  7. WireThe most secure collaboration platform.
  8. MinisignA dead-simple tool to sign files and verify digital signatures.
  9. cliCommand-line tools for Anchor.dev
  10. NordLockerNordLocker is a secure and easy-to-use cloud for your files, ideas, and memories. Encrypted at all times, your data is always within reach.

More from The Gpg4win Project

See all
  • Gpg4winA secure solution for file and email encryption.

Tags

Share