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?