I am creating application that will automatically schedule the task using windows scheduler. If I do not set the settings to RunOnlyWhenLogedOn I need to provide account information under which the task will run. I was wondering if I can specify Local System Account like for Windows Services. I know when I developed Windows service I can just set the property to run under Local System. In case of scheduled task I need to provide user and password.
Does anybody know whether I can do it how???

Thanks a lot for any tips.