How to access GUI of a Windows application run by task scheduler under a specific domain user?

耗尽温柔 提交于 2019-12-06 09:21:39

I don't see that this is a limitation, it's part of the security design of the system.

One common way to handle such a scenario would be as follows:

  • Implement the main task as a service.
  • Implement a small UI program that presents an icon in the notification area (the tray).
  • Communicate between the UI and the service over a named pipe, TCP/IP or some other communication mechanism.

If you do it this way then it is quite possible to run the UI on a different computer which sounds like it might make life easier for you.

Possibly when you remote to the server you are not using the /admin switch which will present the console view (where presumbly your app is running) rather than the "2nd session".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!