Running PGP Comand Line Decrypt Command and Receiving Error - 1073741819

book

Article ID: 156873

calendar_today

Updated On:

Products

PGP Command Line

Issue/Introduction

When trying to decrypt a file with PGP Command Line, you receive error  -1073741819 and decryption fails.

 

EXIT CODE = -1073741819

Cause

This error is caused by an incorrect syntax of the decrypt command when using the --output switch. By placing the --output switch not at the end of the command, the command will fail.

 

C:\Program Files\PGP Corporation\PGP Command Line\pgp.exe --decrypt --input "D:\Folder\h837.20120613.13996.pgp" --passphrase "Passphrase Removed"  --output "D:\Folder2\h837.20120613.13996" --recipient [email protected]  --verbose
 

 

Resolution

To resolve this issue use the --output switch at the end of the decrypt command.

Correct syntax:

pgp.exe --decrypt --input D:\Folder\h837.20120613.13996.pgp --passphrase "your password" --recipient recipient@email.com --verbose --output D:\Folder2\h837.20120613.13996
 


Applies To

Operating System:  Windows 2003 SP2

Version: PGP Command Line 9.5.2 and above