C
C#2y ago
alcatel

❔ 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
alcatel
alcatelOP2y ago
And letting the service interact with desktop does nothing it's the wrong desktop it's with Winsta0\Default ig
Jester
Jester2y ago
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
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server