This article details how to install, configure the home directory, and license PGP Command Line on Windows.
To download PGP Command Line, search for PGP Command Line from the Download Management page of the Broadcom support portal.
Symantec PGP Command Line release 10.4.2 and above.
This section tells you how to install, change the home directory, and uninstall on Windows.
PGP Command Line 10.4.2 and Symantec Encryption Desktop 10.4.2 can be installed on the same system at the same time.
To use PGP Command Line and Symantec Encryption Desktop for Windows on the same 64-bit system, you must use the 64-bit version of PGP Desktop and the 32-bit version of PGP Command Line.
This procedure ensures compatible versions of the PGP SDK are used. The PGP SDK for the 64-bit version of PGP Command Line includes functionality that makes it incompatible with PGP Desktop for Windows.
Starting with release 10.5, only a 64-bit version of PGP Command Line for Windows is available. Therefore PGP Command Line 10.5 and above and Symantec Encryption Desktop cannot be installed on the same system at the same time.
To install PGP Command Line onto a Windows system:
C:\Program Files\PGP Corporation\PGP Command Line\
After PGP Command Line runs for the first time, a home directory will be created automatically in the user’s home directory. The home directory is where PGP Command Line stores its keyring files:
Documents\PGP
Application data such as the PGPprefs.xml file is stored in the directory:
"%appdata%\PGP Corporation\PGP"
If you want the home directory changed on a permanent basis, you need to create the PGP_HOME_DIR environment variable and specify the path of the desired home directory.
PGP_HOME_DIR
environment variable on a Windows system:PGP_HOME_DIR
. In the Variable value field, enter the path of the home directory you want to use. For example: C:\PGP\PGPhomedir
The Environment Variables screen reappears. PGP_HOME_DIR
appears in the list of user variables.
Use --license-authorize
to license PGP Command Line. For example:
pgp --license-authorize --license-number A12BC-D3E4F-GHJKL-MNPQR-STVW5-X6Y --force
In releases prior to 10.4.2 MP8 the following options are also required:
--license-name <Name>
<Name>
is your name or a descriptive name.--license-organization <Org>
<Org>
is the name of your company.The following option is not required but is available:
--license-email <EmailAddress>
<EmailAddress>
is a valid email address, generally the email address of the PGP Command Line administrator.
To upgrade PGP Command Line to a new version, it's always recommended to take a backup of all the keyring files (pubring.pkr and secring.skr).
Then install the new version over the top. If that does not work, uninstall what you have installed, and install the new version.
Check the following article for information on the latest version of PGP Command Line:
156303 - Symantec Encryption Products Current Version Available