Endpoint Encryption

 View Only
  • 1.  remotely Execute PGP Commandline through psexec

    Posted Apr 12, 2015 10:33 AM

    Dear Gurus,

     

    i get an error when try to execute the below

    psexec \\PGPSERVERIP "\\ServerIP\c$\Program Files\PGP Corporation\PGP Command Line\pgp.exe" -es \\FileServerIP\XYZ.txt -r "ReceipientKey"  --signer "SignerName" --passphrase "password" --output "\\FileServerIP\XYZ.txt.pgp"

     

    (3090:Operation Failed, File not found)

     

    Exitedd on PGPSERVERIP with error code 162.

     

    please let me know how to resolve this



  • 2.  RE: remotely Execute PGP Commandline through psexec

    Broadcom Employee
    Posted Apr 14, 2015 10:09 AM

    Hi,

    Try to modify your psexec command line for example like below and it will be working...

    C:\Users\user1\Desktop\PSTools>psexec \\192.168.0.3 "\\192.168.0.3\c$\Program Fi
    les (x86)\PGP Corporation\PGP Command Line\pgp" -es "\\192.168.0.3\c$\users\user
    1\desktop\xyz.txt" -r 0x9FC2E679 --signer User1 --passphrase user1@pass --output
     "\\192.168.0.3\c$\users\user1\desktop\xyz.txt.pgp" -v

    PsExec v2.11 - Execute processes remotely
    Copyright (C) 2001-2014 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Starting \\192.168.0.3\c$\Program Files (x86)\PGP Corporation\PGP Command Line\p

    pgp:encrypt (3157:current local time 2015-04-14T16:09:00+02:00)
    C:\Users\user1\Documents\PGP\pubring.pkr:open keyrings (1006:public keyring)
    C:\Users\user1\Documents\PGP\secring.skr:open keyrings (1007:private keyring)
    0x9FC2E679:encrypt (1030:key added to recipient list)
    0x9FC2E679:encrypt (1050:key added as signer)
    \\192.168.0.3\c$\users\user1\desktop\xyz.txt:encrypt (3048:data encrypted with c
    ipher AES-128)
    pgp-1648-0.tmp:encrypt (0:file wiped successfully)
    \\192.168.0.3\c$\users\user1\desktop\xyz.txt:encrypt (0:output file \\192.168.0.
    3\c$\users\user1\desktop\xyz.txt.pgp)
    \\192.168.0.3\c$\Program Files (x86)\PGP Corporation\PGP Command Line\pgp exited
     on 192.168.0.3 with error code 0.

    C:\Users\user1\Desktop\PSTools>

    HTH