Move home directory to another location

By default, GPG4Win uses the home directory “C:\Users<USER>\AppData\Roaming\gnupg”.

With my old version GpG4Win version 2.1.0 (sic!) I could move the home directory by adjusting the registry key “HKEY_CURRENT_USER\Software\GNU\GnuPG”.

This key no longer exists in the new version 3.1.11.

Is there another trick to move the directory to another location?

Thanks for tips

PS: I post the same question in the German Forum.

I have answered the question in the German forum.

For the record here: That registry key is still in use and this is one of the ways to move the home directory.
It might be noteworthy that Windows has two Registry views. One for 32 Bit Software and one for 64 bit Software. GnuPG is 32Bit Software and so it looks at the 32 Bit Software Windows registry.

We are trying to figure out why this does not work for Ulrich in the German Forum.