Quantcast
Viewing all articles
Browse latest Browse all 11462

PGP command to XML file with warning

Oui, j'ai besoin d'une solution

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>
 


Viewing all articles
Browse latest Browse all 11462

Trending Articles