[ qBittorrent portable - annihilates qBittorrent.ini -- by trying to be "fancy" ]
For a start, the actual binary (C:\bin\qBittorrentPortable\App\qBittorrent) keeps writing into
C:\Users\%USERNAME%\AppData\Roaming\qBittorrent\qBittorrent.ini
== qBittorrentPortable.exe is not managing environment (changing at least APPDATA, LOCALAPPDATA)
Only when exiting is qBittorrentPortable.exe trying to do something and what it does? Moves the actual qBittorrent.ini, to C:\bin\qBittorrentPortable\Data\settings\AppData_qBittorrent
No close the process (from UI, no fault play involved), run C:\bin\qBittorrentPortable\qBittorrentPortable.exe again.