I have an executable file that I want to run automatically and restart if it dies for some reason.
However, when I try to run the .exe
, I am prompted with an
Open File - Security Warning
that requires me to either select "Run" or "Cancel".
However, when I run this .exe
as a scheduled task, it runs fine, so it appears that there is some way to run it without any user selection.
How can I make this happen?
I'm doing the coding in C#, but am not confident that it's an issue that can be solved with just C#.
Any help would be great.