If you start a project via Windows Services you can only run processes which are meant to run in the background.
A user interface cannot be started (or will not be visible) when running the project as service.
The service is started when the operating system is started, even before is user is logged on and therefore you cannot start processes which are meant to be displayed on the screen.
Best Regards
Leopold Knipp
Senior Support Specialist
WinCC OA Project Autostart
- Alfredo@76
- Posts:17
- Joined: Tue Feb 11, 2020 5:06 pm
Re: WinCC OA Project Autostart
Hi Leopold,
Thanks for your support.
Kind Regards.
Alfredo.
Thanks for your support.
Kind Regards.
Alfredo.
- dbindernagel
- Posts:161
- Joined: Mon Feb 23, 2015 1:34 pm
Re: WinCC OA Project Autostart
Have a look at this topic HMI Autoboot - OA as a service.
Basically you cannot start an UI from a service (This is not a limitation from WinCC OA but by design from the Windows operating system).
The service is started before a user is even logged on, so a UI window cannot be opened.
One possible solution to autostart a UI would be to create a batch file (.bat) with the command to open the UI and put this in the autstart folder for the user that logs on (or use the Windows task scheduler).
Basically you cannot start an UI from a service (This is not a limitation from WinCC OA but by design from the Windows operating system).
The service is started before a user is even logged on, so a UI window cannot be opened.
One possible solution to autostart a UI would be to create a batch file (.bat) with the command to open the UI and put this in the autstart folder for the user that logs on (or use the Windows task scheduler).