Gpg4win does not seem to be able to broadcast its public key when executing if the path of the executable is on a share drive. If this is a mapped drive, it works ok. But, once I try the same on a domain controller environment where the share drive is not a Windows drive, this does not work. This wouldn't surprise me as Gpg4win cannot import a key from a share drive as it does not recognize it. So, only local drives and map drives are visible when importing a key from the Gpg4win interface. As it doesn't recognize share drives, I think this is related.
I am using version 2.1.1. Maybe there is a newer version that resolves this issue.
Right now, I am trying to find a workaround to make this work as is.
This only happens when it is run as a Windows Service. If I run it as a Console, it works.