We're looking for a way to script a query of the encryption status of a drive that (may) have been encrypted using PGP Desktop to see if users are actually going through the encryption process.
Doesn't look like this info is stored in the registry or any WMI interfaces.
Where we're at right now is running "PGPwde.exe --status --xml >> C:\Logs\pgpDesktop.xml" to output the status. This works great when run as the user that encrypted the drive: when running as another account or the LocalSystem account, we're getting the error "Error code -12450: administrative prefrences file not found".
Is there a better way to script this, or if not, a way to generate those prefences programatically?