I've been using WinSCP for several years now. I bought a new laptop and set it up on that device and noticed everytime I logged on WinSCP was not present in the taskbar. I did some investigation and have concluded that everytime I put the computer to sleep (close the lid) and resume back, WinSCP is closed. All my other applications remain open just fine so why is this closing?
I figured it out (I think). There is a new setting in Windows 11 in Accounts > Sign in options > Automatically save my restartable apps and restart them when I sign back in. I enabled this option and now it doesn't close. Or rather windows is closing it and opening it back. If someone knows how to completely disable this behavior, post it below.