WinCC OA Project Autostart

Find and share HowTos to various installations / configurations!
13 posts • Page 2 of 2
leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: WinCC OA Project Autostart

Post by leoknipp »

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

Alfredo@76
Posts:17
Joined: Tue Feb 11, 2020 5:06 pm

Re: WinCC OA Project Autostart

Post by Alfredo@76 »

Hi Leopold,
Thanks for your support.

Kind Regards.
Alfredo.

dbindernagel
Posts:161
Joined: Mon Feb 23, 2015 1:34 pm

Re: WinCC OA Project Autostart

Post by dbindernagel »

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).

13 posts • Page 2 of 2