You are welcome.
It is not a trouble for me, rather potential threat/trouble for you. Creating a script that will do the job without UAC prompt would require storing your password openly
in a text file. That is a major disadvantage.
Because a virus or a trojan could potentially find it and cause more harm. Also, it will require installation of some 3rd party software.
By the way, if you ever want to modify existing script
, you can edit it in Notepad.
To make it kill more programs, add another line at the end
TASKKILL /F /IM program.exe
type file name of your program.