Please take a look at this thread :
Task scheduler can't show GUI of the application after logout and login (run whether user is logged on or not)
This seems to be the way that recent versions of Windows TaskScheduler.
According to Microsoft (emphasis added):
You can specify that a task should run even if the account under which the task is scheduled to run is not logged on when the task is triggered. To do this, select the radio button labeled Run whether user is logged on or not . If this radio button is selected, tasks will not run interactively. To make a task run interactively, select the Run only when user is logged on radio button.
Essentially, if you select 'Run whether user is logged on or not', the process will not start a UI.
I need to start app before user's login.
So i chose Run whether user is logged on or not radio button.
But in this mode i can't see GUI after login.
I need a trick in c# or other way to show that app's UI after login.