Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

1009:unable to open preferences file

Created: 15 Apr 2014 | 1 comment

I get this error when 2 commands are running at the exact same time.  Here is the command.  Does anyone have any suggestions on how to stop this error.

Running Commandline 10.3 on windows 8 64 bit server

Here is a piece of the job log.

pgp --encrypt --sign d:\fil\MSGACK_T.20140415153400 --recipient "0x99999999" --signer "0x11111111"
--passphrase "xxxxx xxxxxxxxx xx" --output d:\work\JOB3561037.001 --overwrite remove -v

C:\Documents and Settings\All Users\Application Data\PGP Corporation\PGP\PGPprefs.xml:encrypt (1009:unable to open preferences file)

Operating Systems:

Comments 1 CommentJump to latest comment

_Adam_'s picture

Hi Dave,

I have run a test of your command with the same version of SED 10.3 build 200 and on Windows 7 x32.

C:\Program Files\PGP Corporation\PGP Command Line>pgp --version
PGP Command Line 10.3 build 200
Copyright (C) 2013 Symantec Corporation. All rights reserved.
All rights reserved.
Use of this product is subject to license terms.

C:\Program Files\PGP Corporation\PGP Command Line>pgp --encrypt --sign  C:\Users
\user3\Documents\PGP\pgp123.txt --recipient "0xD5483454" --signer "0xFF392B60" -
-passphrase "XXXXXX" --output C:\Users\user3\Documents\PGP\pgp123.txt.pgp --o
verwrite remove -v

pgp:encrypt (3157:current local time 2014-07-16T12:33:29+02:00)
C:\Users\user3\Documents\PGP\pubring.pkr:open keyrings (1006:public keyring)
C:\Users\user3\Documents\PGP\secring.skr:open keyrings (1007:private keyring)
0xD5483454:encrypt (1030:key added to recipient list)
0xFF392B60:encrypt (1030:key added to recipient list)
0xFF392B60:encrypt (1050:key added as signer)
C:\Users\user3\Documents\PGP\pgp123.txt:encrypt (3048:data encrypted with cipher
Encoding C:\Users\user3\Documents\PGP\pgp123.txt... 100% (⸥昱猥)
C:\Users\user3\Documents\PGP\pgp123.txt.pgp:encrypt (0:file removed successfully)
C:\Users\user3\Documents\PGP\pgp123.txt:encrypt (0:output file C:\Users\user3\Do

C:\Program Files\PGP Corporation\PGP Command Line>

The only error which I had running this command was a permission issue becuase the working directory folder "C:\Program Files\PGP Corporation\PGP Command Line" did not have enough permission to run in-progress encryption operation so I gave full.

I would still check if you have got a full permissions anyway to working directory where you run the command as the errors sometimes are misleading and also a full permission to

C:\Documents and Settings\All Users\Application Data\PGP Corporation\PGP\PGPprefs.xml because as I understand you run this comand as a batch/job file.

if/when you consider your issue is resolved, please click "Mark As Solution" on a response