Page MenuHome GnuPG

error: Folder is open in GnuPG's OpenPGP tool
Open, LowPublic

Description

Hi,

I'm using gpg4win v2.2.1 in my system running Windows Server 2008 R2 Enterprise edition.
I'm encrypting multiple zip files using gpg2.exe in a loop using a batch program.

I'm facing an intermittent issue wherein after the encryption is completed the gpg2.exe process still runs locking the entire folder where the zip files are placed.
The encryption process produced the .PGP files without any issues. But when I tried to manually move the zip files I received the below error.

"The action can't be completed because the folder is open in GnuPG's OpenPGP tool"

Then I killed the gpg2.exe process using task manager and then moved the files manually.

Could you please help to resolve this intermittent issue where this gpg2.exe process is locking the folder?

Details

Version
2.2.1

Event Timeline

aheinecke claimed this task.
aheinecke added a subscriber: aheinecke.

Please update to Gpg4win-3.1.1 this issue should be resolved. There was a similar issue with Gpg4win 3 T2670 but it has been resolved.

Hi,

I updated the software to its latest version "gpg4win v3.1.1" and i'm still facing this issue.

gpg.exe is locking the zip file even after encryption is completed and preventing other processes to access the file.
I killed the gpg.exe process using task manager and then moved the file manually.

Could you please help to resolve this intermittent issue?

Thanks,
Dhinu

aheinecke triaged this task as Low priority.

I misunderstood your original report.

The problem seems to be that gpg.exe is still running, then it will of course lock the directory in which it is running.

Could you please add the script that you are using? I think there must be a problem with that which causes gpg.exe not to terminate.