I have the following problem:
From the service, I need to run the application in a user session. No user is logged on to this computer because it is a server. The running application must have a session! = 0.
Current "solution"
I used the scheduled task when starting the machine, launching this task (in session 0, of course) an application that launches the remote desktop login on one computer: this creates a user session> 0, and when the user starts, the final application to start. It works, but too complicated.
Is there any smart way? It is imperative that I can reuse a user session already, since there is potentially no user login.
BASIC UPDATE
After a lot of research and partial success, as well as due to some SysAdmin inflexibility about creating a user for a specific filling, I decided to use OpenGL instead of WPF to render the 3d part in session 0. Surprisingly, it took less than expected. I think this question as a link may be useful to others who want to try to display Viewport3D from a service.
source
share