A lot of good answers occur when you ask the right questions.
I am attempting to write a script to run from my Streamdeck or TouchPortal app, which will facilitate a “one button” startup of all software used for MSFS. Similarly, I am attempting the associated “shutdown” script.
I have essentially accomplished that goal but for one difficulty → I can’t seem to end a process/task without getting that annoying admin yes/no popup. I’ve been researching this for days and have found no way around clicking that “Yes” button by hand. Elevating to admin doesn’t work and I’d rather not need to install yet another library for a single function call.
I only want to taskkill tasks/processes/apps that I started to begin with. Windows disallowing this doesn’t make sense to me. A task/process/app that I can run could be just as harmful as a task/process/app I could kill.
Perhaps I’m simply doing it wrong. ![]()
It is difficult to believe that you guys with the fabulous sim cockpits didn’t run into something like this. What am I doing wrong?
As usual, thanks ahead of time for any and all feedback.



