PGP WDE Command-line Tool Guide


Article ID: 157839


Updated On:


Symantec Products


The following article details a few of the most commonly used command-line options included with the PGP Command-line Tool. The PGPWDE command-line tool allows you access to PGP Whole Disk Encryption functionality using a command-line interface.

Note: The command line options can vary depending on the PGP Desktop version you are using. If you want to determine which command line options are available in your PGP Desktop version, then go to the command line and run the following command pgpwde --help. At the bottom of this article you can find a description about how to access the command line.


Note: To download the documentation, click the Attachments link in the box above.


Accessing PGP Whole Disk Encryption functions from the command line is useful for troubleshooting problems, or if the graphical user interface is not available. This article describes a few of the common PGPWDE commands and their syntax. A detailed list of PGPWDE options available in the downloadable attached document.

PGPWDE Command-line Options

The following commands are performed at the command prompt in the following directory:

Windows XP: C:\Program Files\PGP Corporation\PGP Desktop

Windows Vista/Windows 7: C:\Program Files\PGP Corporation\PGP Desktop

Windows Vista/Windows 7 (64-bit): C:\Program Files (x86)\PGP Corporation\PGP Desktop

Enumerate system disks
pgpwde --enum

Check the Status of a Disk
pgpwde --disk-status --disk 0

List users
pgpwde --list-user --disk 0

Instrument a Disk - Adds the PGP BootGuard for encryption.
pgpwde --instrument --disk 0

Encrypt a Disk (Manually)
pgpwde --instrument --disk 0
pgpwde --add-user <username> --passphrase <passphrase> --disk 0
pgpwde --encrypt --passphrase <passphrase> --disk 0

Decrypt a Disk
pgpwde --decrypt --passphrase <passphrase> --disk 0

Uninstrument a Disk - Removes the PGP bootguard (Perform this option only on a disk that is not encrypted).
pgpwde --uninstrument --disk 0

Stop\Pause the Encryption\Decryption Process
pgpwde --stop --passphrase <passphrase> --disk 0

Recover a disk - Allows a user to recover a disk when a MBR with BootGuard instrumentation is unaccesible.
pgpwde --recover --passphrase "password" --disk 0

Note: This article uses disk 0 as an example. This correlates to the number of the boot disk on the system. However, if additonal hard disks or USB disks are used, the number of the disk may be 1 or 2. To determine the number of the disk on the system, use pgpwde --enum at the command prompt of the PGP Desktop directory.





pgpwde_tools_ref_guide.pdf get_app