PGP Decrypt File


Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The PGP Decrypt File activity decrypts a file or entire folder tree using a PGP key file and passphrase that you have created. When decrypting an entire folder, the folder tree is preserved from the root folder down. For example, if you decrypt C:\Documents and Settings\Administrator\My Documents\*.* and all subfolders, all files in My Documents are decrypted as well as all the files in the folders under My Documents. All files in subfolders will be in the same subfolder in the Output folder.

You can use the PGP Decrypt File activity to decrypt files that were encrypted as part of a backup operation. To use this activity you must install the Gpg executable. To install the Gpg executable, see Install GnuPG (

Use the following information to configure the PGP Decrypt File activity.

Details Tab

SettingsConfiguration Instructions
PathType the path of the files that you want to decrypt. You can use wildcards ? and * to specify the files that you are decrypting. This field will only accept characters from the current system locale. If you use other characters, the activity will fail.
Include sub-directoriesSelect this option to find all files that match the file name that you specified in all sub-directories under the folder that you specified in the path.
Output folderType the path of the folder where you want the decrypted files to be stored.
SkipSelect this option to skip decrypting a file when a file with the same name is found in the Output folder.
OverwriteSelect this option to overwrite any files with the same name as a resulting decrypted file.
Create unique nameSelect this option to give the decrypted file a unique name if a file with the same name already exists.

Advanced Tab

SettingsConfiguration Instructions
Keyring folderType the location of the keyring folder that contains the secret keyring file that you will use to decrypt the files. The secret keyring file (*.skr) may be renamed with a *.gpg extension.
PassphraseType the passphrase that is associated with the keyring file.

Published Data

The following table lists the published data items.

Keyring folderThe path of Keyring folder that contains the key used to decrypt the files.
Output folderThe path of the folder where the decrypted files were saved.
Files to decryptThe number of files that Orchestrator attempted to decrypt.
Files decryptedThe number of files that were successfully decrypted.
Decrypted filenameThe path and filename of the resulting decrypted file.