❔ Set desktop a program operates on
I just want to make a program that can be launched from task scheduler or ran as a service that can interact with the Winsta0\Winlogon desktop. Idk if C# is the best way to do this. And how can I do it?
3 Replies
And letting the service interact with desktop does nothing it's the wrong desktop it's with Winsta0\Default ig
i wouldnt think there is a way to get your program on the login. and if you did, that sounds like a virus or hack to get into someones computer. ofc there are ways to make your program launch with the task scheduler but im not sure if C# has a library for that (maybe winforms but probably not) you can use createprocess to crate a process on a specific desktop. but not from task scheduler. also i think you want to use task scheduler to launch your program when a user is logging in
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.