0
I have a C# console application which starts the some of windows desktop applications say for example notepad, Skype. I have created a basic task in windows task scheduler and then gave when i log on as trigger and pointed to my console exe. But the application not getting triggered when i log on.
Below was my code in void main
ProcessStartInfo info = new ProcessStartInfo("C:\\Windows\\System32\\notepad.exe");
Process.Start(info);
ProcessStartInfo process2 = new ProcessStartInfo("C:\\Program Files (x86)\\Skype\\Phone\\Skype");
Process.Start(process2);
Let me know if i was unclear/Misunderstood.
I have edited the code. – selva – 2015-09-12T15:02:16.360
Show what you have configured in your Task Manager's task. I suppose you have not enabled interaction with desktop. Check your processes with Process Explorer after logon. Check your event log in Computer management. – Maximus – 2015-09-12T19:22:32.977