According to the user guide:
In portable mode, these files are saved to the folder from which you run the file VeraCrypt.exe (i.e., the folder in which VeraCrypt.exe resides):
"Configuration.xml" (the main configuration file).
...
However, when I launch VC from my flash drive where it sits unpacked as a portable installation, it always reads in preferences, mount options & volume history saving option from my local installation.
If I change some option in the VC portable instance GUI, I can see the %APPDATA%\VeraCrypt\Configuration.xml gets immediately modified, subsequently my locally installed VC instance settings are altered in the GUI and vice versa (local -> portable).
I tried to manually copy Configuration.xml to the VC portable installation folder on my flash drive but unfortunately, the portable instance doesn't pick it up and still fiddles w/ the host system configuration file instead.
I'd like to have separate settings for both the local VC installation and the portable one, e.g. knock it down w/ security precautions a bit on my local VC installation to the benefit of convenience but ramp it up w/ security on my portable installation since it might be running on some public computers or generally the ones which are not mine nor are under my control. Things like the volume history saving or auto-dismounting after an idle period or after entering power saving mode.
VeraCrypt version: 1.25.9 (64-bit)
Windows version:
PS C:\Program Files\VeraCrypt> systeminfo | select-string -pattern "os name", ^"os version"
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045
I am solving exactly the same problem, I don't understand that such a basic error is still not fixed..
It's as if the portable version doesn't exist, it's even a potential risk to load a foreign configuration that can be set to read only..