File Share Encryption

 View Only
  • 1.  PGP command to XML file with warning

    Posted Mar 23, 2015 11:41 AM

    I am trying to save the PGP status using the command line to save an XML file.  Then I want to read the file into Altiris and store it.  It worked fine in limited testing but now I am getting multiple computers with script errors.  THe issue seems to be with the XML file creation.  The following is added to the top of the XML:

    Warning: PGPwde is running in restricted environment.
             Some features are disabled

     

    Whcih makes it an invalid XML and can't be opened by the script.  Is there a way to get rid of that warning message?

     

    BTW the VBS script is being run as local service account using the following command line:

    pgpwde --enum --xml > c:\windows\temp\pgpenum.xml

    XML looks like this:

    Warning: PGPwde is running in restricted environment.
             Some features are disabled
    <?xml version="1.0"?>
    <pgpwde version="1.0">
      <enum>
        <devices>1</devices>
        <disk id="0">
          <volumes>
            <volume>
              <id>C</id>
              <name></name>
              <partition>1</partition>
              <offset>2048</offset>
              <excluded>false</excluded>
            </volume>
          </volumes>
        </disk>
      </enum>
      <version>10.1.2 (Build 26).26</version>
      <timestamp>Fri Mar 20 10:30:10 2015</timestamp>
    </pgpwde>
     



  • 2.  RE: PGP command to XML file with warning

    Posted Mar 23, 2015 12:08 PM

    The user account running the script most likely does not have permissions for PGPwde.  If it is a managed solution, then the account would need to be one that is registered with the PGP Universal Server on the system issuing the command.

    I would suggest trying to run the script as the logged in domain user, not as a service account.  Any user should have permissions to run the --enum command if they are registered with the server and logged into the system.