Or if Your PH settings save in to %USERPROFILE% add or edit if exists in to "%APPDATA%\Process Hacker 2\settings.xml", else (if Your PH settings save in to ProcessHacker.exe.settings.xml in to ProcessHacker.exe dir this string settings.xml::98
I am having the same issue. I've been using process hacker for many years and have never had this problem. I just built a brand new computer, installed windows 7, and installed process hacker. Made system task to run PH on log in. I have "start hidden" enabled in the options, as I always have before, yet every single time I log in it pops up.
Using 2.39.124 I'm experiencing the same issue. My settings are the same as in the screenshot above and there are not two startup entries. Using MSConfig I can only find one instance and that's in 'Startup.' I'd really not have to see PH until I need it. But at this point I see it every time I boot up or restart. I've only been using PH since early October but this issue has always existed for me.
EDIT: I should add that I edited settings.xml as indicated above to <setting name="StartHidden">1</setting> but that made no difference. Whenever the computer is restarted, PH does not start hidden.