<div dir="ltr"><div id="gmail-:12j" class="gmail-Am gmail-aiL gmail-aO9 gmail-Al editable gmail-LW-avf gmail-tS-tW gmail-tS-tY" aria-label="Message Body" role="textbox" aria-multiline="true" tabindex="1" style="direction:ltr;min-height:85px" aria-controls=":1d4" aria-expanded="false">Hi,<div>Thank you 

<span style="color:rgb(136,136,136)">     Alexander,</span> for the response and helpful reply. </div><div>Your second suggestion was exactly the cause. We found that the socket files in the GnuPG home dir were stale. S.keboxd in particular had a last modified timestamp frozen on the day the failure began and was never updated after that. We stopped all GnuPG processes and renamed those socket files to .bak, which forced GnuPG to regenerate them on the next run. Encryption started working immediately.</div><div><br></div><div>Thank you </div><div>Best regards</div><div>Nivedta</div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Jul 24, 2026 at 6:35 PM Alexander Kulbartsch <<a href="mailto:alexander.kulbartsch@gnupg.com">alexander.kulbartsch@gnupg.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Niveditha!<br>
<br>
>From what you wrote in your detailed description I assume you<br>
installed Gpg4win 4.4.1. But for automation you use the gpg CLI<br>
tool.<br>
<br>
Since that version a few fixes to the keyboxd were made. So I<br>
recommend that you install a recent version. The current release<br>
is 5.0.2.<br>
(Don't mind the major release number change, the crypto is<br>
fully compatible with the previous versions.)<br>
<br>
If you are still on Windows Server 16, Gpg4win 4.4.1 was the<br>
latest supported version, because of a QT bug for old Windows<br>
versions. But you can use the recent CLI gpg version.<br>
<br>
Another idea:<br>
In case you started gpg with another user than usual one, the<br>
socket files might have wrong rights. Try to delete them here:<br>
%LOCALAPPDATA%\gnupg\S.*<br>
<br>
Hope that helps!<br>
<br>
Best regards<br>
       Alexander <br>
<br>
</blockquote></div>