How do I change the GnuPG Home Directory?
In order to change the Home Directory of your GnuPG installation on Windows, you require to alter a registry entry. The Home Directory is where GnuPG will look for your keyrings (public and private keys) and your GPG.conf file (a file holding personal settings). – To change the GnuPG home directory, click START > RUN > regedit – In Regedit, browse to HKEY_CURRENT_USER\Software\GNU\GnuPG – If an entry called “HomeDir” exists, right-click on it and select modify then enter your chosen path (eg. C:\gnupg\home\) – If the entry does not exist, select EDIT > NEW > STRING VALUE. Name it “HomeDir”, then modify it to include your chosen file path for your Home Directory. The above is an extremely useful procedure if you plan to store your private keys in an encrypted volume.