I have one app which detect if keyboard is used and when I double click it app work, when I start with task scheduler at user login or computer start, ti doesn't work no matter what I set in task scheduler or what user I use for that. Start only when I set "users" in taks scheduler under user or group. But when I set that it only start when I login as administrator, for all other users doesn't work. I also set "run with highest privileges". Folder where that app is, is set to "everyone" in security.
I have tested it on windows 10 and 7 and it is the same.
Maybe I have compilled that app wrong??? Or set task scheduler wrong?

Microsoft Windows [Version 10.0.17134.1902]